Social Media Share Buttons & Social Sharing Icons - Version 2.2.3

Version Description

  • Solved: Footer Error solved.
  • Solved: Removed most of the html errors.
  • Solved: Less anoying sidebar.
Download this release

Release Info

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

Code changes from version 2.2.2 to 2.2.3

css/sfsi-admin-style.css CHANGED
@@ -118,6 +118,8 @@ ul#adminmenu li.toplevel_page_sfsi-options div.wp-menu-image {
118
  }
119
  #adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
120
  padding: 0 0 0 38px;
 
 
121
  /* font-family: helveticabold; */
122
  }
123
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
@@ -126,16 +128,19 @@ ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
126
  background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
127
  background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
128
  color: #e12522;
129
-
 
130
  }
131
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
132
  background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
133
- color: #e12522;
 
134
  }
 
135
  ul#adminmenu li.toplevel_page_sfsi-options a.current, ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
136
  background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
137
  /*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
138
- color: #eee;
139
  }
140
  /*Tab1*/
141
  .tab1 ul.icn_listing {
118
  }
119
  #adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
120
  padding: 0 0 0 38px;
121
+ font-family: Arial, Helvetica, sans-serif !important;
122
+
123
  /* font-family: helveticabold; */
124
  }
125
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
128
  background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
129
  background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
130
  color: #e12522;
131
+ font-family: Arial, Helvetica, sans-serif !important;
132
+
133
  }
134
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
135
  background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
136
+ color: #e12522;
137
+
138
  }
139
+
140
  ul#adminmenu li.toplevel_page_sfsi-options a.current, ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
141
  background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
142
  /*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
143
+ color: #e12522;
144
  }
145
  /*Tab1*/
146
  .tab1 ul.icn_listing {
helpers/common_helper.php CHANGED
@@ -187,13 +187,13 @@ if(!function_exists('sfsi_icon_generate_other_icon_effect_admin_html')){
187
 
188
  <label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
189
 
190
- <img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>">
191
 
192
  <input <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
193
 
194
- <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link" href="javascript:void(0)" class="mouseover_other_icon">Change</a>
195
 
196
- <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link" href="javascript:void(0)" class="mouseover_other_icon">Revert</a>
197
 
198
  </div>
199
 
187
 
188
  <label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
189
 
190
+ <img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>" alt="error">
191
 
192
  <input <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
193
 
194
+ <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link mouseover_other_icon" href="javascript:void(0)" >Change</a>
195
 
196
+ <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link mouseover_other_icon" href="javascript:void(0)">Revert</a>
197
 
198
  </div>
199
 
js/custom-admin.js CHANGED
@@ -42,7 +42,7 @@ function sfsi_delete_CusIcon(s, i) {
42
  SFSI(".notice_custom_icons_premium").hide();
43
  }
44
  var n = e.total_up + 1;
45
- 4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
46
  } else showErrorSuc("error", "Unkown error , please try again", 1);
47
  return sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step5(),
48
  afterLoad(), "suc";
@@ -1546,9 +1546,9 @@ function afterIconSuccess(s,nonce)
1546
  SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("isnew");
1547
  icons_name = SFSI("li.custom:last-child").find("input.styled").attr("name");
1548
  var n = icons_name.split("_");
1549
- s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".icn_listing").append('<li id="c' + i + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + i + '" /> </span> <span class="custom custom-txt">Custom' + t + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),
1550
  SFSI(".custom_section").show(),
1551
- SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
1552
  //SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
1553
  SFSI(".notice_custom_icons_premium").show();
1554
  SFSI("#c"+s.key).append('<input type="hidden" name="nonce" value="'+nonce+'">');
@@ -2359,14 +2359,14 @@ SFSI(document).ready(function(s) {
2359
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2360
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2361
  "z-index":"999"
2362
- }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2363
  opacity:1,
2364
  "z-index":10
2365
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
2366
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2367
  opacity:1,
2368
  "z-index":10
2369
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
2370
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2371
  opacity:1,
2372
  "z-index":10
@@ -2388,14 +2388,14 @@ SFSI(document).ready(function(s) {
2388
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2389
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2390
  "z-index":"999"
2391
- }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2392
  opacity:1,
2393
  "z-index":10
2394
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
2395
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2396
  opacity:1,
2397
  "z-index":10
2398
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
2399
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2400
  opacity:1,
2401
  "z-index":10
@@ -2411,9 +2411,9 @@ SFSI(document).ready(function(s) {
2411
  "z-index":10
2412
  }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
2413
  }), SFSI("div.sfsi_wicons").on("mouseleave", function() {
2414
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2415
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),
2416
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2417
  SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), "google" == SFSI(this).children("div.inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
2418
  SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide();
2419
  }) :(SFSI(this).css({
42
  SFSI(".notice_custom_icons_premium").hide();
43
  }
44
  var n = e.total_up + 1;
45
+ 4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" alt="error" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
46
  } else showErrorSuc("error", "Unkown error , please try again", 1);
47
  return sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step5(),
48
  afterLoad(), "suc";
1546
  SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("isnew");
1547
  icons_name = SFSI("li.custom:last-child").find("input.styled").attr("name");
1548
  var n = icons_name.split("_");
1549
+ s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".icn_listing").append('<li id="c' + i + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + i + '" alt="error" /> </span> <span class="custom custom-txt">Custom' + t + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),
1550
  SFSI(".custom_section").show(),
1551
+ SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" alt="error" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
1552
  //SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
1553
  SFSI(".notice_custom_icons_premium").show();
1554
  SFSI("#c"+s.key).append('<input type="hidden" name="nonce" value="'+nonce+'">');
2359
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2360
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2361
  "z-index":"999"
2362
+ }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2363
  opacity:1,
2364
  "z-index":10
2365
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2366
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2367
  opacity:1,
2368
  "z-index":10
2369
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2370
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2371
  opacity:1,
2372
  "z-index":10
2388
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2389
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2390
  "z-index":"999"
2391
+ }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2392
  opacity:1,
2393
  "z-index":10
2394
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2395
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2396
  opacity:1,
2397
  "z-index":10
2398
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2399
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2400
  opacity:1,
2401
  "z-index":10
2411
  "z-index":10
2412
  }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
2413
  }), SFSI("div.sfsi_wicons").on("mouseleave", function() {
2414
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2415
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),
2416
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2417
  SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), "google" == SFSI(this).children("div.inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
2418
  SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide();
2419
  }) :(SFSI(this).css({
js/custom.js CHANGED
@@ -228,14 +228,14 @@ SFSI(document).ready(function(s) {
228
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
229
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
230
  "z-index":"999"
231
- }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
232
  opacity:1,
233
  "z-index":10
234
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
235
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
236
  opacity:1,
237
  "z-index":10
238
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
239
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
240
  opacity:1,
241
  "z-index":10
@@ -257,14 +257,14 @@ SFSI(document).ready(function(s) {
257
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
258
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
259
  "z-index":"999"
260
- }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
261
  opacity:1,
262
  "z-index":10
263
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
264
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
265
  opacity:1,
266
  "z-index":10
267
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
268
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
269
  opacity:1,
270
  "z-index":10
@@ -280,9 +280,9 @@ SFSI(document).ready(function(s) {
280
  "z-index":10
281
  }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
282
  }), SFSI("div.sfsi_wicons").on("mouseleave", function() {
283
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
284
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),
285
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
286
  SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), "sfsiid_google" == SFSI(this).children("div.inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
287
  SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide();
288
  }) :(SFSI(this).css({
228
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
229
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
230
  "z-index":"999"
231
+ }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
232
  opacity:1,
233
  "z-index":10
234
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
235
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
236
  opacity:1,
237
  "z-index":10
238
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
239
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
240
  opacity:1,
241
  "z-index":10
257
  SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
258
  SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
259
  "z-index":"999"
260
+ }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
261
  opacity:1,
262
  "z-index":10
263
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
264
  SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
265
  opacity:1,
266
  "z-index":10
267
+ }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
268
  SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
269
  opacity:1,
270
  "z-index":10
280
  "z-index":10
281
  }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
282
  }), SFSI("div.sfsi_wicons").on("mouseleave", function() {
283
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
284
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),
285
+ SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-ffect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
286
  SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), "sfsiid_google" == SFSI(this).children("div.inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
287
  SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide();
288
  }) :(SFSI(this).css({
js/custom.min.js CHANGED
@@ -1,2 +1,2 @@
1
- function sfsi_update_index(){var s=1;SFSI("ul.icn_listing li.custom").each(function(){SFSI(this).children("span.custom-txt").html("Custom "+s),s++}),cntt=1,SFSI("div.cm_lnk").each(function(){SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom "+cntt+":"),cntt++}),cntt=1,SFSI("div.custom_m").find("div.custom_section").each(function(){SFSI(this).find("label").html("Custom "+cntt+":"),cntt++})}function sfsicollapse(s){var i=!0,e=SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),t=SFSI(s).closest("div.ui-accordion-content").first();e.toggleClass("ui-corner-all",i).toggleClass("accordion-header-active ui-state-active ui-corner-top",!i).attr("aria-selected",(!i).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",i).toggleClass("ui-icon-triangle-1-s",!i),t.toggleClass("accordion-content-active",!i),i?t.slideUp():t.slideDown()}function sfsi_delete_CusIcon(s,i){beForeLoad();var e={action:"deleteIcons",icon_name:i.attr("name")};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",success:function(e){if("success"==e.res){showErrorSuc("success","Saved !",1);var t=e.last_index+1;SFSI("#total_cusotm_icons").val(e.total_up),SFSI(s).closest(".custom").remove(),SFSI("li.custom:last").addClass("bdr_btm_non"),SFSI(".custom-links").find("div."+i.attr("name")).remove(),SFSI(".custom_m").find("div."+i.attr("name")).remove(),SFSI(".share_icon_order").children("li."+i.attr("name")).remove(),SFSI("ul.sfsi_sample_icons").children("li."+i.attr("name")).remove();var n=e.total_up+1;4==e.total_up&&SFSI(".icn_listing").append('<li id="c'+t+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+t+'_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+t+'" /> </span> <span class="custom custom-txt">Custom'+n+' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>')}else showErrorSuc("error","Unkown error , please try again",1);return sfsi_update_index(),update_Sec5Iconorder(),sfsi_update_step1(),sfsi_update_step5(),afterLoad(),"suc"}})}function update_Sec5Iconorder(){SFSI("ul.share_icon_order").children("li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})}function sfsi_section_Display(s,i){"hide"==i?(SFSI("."+s+" :input").prop("disabled",!0),SFSI("."+s+" :button").prop("disabled",!0),SFSI("."+s).hide()):(SFSI("."+s+" :input").removeAttr("disabled",!0),SFSI("."+s+" :button").removeAttr("disabled",!0),SFSI("."+s).show())}function sfsi_depened_sections(){if("sfsi"==SFSI("input[name='sfsi_rss_icons']:checked").val()){for(i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".row_"+s+"_2").css("background-position","-588px -"+e+"px")}var t=SFSI(".icon_img").attr("src"),n=t.replace("email.png","sf_arow_icn.png");SFSI(".icon_img").attr("src",n)}else{for(SFSI(".row_1_2").css("background-position","-58px 0"),i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".row_"+s+"_2").css("background-position","-58px -"+e+"px")}var t=SFSI(".icon_img").attr("src");if(t){var n=t.replace("sf_arow_icn.png","email.png");SFSI(".icon_img").attr("src",n)}}SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_section_Display("rss_section","show"):sfsi_section_Display("rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_section_Display("email_section","show"):sfsi_section_Display("email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_section_Display("facebook_section","show"):sfsi_section_Display("facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_section_Display("twitter_section","show"):sfsi_section_Display("twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_section_Display("google_section","show"):sfsi_section_Display("google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_section_Display("share_section","show"):sfsi_section_Display("share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_section_Display("youtube_section","show"):sfsi_section_Display("youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_section_Display("pinterest_section","show"):sfsi_section_Display("pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_section_Display("instagram_section","show"):sfsi_section_Display("instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_section_Display("linkedin_section","show"):sfsi_section_Display("linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_section_Display("custom_section","show"):sfsi_section_Display("custom_section","hide")}function CustomIConSectionsUpdate(){sfsi_section_Display("counter".ele,show)}function sfsi_customskin_upload(s,i){var e=(jQuery(i).attr("title"),s),t={action:"UploadSkins",custom_imgurl:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(e){if(e.res="success"){var t=s.split("=");jQuery(i).prev(".imgskin").attr("src",t[1]),jQuery(i).prev(".imgskin").css("display","block"),jQuery(i).text("Update"),jQuery(i).next(".dlt_btn").css("display","block")}}})}function deleteskin_icon(s){var i=jQuery(s).attr("title"),e=i,t={action:"DeleteSkin",iconname:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(i){(i.res="success")&&(SFSI(s).prev("a").text("Upload"),SFSI(s).prev("a").prev("img").attr("src",""),SFSI(s).prev("a").prev("img").css("display","none"),SFSI(s).css("display","none"))}})}function SFSI_done(){e={action:"Iamdone"},SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,success:function(s){jQuery("li.cstomskins_upload").children(".icns_tab_3").html(s),SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_section_Display("rss_section","show"):sfsi_section_Display("rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_section_Display("email_section","show"):sfsi_section_Display("email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_section_Display("facebook_section","show"):sfsi_section_Display("facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_section_Display("twitter_section","show"):sfsi_section_Display("twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_section_Display("google_section","show"):sfsi_section_Display("google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_section_Display("share_section","show"):sfsi_section_Display("share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_section_Display("youtube_section","show"):sfsi_section_Display("youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_section_Display("pinterest_section","show"):sfsi_section_Display("pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_section_Display("instagram_section","show"):sfsi_section_Display("instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_section_Display("linkedin_section","show"):sfsi_section_Display("linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_section_Display("custom_section","show"):sfsi_section_Display("custom_section","hide"),SFSI(".cstmskins-overlay").hide("slow"),sfsi_update_step3()&&sfsicollapse(this)}})}function sfsi_newcustomicon_upload(s){var i=s,e={action:"UploadIcons",custom_imgurl:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",async:!0,success:function(s){afterIconSuccess(s)}})}function sfsi_update_step1(){global_error=0,beForeLoad(),sfsi_depened_sections();var s=!1,i=SFSI("input[name='sfsi_rss_display']:checked").val(),e=SFSI("input[name='sfsi_email_display']:checked").val(),t=SFSI("input[name='sfsi_facebook_display']:checked").val(),n=SFSI("input[name='sfsi_twitter_display']:checked").val(),o=SFSI("input[name='sfsi_google_display']:checked").val(),a=SFSI("input[name='sfsi_share_display']:checked").val(),c=SFSI("input[name='sfsi_youtube_display']:checked").val(),r=SFSI("input[name='sfsi_pinterest_display']:checked").val(),p=SFSI("input[name='sfsi_linkedin_display']:checked").val(),_=SFSI("input[name='sfsi_instagram_display']:checked").val(),l=SFSI("input[name='sfsi_custom1_display']:checked").val(),S=SFSI("input[name='sfsi_custom2_display']:checked").val(),u=SFSI("input[name='sfsi_custom3_display']:checked").val(),f=SFSI("input[name='sfsi_custom4_display']:checked").val(),d=SFSI("input[name='sfsi_custom5_display']:checked").val(),m={action:"updateSrcn1",sfsi_rss_display:i,sfsi_email_display:e,sfsi_facebook_display:t,sfsi_twitter_display:n,sfsi_google_display:o,sfsi_share_display:a,sfsi_youtube_display:c,sfsi_pinterest_display:r,sfsi_linkedin_display:p,sfsi_instagram_display:_,sfsi_custom1_display:l,sfsi_custom2_display:S,sfsi_custom3_display:u,sfsi_custom4_display:f,sfsi_custom5_display:d};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:m,async:!0,dataType:"json",success:function(i){"success"==i?(showErrorSuc("success","Saved !",1),sfsicollapse("#sfsi_save1"),sfsi_make_popBox()):(global_error=1,showErrorSuc("error","Unkown error , please try again",1),s=!1),afterLoad()}})}function sfsi_update_step2(){var s=sfsi_validationStep2();if(!s)return global_error=1,!1;beForeLoad();var i=1==SFSI("input[name='sfsi_rss_url']").prop("disabled")?"":SFSI("input[name='sfsi_rss_url']").val(),e=1==SFSI("input[name='sfsi_rss_icons']").prop("disabled")?"":SFSI("input[name='sfsi_rss_icons']:checked").val(),t=1==SFSI("input[name='sfsi_facebookPage_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookPage_option']:checked").val(),n=1==SFSI("input[name='sfsi_facebookLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookLike_option']:checked").val(),o=1==SFSI("input[name='sfsi_facebookShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookShare_option']:checked").val(),a=SFSI("input[name='sfsi_facebookPage_url']").val(),c=1==SFSI("input[name='sfsi_twitter_followme']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followme']:checked").val(),r=1==SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followUserName']").val(),p=1==SFSI("input[name='sfsi_twitter_aboutPage']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),_=1==SFSI("input[name='sfsi_twitter_page']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_page']:checked").val(),l=SFSI("input[name='sfsi_twitter_pageURL']").val(),S=SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),u=1==SFSI("input[name='sfsi_google_page']").prop("disabled")?"":SFSI("input[name='sfsi_google_page']:checked").val(),f=1==SFSI("input[name='sfsi_googleLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleLike_option']:checked").val(),d=SFSI("input[name='sfsi_google_pageURL']").val(),m=1==SFSI("input[name='sfsi_googleShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleShare_option']:checked").val(),I=1==SFSI("input[name='sfsi_youtube_page']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_page']:checked").val(),F=1==SFSI("input[name='sfsi_youtube_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_pageUrl']").val(),h=1==SFSI("input[name='sfsi_youtube_follow']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_follow']:checked").val(),v=SFSI("input[name='sfsi_youtubeusernameorid']:checked").val(),g=SFSI("input[name='sfsi_ytube_user']").val(),k=SFSI("input[name='sfsi_ytube_chnlid']").val(),y=1==SFSI("input[name='sfsi_pinterest_page']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_page']:checked").val(),b=1==SFSI("input[name='sfsi_pinterest_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pageUrl']").val(),w=1==SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),x=1==SFSI("input[name='sfsi_instagram_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_pageUrl']").val(),C=1==SFSI("input[name='sfsi_linkedin_page']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_page']:checked").val(),D=1==SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_pageURL']").val(),U=1==SFSI("input[name='sfsi_linkedin_follow']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_follow']:checked").val(),j=SFSI("input[name='sfsi_linkedin_followCompany']").val(),O=1==SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),T=SFSI("input[name='sfsi_linkedin_recommendBusines']:checked").val(),P=SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),M=SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),L={};SFSI("input[name='sfsi_CustomIcon_links[]']").each(function(){L[SFSI(this).attr("file-id")]=this.value});var B={action:"updateSrcn2",sfsi_rss_url:i,sfsi_rss_icons:e,sfsi_facebookPage_option:t,sfsi_facebookLike_option:n,sfsi_facebookShare_option:o,sfsi_facebookPage_url:a,sfsi_twitter_followme:c,sfsi_twitter_followUserName:r,sfsi_twitter_aboutPage:p,sfsi_twitter_page:_,sfsi_twitter_pageURL:l,sfsi_twitter_aboutPageText:S,sfsi_google_page:u,sfsi_googleLike_option:f,sfsi_google_pageURL:d,sfsi_googleShare_option:m,sfsi_youtube_page:I,sfsi_youtube_pageUrl:F,sfsi_youtube_follow:h,sfsi_youtubeusernameorid:v,sfsi_ytube_user:g,sfsi_ytube_chnlid:k,sfsi_pinterest_page:y,sfsi_pinterest_pageUrl:b,sfsi_instagram_pageUrl:x,sfsi_pinterest_pingBlog:w,sfsi_linkedin_page:C,sfsi_linkedin_pageURL:D,sfsi_linkedin_follow:U,sfsi_linkedin_followCompany:j,sfsi_linkedin_SharePage:O,sfsi_linkedin_recommendBusines:T,sfsi_linkedin_recommendCompany:M,sfsi_linkedin_recommendProductId:P,sfsi_custom_links:L};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:B,async:!0,dataType:"json",success:function(s){"success"==s?(showErrorSuc("success","Saved !",2),sfsicollapse("#sfsi_save2"),sfsi_depened_sections()):(global_error=1,showErrorSuc("error","Unkown error , please try again",2),return_value=!1),afterLoad()}})}function sfsi_update_step3(){var s=sfsi_validationStep3();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_actvite_theme']:checked").val(),e=SFSI("input[name='sfsi_mouseOver']:checked").val(),t=SFSI("input[name='sfsi_shuffle_icons']:checked").val(),n=SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(),o=SFSI("#sfsi_mouseOver_effect option:selected").val(),a=SFSI("input[name='sfsi_shuffle_interval']:checked").val(),c=SFSI("input[name='sfsi_shuffle_intervalTime']").val(),r=SFSI("input[name='sfsi_specialIcon_animation']:checked").val(),p=SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(),_=SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(),l=SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(),S=SFSI("input[name='sfsi_specialIcon_interval']:checked").val(),u=SFSI("input[name='sfsi_specialIcon_intervalTime']").val(),f=SFSI("#sfsi_specialIcon_intervalIcons option:selected").val(),d={action:"updateSrcn3",sfsi_actvite_theme:i,sfsi_mouseOver:e,sfsi_shuffle_icons:t,sfsi_shuffle_Firstload:n,sfsi_mouseOver_effect:o,sfsi_shuffle_interval:a,sfsi_shuffle_intervalTime:c,sfsi_specialIcon_animation:r,sfsi_specialIcon_MouseOver:p,sfsi_specialIcon_Firstload:_,sfsi_specialIcon_Firstload_Icons:l,sfsi_specialIcon_interval:S,sfsi_specialIcon_intervalTime:u,sfsi_specialIcon_intervalIcons:f};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:d,async:!0,dataType:"json",success:function(s){"success"==s?(showErrorSuc("success","Saved !",3),sfsicollapse("#sfsi_save3")):(showErrorSuc("error","Unkown error , please try again",3),return_value=!1),afterLoad()}})}function sfsi_show_counts(){"yes"==SFSI("input[name='sfsi_display_counts']:checked").val()?(SFSI(".count_sections").slideDown(),sfsi_showPreviewCounts()):(SFSI(".count_sections").slideUp(),sfsi_showPreviewCounts())}function sfsi_showPreviewCounts(){var s=0;1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked")?(SFSI("#sfsi_rss_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_rss_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_email_countsDisplay']").prop("checked")?(SFSI("#sfsi_email_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_email_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("checked")?(SFSI("#sfsi_facebook_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_facebook_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked")?(SFSI("#sfsi_twitter_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_twitter_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_google_countsDisplay']").prop("checked")?(SFSI("#sfsi_google_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_google_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked")?(SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("checked")?(SFSI("#sfsi_youtube_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_youtube_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("checked")?(SFSI("#sfsi_pinterest_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_pinterest_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_shares_countsDisplay']").prop("checked")?(SFSI("#sfsi_shares_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_shares_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_instagram_countsDisplay']").prop("checked")?(SFSI("#sfsi_instagram_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_instagram_countsDisplay").css("opacity",0),0==s||"no"==SFSI("input[name='sfsi_display_counts']:checked").val()?SFSI(".sfsi_Cdisplay").hide():SFSI(".sfsi_Cdisplay").show()}function sfsi_show_OnpostsDisplay(){"yes"==SFSI("input[name='sfsi_show_Onposts']:checked").val()?SFSI(".PostsSettings_section").slideDown():SFSI(".PostsSettings_section").slideUp()}function sfsi_update_step4(){var s=!1,i=sfsi_validationStep4();if(!i)return global_error=1,!1;beForeLoad();var e=SFSI("input[name='sfsi_display_counts']:checked").val(),t=1==SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),n=1==SFSI("input[name='sfsi_email_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsFrom']:checked").val(),o=SFSI("input[name='sfsi_email_manualCounts']").val(),a=SFSI("input[name='sfsi_google_api_key']").val(),c=1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),r=SFSI("input[name='sfsi_rss_manualCounts']").val(),p=1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),_=1==SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),l=SFSI("input[name='sfsi_facebook_manualCounts']").val(),S=1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),u=1==SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),f=SFSI("input[name='sfsi_twitter_manualCounts']").val(),d=SFSI("input[name='tw_consumer_key']").val(),m=SFSI("input[name='tw_consumer_secret']").val(),I=SFSI("input[name='tw_oauth_access_token']").val(),F=SFSI("input[name='tw_oauth_access_token_secret']").val(),h=1==SFSI("input[name='sfsi_google_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsDisplay']:checked").val(),v=1==SFSI("input[name='sfsi_google_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsFrom']:checked").val(),g=SFSI("input[name='sfsi_google_manualCounts']").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),b=SFSI("input[name='ln_company']").val(),w=SFSI("input[name='ln_api_key']").val(),x=SFSI("input[name='ln_secret_key']").val(),C=SFSI("input[name='ln_oAuth_user_token']").val(),D=1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),U=1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),j=1==SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),O=SFSI("input[name='sfsi_youtube_manualCounts']").val(),T=SFSI("input[name='sfsi_youtube_user']").val(),P=1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),M=1==SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),L=SFSI("input[name='sfsi_pinterest_manualCounts']").val(),B=SFSI("input[name='sfsi_pinterest_user']").val(),E=SFSI("input[name='sfsi_pinterest_board']").val(),z=1==SFSI("input[name='sfsi_instagram_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_countsDisplay']:checked").val(),A=1==SFSI("input[name='sfsi_instagram_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_countsFrom']:checked").val(),N=SFSI("input[name='sfsi_instagram_manualCounts']").val(),H=SFSI("input[name='sfsi_instagram_User']").val(),R=1==SFSI("input[name='sfsi_shares_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_shares_countsDisplay']:checked").val(),Q=1==SFSI("input[name='sfsi_shares_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_shares_countsFrom']:checked").val(),W=SFSI("input[name='sfsi_shares_manualCounts']").val(),q={action:"updateSrcn4",sfsi_display_counts:e,sfsi_email_countsDisplay:t,sfsi_email_countsFrom:n,sfsi_email_manualCounts:o,sfsi_rss_countsDisplay:c,sfsi_rss_manualCounts:r,sfsi_facebook_countsDisplay:p,sfsi_facebook_countsFrom:_,sfsi_facebook_manualCounts:l,sfsi_twitter_countsDisplay:S,sfsi_twitter_countsFrom:u,sfsi_twitter_manualCounts:f,tw_consumer_key:d,tw_consumer_secret:m,tw_oauth_access_token:I,tw_oauth_access_token_secret:F,sfsi_google_countsDisplay:h,sfsi_google_countsFrom:v,sfsi_google_manualCounts:g,sfsi_google_api_key:a,sfsi_linkedIn_countsDisplay:D,sfsi_linkedIn_countsFrom:k,sfsi_linkedIn_manualCounts:y,ln_company:b,ln_api_key:w,ln_secret_key:x,ln_oAuth_user_token:C,sfsi_youtube_countsDisplay:U,sfsi_youtube_countsFrom:j,sfsi_youtube_manualCounts:O,sfsi_youtube_user:T,sfsi_pinterest_countsDisplay:P,sfsi_pinterest_countsFrom:M,sfsi_pinterest_manualCounts:L,sfsi_pinterest_user:B,sfsi_pinterest_board:E,sfsi_instagram_countsDisplay:z,sfsi_instagram_countsFrom:A,sfsi_instagram_manualCounts:N,sfsi_instagram_User:H,sfsi_shares_countsDisplay:R,sfsi_shares_countsFrom:Q,sfsi_shares_manualCounts:W};return SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:q,dataType:"json",async:!0,success:function(s){"success"==s.res?(showErrorSuc("success","Saved !",4),sfsicollapse("#sfsi_save4"),sfsi_showPreviewCounts()):(showErrorSuc("error","Unkown error , please try again",4),global_error=1),afterLoad()}}),s}function sfsi_update_step5(){var s=sfsi_validationStep5();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_icons_size']").val(),e=SFSI("input[name='sfsi_icons_perRow']").val(),t=SFSI("input[name='sfsi_icons_spacing']").val(),n=SFSI("#sfsi_icons_Alignment").val(),o=SFSI("input[name='sfsi_icons_ClickPageOpen']:checked").val(),a=SFSI("input[name='sfsi_icons_float']:checked").val(),c=SFSI("input[name='sfsi_disable_floaticons']:checked").val(),r=SFSI("#sfsi_icons_floatPosition").val(),p=SFSI("input[name='sfsi_icons_stick']:checked").val(),_=SFSI("#sfsi_rssIcon_order").attr("data-index"),l=SFSI("#sfsi_emailIcon_order").attr("data-index"),S=SFSI("#sfsi_googleIcon_order").attr("data-index"),u=SFSI("#sfsi_facebookIcon_order").attr("data-index"),f=SFSI("#sfsi_twitterIcon_order").attr("data-index"),d=SFSI("#sfsi_youtubeIcon_order").attr("data-index"),m=SFSI("#sfsi_pinterestIcon_order").attr("data-index"),I=SFSI("#sfsi_instagramIcon_order").attr("data-index"),F=SFSI("#sfsi_shareIcon_order").attr("data-index"),h=SFSI("#sfsi_linkedinIcon_order").attr("data-index"),v=new Array;SFSI(".custom_iconOrder").each(function(){v.push({order:SFSI(this).attr("data-index"),ele:SFSI(this).attr("element-id")})});var g=1==SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_rss_MouseOverText']").val(),k=1==SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_email_MouseOverText']").val(),y=1==SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_MouseOverText']").val(),b=1==SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_MouseOverText']").val(),w=1==SFSI("input[name='sfsi_google_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_google_MouseOverText']").val(),x=1==SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(),C=1==SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_MouseOverText']").val(),D=1==SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_MouseOverText']").val(),U=1==SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_MouseOverText']").val(),j=1==SFSI("input[name='sfsi_share_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_share_MouseOverText']").val(),O={};SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function(){O[SFSI(this).attr("file-id")]=this.value});var T={action:"updateSrcn5",sfsi_icons_size:i,sfsi_icons_Alignment:n,sfsi_icons_perRow:e,sfsi_icons_spacing:t,sfsi_icons_ClickPageOpen:o,sfsi_icons_float:a,sfsi_disable_floaticons:c,sfsi_icons_floatPosition:r,sfsi_icons_stick:p,sfsi_rss_MouseOverText:g,sfsi_email_MouseOverText:k,sfsi_twitter_MouseOverText:y,sfsi_facebook_MouseOverText:b,sfsi_google_MouseOverText:w,sfsi_youtube_MouseOverText:C,sfsi_linkedIn_MouseOverText:x,sfsi_pinterest_MouseOverText:D,sfsi_share_MouseOverText:j,sfsi_instagram_MouseOverText:U,sfsi_custom_MouseOverTexts:O,sfsi_rssIcon_order:_,sfsi_emailIcon_order:l,sfsi_facebookIcon_order:u,sfsi_twitterIcon_order:f,sfsi_googleIcon_order:S,sfsi_youtubeIcon_order:d,sfsi_pinterestIcon_order:m,sfsi_shareIcon_order:F,sfsi_instagramIcon_order:I,sfsi_linkedinIcon_order:h,sfsi_custom_orders:v};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:T,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",5),sfsicollapse("#sfsi_save5")):(global_error=1,showErrorSuc("error","Unkown error , please try again",5)),afterLoad()}})}function sfsi_update_step6(){beForeLoad();var s=SFSI("input[name='sfsi_show_Onposts']:checked").val(),i=SFSI("input[name='sfsi_textBefor_icons']").val(),e=SFSI("#sfsi_icons_alignment").val(),t=SFSI("#sfsi_icons_DisplayCounts").val(),n={action:"updateSrcn6",sfsi_show_Onposts:s,sfsi_icons_DisplayCounts:t,sfsi_icons_alignment:e,sfsi_textBefor_icons:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:n,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",6),sfsicollapse("#sfsi_save6")):(global_error=1,showErrorSuc("error","Unkown error , please try again",6)),afterLoad()}})}function sfsi_update_step7(){var s=sfsi_validationStep7();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_popup_text']").val(),e=SFSI("#sfsi_popup_font option:selected").val(),t=(SFSI("#sfsi_popup_fontStyle option:selected").val(),SFSI("input[name='sfsi_popup_fontColor']").val()),n=SFSI("input[name='sfsi_popup_fontSize']").val(),o=SFSI("input[name='sfsi_popup_background_color']").val(),a=SFSI("input[name='sfsi_popup_border_color']").val(),c=SFSI("input[name='sfsi_popup_border_thickness']").val(),r=SFSI("input[name='sfsi_popup_border_shadow']:checked").val(),p=SFSI("input[name='sfsi_Show_popupOn']:checked").val(),_=[];SFSI("#sfsi_Show_popupOn_PageIDs :selected").each(function(s,i){_[s]=SFSI(i).val()});var l=SFSI("input[name='sfsi_Shown_pop']:checked").val(),S=SFSI("input[name='sfsi_Shown_popupOnceTime']").val(),u=SFSI("#sfsi_Shown_popuplimitPerUserTime").val(),f={action:"updateSrcn7",sfsi_popup_text:i,sfsi_popup_font:e,sfsi_popup_fontColor:t,sfsi_popup_fontSize:n,sfsi_popup_background_color:o,sfsi_popup_border_color:a,sfsi_popup_border_thickness:c,sfsi_popup_border_shadow:r,sfsi_Show_popupOn:p,sfsi_Show_popupOn_PageIDs:_,sfsi_Shown_pop:l,sfsi_Shown_popupOnceTime:S,sfsi_Shown_popuplimitPerUserTime:u};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:f,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",7),sfsicollapse("#sfsi_save7")):showErrorSuc("error","Unkown error , please try again",7),afterLoad()}})}function afterIconSuccess(s){if(s.res="success"){var i=s.key+1,e=s.element,t=e+1;SFSI("#total_cusotm_icons").val(s.element),SFSI(".upload-overlay").hide("slow"),SFSI(".uperror").html(""),showErrorSuc("success","Custom Icon updated successfully",1),d=new Date,SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("ele-type"),SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("isnew"),SFSI("li.custom:last").removeClass("bdr_btm_non"),SFSI("li.custom:last").children("span.custom-img").children("img").attr("src",s.img_path+"?"+d.getTime()),icons_name=SFSI("li.custom:last").find("input.styled").attr("name");var n=icons_name.split("_");s.key=n[1],s.img_path+="?"+d.getTime(),5>e&&SFSI(".icn_listing").append('<li id="c'+i+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+i+'" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+i+'" /> </span> <span class="custom custom-txt">Custom'+t+' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),SFSI(".custom_section").show(),SFSI(".custom-links").append(' <div class="row sfsiICON_'+s.key+' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="'+s.img_path+"?"+d.getTime()+'" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom '+e+'</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_'+s.key+'" ><label>Link :</label><input file-id="'+s.key+'" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');var o=SFSI("div.custom_m").find("div.mouseover_field").length;SFSI("div.custom_m").append(0==o%2?'<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>':'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>'),SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_'+s.key+'" data-index="" element-id="'+s.key+'" id=""><a href="#" title="Custom Icon" ><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/></a></li>'),SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_'+s.key+'" element-id="'+s.key+'" ><div><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),sfsi_update_index(),update_Sec5Iconorder(),sfsi_update_step1(),sfsi_update_step2(),sfsi_update_step5(),SFSI(".upload-overlay").css("pointer-events","auto"),sfsi_showPreviewCounts(),afterLoad()
2
  }}function beforeIconSubmit(s){if(SFSI(".uperror").html("Uploading....."),window.File&&window.FileReader&&window.FileList&&window.Blob){SFSI(s).val()||SFSI(".uperror").html("File is empty");var i=s.files[0].size,e=s.files[0].type;switch(e){case"image/png":case"image/gif":case"image/jpeg":case"image/pjpeg":break;default:return SFSI(".uperror").html("Unsupported file"),!1}return i>1048576?(SFSI(".uperror").html("Image should be less than 1 MB"),!1):!0}return!0}function bytesToSize(s){var i=["Bytes","KB","MB","GB","TB"];if(0==s)return"0 Bytes";var e=parseInt(Math.floor(Math.log(s)/Math.log(1024)));return Math.round(s/Math.pow(1024,e),2)+" "+i[e]}function showErrorSuc(s,i,e){if("error"==s)var t="errorMsg";else var t="sucMsg";return SFSI(".tab"+e+">."+t).html(i),SFSI(".tab"+e+">."+t).show(),SFSI(".tab"+e+">."+t).effect("highlight",{},5e3),setTimeout(function(){SFSI("."+t).slideUp("slow")},5e3),!1}function beForeLoad(){SFSI(".loader-img").show(),SFSI(".save_button >a").html("Saving..."),SFSI(".save_button >a").css("pointer-events","none")}function afterLoad(){SFSI("input").removeClass("inputError"),SFSI(".save_button >a").html("Save"),SFSI(".tab8>div.save_button >a").html("Save All Settings"),SFSI(".save_button >a").css("pointer-events","auto"),SFSI(".save_button >a").removeAttr("onclick"),SFSI(".loader-img").hide()}function sfsi_make_popBox(){var s=0;SFSI(".sfsi_sample_icons >li").each(function(){"none"!=SFSI(this).css("display")&&(s=1)}),0==s?SFSI(".sfsi_Popinner").hide():SFSI(".sfsi_Popinner").show(),""!=SFSI('input[name="sfsi_popup_text"]').val()?(SFSI(".sfsi_Popinner >h2").html(SFSI('input[name="sfsi_popup_text"]').val()),SFSI(".sfsi_Popinner >h2").show()):SFSI(".sfsi_Popinner >h2").hide(),SFSI(".sfsi_Popinner").css({"border-color":SFSI('input[name="sfsi_popup_border_color"]').val(),"border-width":SFSI('input[name="sfsi_popup_border_thickness"]').val(),"border-style":"solid"}),SFSI(".sfsi_Popinner").css("background-color",SFSI('input[name="sfsi_popup_background_color"]').val()),SFSI(".sfsi_Popinner h2").css("font-family",SFSI("#sfsi_popup_font").val()),SFSI(".sfsi_Popinner h2").css("font-style",SFSI("#sfsi_popup_fontStyle").val()),SFSI(".sfsi_Popinner >h2").css("font-size",parseInt(SFSI('input[name="sfsi_popup_fontSize"]').val())),SFSI(".sfsi_Popinner >h2").css("color",SFSI('input[name="sfsi_popup_fontColor"]').val()+" !important"),"yes"==SFSI('input[name="sfsi_popup_border_shadow"]:checked').val()?SFSI(".sfsi_Popinner").css("box-shadow","12px 30px 18px #CCCCCC"):SFSI(".sfsi_Popinner").css("box-shadow","none")}function sfsi_stick_widget(s){0==initTop.length&&(SFSI(".sfsi_widget").each(function(s){initTop[s]=SFSI(this).position().top}),console.log(initTop));var i=SFSI(window).scrollTop(),e=[],t=[];SFSI(".sfsi_widget").each(function(s){e[s]=SFSI(this).position().top,t[s]=SFSI(this)});var n=!1;for(var o in e){var a=parseInt(o)+1;e[o]<i&&e[a]>i&&a<e.length?(SFSI(t[o]).css({position:"fixed",top:s}),SFSI(t[a]).css({position:"",top:initTop[a]}),n=!0):SFSI(t[o]).css({position:"",top:initTop[o]})}if(!n){var c=e.length-1,r=-1;e.length>1&&(r=e.length-2),initTop[c]<i?(SFSI(t[c]).css({position:"fixed",top:s}),r>=0&&SFSI(t[r]).css({position:"",top:initTop[r]})):(SFSI(t[c]).css({position:"",top:initTop[c]}),r>=0&&e[r]<i)}}function sfsi_float_widget(s){function i(){c="Microsoft Internet Explorer"===navigator.appName?a-document.documentElement.scrollTop:a-window.pageYOffset,Math.abs(c)>0?(window.removeEventListener("scroll",i),a-=c*o,SFSI("#sfsi_floater").css({top:(a+t).toString()+"px"}),setTimeout(i,n)):window.addEventListener("scroll",i,!1)}function e(){var s=SFSI("#sfsi_floater").attr("data-top"),e=parseInt(SFSI("#sfsi_floater").height()),t=parseInt(SFSI("#sfsi_floater").css("top"));parseInt(e)+parseInt(t)<=s?window.addEventListener("scroll",i,!1):(window.removeEventListener("scroll",i),SFSI("#sfsi_floater").css("top",s+"px"))}if("center"==s)var t=window.innerHeight/2;else if("bottom"==s)var t=window.innerHeight-SFSI("#sfsi_floater").height();else var t=parseInt(s);var n=50,o=.1,a=0,c=0;SFSI("#sfsi_floater"),window.onscroll=e}function sfsi_shuffle(){var s=[];SFSI(".sfsi_wicons ").each(function(i){SFSI(this).text().match(/^\s*$/)||(s[i]="<div class='"+SFSI(this).attr("class")+"'>"+SFSI(this).html()+"</div>",SFSI(this).fadeOut("slow"),SFSI(this).insertBefore(SFSI(this).prev(".sfsi_wicons")),SFSI(this).fadeIn("slow"))}),s=Shuffle(s),$("#sfsi_wDiv").html("");for(var i=0;i<testArray.length;i++)$("#sfsi_wDiv").append(s[i])}function Shuffle(s){for(var i,e,t=s.length;t;i=parseInt(Math.random()*t),e=s[--t],s[t]=s[i],s[i]=e);return s}function sfsi_setCookie(s,i,e){var t=new Date;t.setTime(t.getTime()+864e5*e);var n="expires="+t.toGMTString();document.cookie=s+"="+i+"; "+n}function sfsfi_getCookie(s){for(var i=s+"=",e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t].trim();if(0==n.indexOf(i))return n.substring(i.length,n.length)}return""}function sfsi_hideFooter(){}function showhideutube(s){var i=SFSI(s).children("input").val();"name"==i?(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp()):(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp())}function sfsihidemepopup(){SFSI(".sfsi_FrntInner").fadeOut()}jQuery(document).ready(function(){jQuery("#sfsi_floater").attr("data-top",jQuery(document).height())}),window.onerror=function(){},SFSI=jQuery.noConflict(),SFSI(window).load(function(){SFSI("#sfpageLoad").fadeOut(2e3)});var global_error=0;SFSI(document).ready(function(s){function i(){SFSI(".uperror").html(""),afterLoad();var s=SFSI('input[name="'+SFSI("#upload_id").val()+'"]');s.removeAttr("checked");var i=SFSI(s).parent().find("span:first");return SFSI(i).css("background-position","0px 0px"),SFSI(".upload-overlay").hide("slow"),!1}SFSI(".tab_3_icns").on("click",".cstomskins_upload",function(){SFSI(".cstmskins-overlay").show("slow",function(){e=0})}),SFSI("#custmskin_clspop").live("click",function(){SFSI_done(),SFSI(".cstmskins-overlay").hide("slow")}),SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'),SFSI("head").append('<meta http-equiv="Expires" content="0" />'),SFSI("#accordion").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI("#accordion1").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI(".closeSec").on("click",function(){var s=!0,i=SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),e=SFSI(this).closest("div.ui-accordion-content").first();i.toggleClass("ui-corner-all",s).toggleClass("accordion-header-active ui-state-active ui-corner-top",!s).attr("aria-selected",(!s).toString()),i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",s).toggleClass("ui-icon-triangle-1-s",!s),e.toggleClass("accordion-content-active",!s),s?e.slideUp():e.slideDown()}),SFSI(document).click(function(s){var i=SFSI(".sfsi_FrntInner"),e=SFSI(".sfsi_wDiv"),t=SFSI("#at15s");i.is(s.target)||0!==i.has(s.target).length||e.is(s.target)||0!==e.has(s.target).length||t.is(s.target)||0!==t.has(s.target).length||i.fadeOut()}),SFSI(".sfsi_outr_div").find(".addthis_button").mousemove(function(){var s=SFSI(".sfsi_outr_div").find(".addthis_button").offset().top+10;SFSI("#at15s").css({top:s+"px",left:SFSI(".sfsi_outr_div").find(".addthis_button").offset().left+"px"})}),SFSI("#sfsifontCloroPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_fontColor").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),sfsi_make_popBox(),!1},onChange:function(s,i){SFSI("#sfsi_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn_hover.svg")}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn.svg")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube_hover.svg")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube.svg")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("#sfsiBackgroundColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_background_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("#sfsiBorderColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_border_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("#sfsi_save1").on("click",function(){sfsi_update_step1()&&sfsicollapse(this)}),SFSI("#sfsi_save2").on("click",function(){sfsi_update_step2()&&sfsicollapse(this)}),SFSI("#sfsi_save3").on("click",function(){sfsi_update_step3()&&sfsicollapse(this)}),SFSI("#sfsi_save4").on("click",function(){sfsi_update_step4()&&sfsicollapse(this)}),SFSI("#sfsi_save5").on("click",function(){sfsi_update_step5()&&sfsicollapse(this)}),SFSI("#sfsi_save6").on("click",function(){sfsi_update_step6()&&sfsicollapse(this)}),SFSI("#sfsi_save7").on("click",function(){sfsi_update_step7()&&sfsicollapse(this)}),SFSI("#save_all_settings").on("click",function(){return SFSI("#save_all_settings").text("Saving.."),SFSI(".save_button >a").css("pointer-events","none"),sfsi_update_step1(),1==global_error?(showErrorSuc("error",'Some Selection error in "Which icons do you want to show on your site?" tab.',8),global_error=0,!1):(sfsi_update_step2(),1==global_error?(showErrorSuc("error",'Some Selection error in "What do you want the icons to do?" tab.',8),global_error=0,!1):(sfsi_update_step3(),1==global_error?(showErrorSuc("error",'Some Selection error in "What design & animation do you want to give your icons?" tab.',8),global_error=0,!1):(sfsi_update_step4(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display "counts" next to your icons?" tab.',8),global_error=0,!1):(sfsi_update_step5(),1==global_error?(showErrorSuc("error",'Some Selection error in "Any other wishes for your main icons?" tab.',8),global_error=0,!1):(sfsi_update_step6(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display icons at the end of every post?" tab.',8),global_error=0,!1):(sfsi_update_step7(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.',8),global_error=0,!1):void(0==global_error&&showErrorSuc("success",'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)',8))))))))}),SFSI(".fileUPInput").live("change",function(){beForeLoad(),beforeIconSubmit(this)&&(SFSI(".upload-overlay").css("pointer-events","none"),SFSI("#customIconFrm").ajaxForm({dataType:"json",success:afterIconSuccess,resetForm:!0}).submit())}),SFSI(".pop-up").on("click",function(){("fbex-s2"==SFSI(this).attr("data-id")||"googlex-s2"==SFSI(this).attr("data-id")||"linkex-s2"==SFSI(this).attr("data-id"))&&(SFSI("."+SFSI(this).attr("data-id")).hide(),SFSI("."+SFSI(this).attr("data-id")).css("opacity","1"),SFSI("."+SFSI(this).attr("data-id")).css("z-index","1000")),SFSI("."+SFSI(this).attr("data-id")).show("slow")}),SFSI("#close_popup").live("click",function(){SFSI(".read-overlay").hide("slow")});var e=0;SFSI(".icn_listing").on("click",".checkbox",function(){if(1==e)return!1;"yes"==SFSI(this).attr("dynamic_ele")&&(s=SFSI(this).parent().find("input:checkbox:first"),s.is(":checked")?SFSI(s).attr("checked",!1):SFSI(s).attr("checked",!0)),s=SFSI(this).parent().find("input:checkbox:first"),"yes"==SFSI(s).attr("isNew")&&("0px 0px"==SFSI(this).css("background-position")?(SFSI(s).attr("checked",!0),SFSI(this).css("background-position","0px -36px")):(SFSI(s).removeAttr("checked",!0),SFSI(this).css("background-position","0px 0px")));var s=SFSI(this).parent().find("input:checkbox:first");if(s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))SFSI(".fileUPInput").attr("name","custom_icons[]"),SFSI(".upload-overlay").show("slow",function(){e=0}),SFSI("#upload_id").val(s.attr("name"));else if(!s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))return s.attr("ele-type")?(SFSI(this).attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1):confirm("Are you sure want to delete this Icon..?? ")?"suc"==sfsi_delete_CusIcon(this,s)?(s.attr("checked",!1),SFSI(this).css("background-position","0px 0px"),e=0,!1):(e=0,!1):(s.attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1)}),SFSI(".icn_listing").on("click",".checkbox",function(){checked=SFSI(this).parent().find("input:checkbox:first"),"sfsi_email_display"!=checked.attr("name")||checked.is(":checked")||SFSI(".demail-1").show("slow")}),SFSI("#deac_email2").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").show("slow")}),SFSI("#deac_email3").on("click",function(){SFSI(".demail-2").hide("slow"),SFSI(".demail-3").show("slow")}),SFSI(".hideemailpop").on("click",function(){SFSI('input[name="sfsi_email_display"]').attr("checked",!0),SFSI('input[name="sfsi_email_display"]').parent().find("span:first").css("background-position","0px -36px"),SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".hidePop").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".activate_footer").on("click",function(){SFSI(this).text("activating....");var s={action:"activateFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow"),SFSI(".activate_footer").text("Ok, activate link"))}})}),SFSI(".sfsi_removeFooter").on("click",function(){SFSI(this).text("working....");var s={action:"removeFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".sfsi_removeFooter").fadeOut("slow"),SFSI(".sfsi_footerLnk").fadeOut("slow"))}})}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_display_counts"==s.attr("name")&&sfsi_show_counts()}),SFSI("#close_Uploadpopup").on("click",i),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_show_Onposts"==s.attr("name")&&sfsi_show_OnpostsDisplay()}),sfsi_show_OnpostsDisplay(),sfsi_depened_sections(),sfsi_show_counts(),sfsi_showPreviewCounts(),SFSI(".share_icon_order").sortable({update:function(){SFSI(".share_icon_order li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})},revert:!0}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_email_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_email_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_email_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_email_countsFrom']:checked").val()?SFSI("input[name='sfsi_email_manualCounts']").slideDown():SFSI("input[name='sfsi_email_manualCounts']").slideUp()),"sfsi_facebook_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_facebook_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_facebook_countsFrom']:checked").val()?SFSI("input[name='sfsi_facebook_manualCounts']").slideDown():SFSI("input[name='sfsi_facebook_manualCounts']").slideUp()),"sfsi_twitter_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_twitter_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_twitter_countsFrom']:checked").val()?(SFSI("input[name='sfsi_twitter_manualCounts']").slideDown(),SFSI(".tw_follow_options").slideUp()):(SFSI("input[name='sfsi_twitter_manualCounts']").slideUp(),SFSI(".tw_follow_options").slideDown())),"sfsi_google_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_google_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_google_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideDown(),SFSI(".google_option").slideUp()),"likes"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideUp(),SFSI(".google_option").slideUp()),"follower"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI(".google_option").slideDown(),SFSI("input[name='sfsi_google_manualCounts']").slideUp())),"sfsi_linkedIn_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_linkedIn_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val()?(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideDown(),SFSI(".linkedIn_options").slideUp()):(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideUp(),SFSI(".linkedIn_options").slideDown())),"sfsi_youtube_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_youtube_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_youtube_countsFrom']:checked").val()?(SFSI("input[name='sfsi_youtube_manualCounts']").slideDown(),SFSI(".youtube_options").slideUp()):(SFSI("input[name='sfsi_youtube_manualCounts']").slideUp(),SFSI(".youtube_options").slideDown())),"sfsi_pinterest_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_pinterest_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val()?(SFSI("input[name='sfsi_pinterest_manualCounts']").slideDown(),SFSI(".pin_options").slideUp()):SFSI("input[name='sfsi_pinterest_manualCounts']").slideUp()),"sfsi_instagram_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_instagram_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_instagram_countsFrom']:checked").val()?(SFSI("input[name='sfsi_instagram_manualCounts']").slideDown(),SFSI(".instagram_userLi").slideUp()):(SFSI("input[name='sfsi_instagram_manualCounts']").slideUp(),SFSI(".instagram_userLi").slideDown())),"sfsi_shares_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_shares_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_shares_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_shares_countsFrom']:checked").val()?SFSI("input[name='sfsi_shares_manualCounts']").slideDown():SFSI("input[name='sfsi_shares_manualCounts']").slideUp())}),sfsi_make_popBox(),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("keyup",sfsi_make_popBox),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("focus",sfsi_make_popBox),SFSI("#sfsi_popup_font ,#sfsi_popup_fontStyle").on("change",sfsi_make_popBox),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_popup_border_shadow"==s.attr("name")&&sfsi_make_popBox()}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?SFSI("img.sfsi_wicon").on("click",function(s){s.stopPropagation();var i=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==i||"top-right"==i)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":1e3}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}):SFSI("img.sfsi_wicon").on("mouseenter",function(){var s=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==s||"top-right"==s)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}),SFSI("div.sfsi_wicons").on("mouseleave",function(){SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"fade_in"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"scale"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"combo"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&(SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")),"google"==SFSI(this).children("div.inerCnt").find("a.sficn").attr("id")?SFSI("body").on("click",function(){SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide()}):(SFSI(this).css({"z-index":"0"}),SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide())}),SFSI("body").on("click",function(){SFSI(".inerCnt").find("div.sfsi_tool_tip_2").hide()}),SFSI(".adminTooltip >a").on("hover",function(){SFSI(this).offset().top,SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","1"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show()}),SFSI(".adminTooltip").on("mouseleave",function(){"none"!=SFSI(".gpls_tool_bdr").css("display")&&0!=SFSI(".gpls_tool_bdr").css("opacity")?SFSI(".pop_up_box ").on("click",function(){SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide()}):(SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide())}),SFSI(".expand-area").on("click",function(){"Read more"==SFSI(this).text()?(SFSI(this).siblings("p").children("label").fadeIn("slow"),SFSI(this).text("Collapse")):(SFSI(this).siblings("p").children("label").fadeOut("slow"),SFSI(this).text("Read more"))}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_icons_float"==s.attr("name")&&"yes"==s.val()&&(SFSI(".float_options").slideDown("slow"),SFSI('input[name="sfsi_icons_stick"][value="no"]').attr("checked",!0),SFSI('input[name="sfsi_icons_stick"][value="yes"]').removeAttr("checked"),SFSI('input[name="sfsi_icons_stick"][value="no"]').parent().find("span").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_icons_stick"][value="yes"]').parent().find("span").attr("style","background-position:0px -0px;")),("sfsi_icons_stick"==s.attr("name")&&"yes"==s.val()||"sfsi_icons_float"==s.attr("name")&&"no"==s.val())&&(SFSI(".float_options").slideUp("slow"),SFSI('input[name="sfsi_icons_float"][value="no"]').prop("checked",!0),SFSI('input[name="sfsi_icons_float"][value="yes"]').prop("checked",!1),SFSI('input[name="sfsi_icons_float"][value="no"]').parent().find("span.radio").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_icons_float"][value="yes"]').parent().find("span.radio").attr("style","background-position:0px -0px;"))}),SFSI(".sfsi_wDiv").length>0&&setTimeout(function(){var s=parseInt(SFSI(".sfsi_wDiv").height())+15+"px";SFSI(".sfsi_holders").each(function(){SFSI(this).css("height",s)})},200),SFSI(".checkbox").live("click",function(){var s=SFSI(this).parent().find("input:checkbox:first");("sfsi_shuffle_Firstload"==s.attr("name")&&"checked"==s.attr("checked")||"sfsi_shuffle_interval"==s.attr("name")&&"checked"==s.attr("checked"))&&(SFSI('input[name="sfsi_shuffle_icons"]').parent().find("span").css("background-position","0px -36px"),SFSI('input[name="sfsi_shuffle_icons"]').attr("checked","checked")),"sfsi_shuffle_icons"==s.attr("name")&&"checked"!=s.attr("checked")&&(SFSI('input[name="sfsi_shuffle_Firstload"]').removeAttr("checked"),SFSI('input[name="sfsi_shuffle_Firstload"]').parent().find("span").css("background-position","0px 0px"),SFSI('input[name="sfsi_shuffle_interval"]').removeAttr("checked"),SFSI('input[name="sfsi_shuffle_interval"]').parent().find("span").css("background-position","0px 0px"))})});var initTop=new Array;
1
+ function sfsi_update_index(){var s=1;SFSI("ul.icn_listing li.custom").each(function(){SFSI(this).children("span.custom-txt").html("Custom "+s),s++}),cntt=1,SFSI("div.cm_lnk").each(function(){SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom "+cntt+":"),cntt++}),cntt=1,SFSI("div.custom_m").find("div.custom_section").each(function(){SFSI(this).find("label").html("Custom "+cntt+":"),cntt++})}function sfsicollapse(s){var i=!0,e=SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),t=SFSI(s).closest("div.ui-accordion-content").first();e.toggleClass("ui-corner-all",i).toggleClass("accordion-header-active ui-state-active ui-corner-top",!i).attr("aria-selected",(!i).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",i).toggleClass("ui-icon-triangle-1-s",!i),t.toggleClass("accordion-content-active",!i),i?t.slideUp():t.slideDown()}function sfsi_delete_CusIcon(s,i){beForeLoad();var e={action:"deleteIcons",icon_name:i.attr("name")};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",success:function(e){if("success"==e.res){showErrorSuc("success","Saved !",1);var t=e.last_index+1;SFSI("#total_cusotm_icons").val(e.total_up),SFSI(s).closest(".custom").remove(),SFSI("li.custom:last").addClass("bdr_btm_non"),SFSI(".custom-links").find("div."+i.attr("name")).remove(),SFSI(".custom_m").find("div."+i.attr("name")).remove(),SFSI(".share_icon_order").children("li."+i.attr("name")).remove(),SFSI("ul.sfsi_sample_icons").children("li."+i.attr("name")).remove();var n=e.total_up+1;4==e.total_up&&SFSI(".icn_listing").append('<li id="c'+t+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+t+'_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+t+'" alt="error" /> </span> <span class="custom custom-txt">Custom'+n+' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>')}else showErrorSuc("error","Unkown error , please try again",1);return sfsi_update_index(),update_Sec5Iconorder(),sfsi_update_step1(),sfsi_update_step5(),afterLoad(),"suc"}})}function update_Sec5Iconorder(){SFSI("ul.share_icon_order").children("li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})}function sfsi_section_Display(s,i){"hide"==i?(SFSI("."+s+" :input").prop("disabled",!0),SFSI("."+s+" :button").prop("disabled",!0),SFSI("."+s).hide()):(SFSI("."+s+" :input").removeAttr("disabled",!0),SFSI("."+s+" :button").removeAttr("disabled",!0),SFSI("."+s).show())}function sfsi_depened_sections(){if("sfsi"==SFSI("input[name='sfsi_rss_icons']:checked").val()){for(i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".row_"+s+"_2").css("background-position","-588px -"+e+"px")}var t=SFSI(".icon_img").attr("src"),n=t.replace("email.png","sf_arow_icn.png");SFSI(".icon_img").attr("src",n)}else{for(SFSI(".row_1_2").css("background-position","-58px 0"),i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".row_"+s+"_2").css("background-position","-58px -"+e+"px")}var t=SFSI(".icon_img").attr("src");if(t){var n=t.replace("sf_arow_icn.png","email.png");SFSI(".icon_img").attr("src",n)}}SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_section_Display("rss_section","show"):sfsi_section_Display("rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_section_Display("email_section","show"):sfsi_section_Display("email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_section_Display("facebook_section","show"):sfsi_section_Display("facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_section_Display("twitter_section","show"):sfsi_section_Display("twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_section_Display("google_section","show"):sfsi_section_Display("google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_section_Display("share_section","show"):sfsi_section_Display("share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_section_Display("youtube_section","show"):sfsi_section_Display("youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_section_Display("pinterest_section","show"):sfsi_section_Display("pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_section_Display("instagram_section","show"):sfsi_section_Display("instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_section_Display("linkedin_section","show"):sfsi_section_Display("linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_section_Display("custom_section","show"):sfsi_section_Display("custom_section","hide")}function CustomIConSectionsUpdate(){sfsi_section_Display("counter".ele,show)}function sfsi_customskin_upload(s,i){var e=(jQuery(i).attr("title"),s),t={action:"UploadSkins",custom_imgurl:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(e){if(e.res="success"){var t=s.split("=");jQuery(i).prev(".imgskin").attr("src",t[1]),jQuery(i).prev(".imgskin").css("display","block"),jQuery(i).text("Update"),jQuery(i).next(".dlt_btn").css("display","block")}}})}function deleteskin_icon(s){var i=jQuery(s).attr("title"),e=i,t={action:"DeleteSkin",iconname:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(i){(i.res="success")&&(SFSI(s).prev("a").text("Upload"),SFSI(s).prev("a").prev("img").attr("src",""),SFSI(s).prev("a").prev("img").css("display","none"),SFSI(s).css("display","none"))}})}function SFSI_done(){e={action:"Iamdone"},SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,success:function(s){jQuery("li.cstomskins_upload").children(".icns_tab_3").html(s),SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_section_Display("rss_section","show"):sfsi_section_Display("rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_section_Display("email_section","show"):sfsi_section_Display("email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_section_Display("facebook_section","show"):sfsi_section_Display("facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_section_Display("twitter_section","show"):sfsi_section_Display("twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_section_Display("google_section","show"):sfsi_section_Display("google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_section_Display("share_section","show"):sfsi_section_Display("share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_section_Display("youtube_section","show"):sfsi_section_Display("youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_section_Display("pinterest_section","show"):sfsi_section_Display("pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_section_Display("instagram_section","show"):sfsi_section_Display("instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_section_Display("linkedin_section","show"):sfsi_section_Display("linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_section_Display("custom_section","show"):sfsi_section_Display("custom_section","hide"),SFSI(".cstmskins-overlay").hide("slow"),sfsi_update_step3()&&sfsicollapse(this)}})}function sfsi_newcustomicon_upload(s){var i=s,e={action:"UploadIcons",custom_imgurl:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",async:!0,success:function(s){afterIconSuccess(s)}})}function sfsi_update_step1(){global_error=0,beForeLoad(),sfsi_depened_sections();var s=!1,i=SFSI("input[name='sfsi_rss_display']:checked").val(),e=SFSI("input[name='sfsi_email_display']:checked").val(),t=SFSI("input[name='sfsi_facebook_display']:checked").val(),n=SFSI("input[name='sfsi_twitter_display']:checked").val(),o=SFSI("input[name='sfsi_google_display']:checked").val(),a=SFSI("input[name='sfsi_share_display']:checked").val(),c=SFSI("input[name='sfsi_youtube_display']:checked").val(),r=SFSI("input[name='sfsi_pinterest_display']:checked").val(),p=SFSI("input[name='sfsi_linkedin_display']:checked").val(),_=SFSI("input[name='sfsi_instagram_display']:checked").val(),l=SFSI("input[name='sfsi_custom1_display']:checked").val(),S=SFSI("input[name='sfsi_custom2_display']:checked").val(),u=SFSI("input[name='sfsi_custom3_display']:checked").val(),f=SFSI("input[name='sfsi_custom4_display']:checked").val(),d=SFSI("input[name='sfsi_custom5_display']:checked").val(),m={action:"updateSrcn1",sfsi_rss_display:i,sfsi_email_display:e,sfsi_facebook_display:t,sfsi_twitter_display:n,sfsi_google_display:o,sfsi_share_display:a,sfsi_youtube_display:c,sfsi_pinterest_display:r,sfsi_linkedin_display:p,sfsi_instagram_display:_,sfsi_custom1_display:l,sfsi_custom2_display:S,sfsi_custom3_display:u,sfsi_custom4_display:f,sfsi_custom5_display:d};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:m,async:!0,dataType:"json",success:function(i){"success"==i?(showErrorSuc("success","Saved !",1),sfsicollapse("#sfsi_save1"),sfsi_make_popBox()):(global_error=1,showErrorSuc("error","Unkown error , please try again",1),s=!1),afterLoad()}})}function sfsi_update_step2(){var s=sfsi_validationStep2();if(!s)return global_error=1,!1;beForeLoad();var i=1==SFSI("input[name='sfsi_rss_url']").prop("disabled")?"":SFSI("input[name='sfsi_rss_url']").val(),e=1==SFSI("input[name='sfsi_rss_icons']").prop("disabled")?"":SFSI("input[name='sfsi_rss_icons']:checked").val(),t=1==SFSI("input[name='sfsi_facebookPage_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookPage_option']:checked").val(),n=1==SFSI("input[name='sfsi_facebookLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookLike_option']:checked").val(),o=1==SFSI("input[name='sfsi_facebookShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookShare_option']:checked").val(),a=SFSI("input[name='sfsi_facebookPage_url']").val(),c=1==SFSI("input[name='sfsi_twitter_followme']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followme']:checked").val(),r=1==SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followUserName']").val(),p=1==SFSI("input[name='sfsi_twitter_aboutPage']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),_=1==SFSI("input[name='sfsi_twitter_page']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_page']:checked").val(),l=SFSI("input[name='sfsi_twitter_pageURL']").val(),S=SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),u=1==SFSI("input[name='sfsi_google_page']").prop("disabled")?"":SFSI("input[name='sfsi_google_page']:checked").val(),f=1==SFSI("input[name='sfsi_googleLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleLike_option']:checked").val(),d=SFSI("input[name='sfsi_google_pageURL']").val(),m=1==SFSI("input[name='sfsi_googleShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleShare_option']:checked").val(),I=1==SFSI("input[name='sfsi_youtube_page']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_page']:checked").val(),F=1==SFSI("input[name='sfsi_youtube_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_pageUrl']").val(),h=1==SFSI("input[name='sfsi_youtube_follow']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_follow']:checked").val(),v=SFSI("input[name='sfsi_youtubeusernameorid']:checked").val(),g=SFSI("input[name='sfsi_ytube_user']").val(),k=SFSI("input[name='sfsi_ytube_chnlid']").val(),y=1==SFSI("input[name='sfsi_pinterest_page']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_page']:checked").val(),b=1==SFSI("input[name='sfsi_pinterest_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pageUrl']").val(),w=1==SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),x=1==SFSI("input[name='sfsi_instagram_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_pageUrl']").val(),C=1==SFSI("input[name='sfsi_linkedin_page']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_page']:checked").val(),D=1==SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_pageURL']").val(),U=1==SFSI("input[name='sfsi_linkedin_follow']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_follow']:checked").val(),j=SFSI("input[name='sfsi_linkedin_followCompany']").val(),O=1==SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),T=SFSI("input[name='sfsi_linkedin_recommendBusines']:checked").val(),P=SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),M=SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),L={};SFSI("input[name='sfsi_CustomIcon_links[]']").each(function(){L[SFSI(this).attr("file-id")]=this.value});var B={action:"updateSrcn2",sfsi_rss_url:i,sfsi_rss_icons:e,sfsi_facebookPage_option:t,sfsi_facebookLike_option:n,sfsi_facebookShare_option:o,sfsi_facebookPage_url:a,sfsi_twitter_followme:c,sfsi_twitter_followUserName:r,sfsi_twitter_aboutPage:p,sfsi_twitter_page:_,sfsi_twitter_pageURL:l,sfsi_twitter_aboutPageText:S,sfsi_google_page:u,sfsi_googleLike_option:f,sfsi_google_pageURL:d,sfsi_googleShare_option:m,sfsi_youtube_page:I,sfsi_youtube_pageUrl:F,sfsi_youtube_follow:h,sfsi_youtubeusernameorid:v,sfsi_ytube_user:g,sfsi_ytube_chnlid:k,sfsi_pinterest_page:y,sfsi_pinterest_pageUrl:b,sfsi_instagram_pageUrl:x,sfsi_pinterest_pingBlog:w,sfsi_linkedin_page:C,sfsi_linkedin_pageURL:D,sfsi_linkedin_follow:U,sfsi_linkedin_followCompany:j,sfsi_linkedin_SharePage:O,sfsi_linkedin_recommendBusines:T,sfsi_linkedin_recommendCompany:M,sfsi_linkedin_recommendProductId:P,sfsi_custom_links:L};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:B,async:!0,dataType:"json",success:function(s){"success"==s?(showErrorSuc("success","Saved !",2),sfsicollapse("#sfsi_save2"),sfsi_depened_sections()):(global_error=1,showErrorSuc("error","Unkown error , please try again",2),return_value=!1),afterLoad()}})}function sfsi_update_step3(){var s=sfsi_validationStep3();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_actvite_theme']:checked").val(),e=SFSI("input[name='sfsi_mouseOver']:checked").val(),t=SFSI("input[name='sfsi_shuffle_icons']:checked").val(),n=SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(),o=SFSI("#sfsi_mouseOver_effect option:selected").val(),a=SFSI("input[name='sfsi_shuffle_interval']:checked").val(),c=SFSI("input[name='sfsi_shuffle_intervalTime']").val(),r=SFSI("input[name='sfsi_specialIcon_animation']:checked").val(),p=SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(),_=SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(),l=SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(),S=SFSI("input[name='sfsi_specialIcon_interval']:checked").val(),u=SFSI("input[name='sfsi_specialIcon_intervalTime']").val(),f=SFSI("#sfsi_specialIcon_intervalIcons option:selected").val(),d={action:"updateSrcn3",sfsi_actvite_theme:i,sfsi_mouseOver:e,sfsi_shuffle_icons:t,sfsi_shuffle_Firstload:n,sfsi_mouseOver_effect:o,sfsi_shuffle_interval:a,sfsi_shuffle_intervalTime:c,sfsi_specialIcon_animation:r,sfsi_specialIcon_MouseOver:p,sfsi_specialIcon_Firstload:_,sfsi_specialIcon_Firstload_Icons:l,sfsi_specialIcon_interval:S,sfsi_specialIcon_intervalTime:u,sfsi_specialIcon_intervalIcons:f};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:d,async:!0,dataType:"json",success:function(s){"success"==s?(showErrorSuc("success","Saved !",3),sfsicollapse("#sfsi_save3")):(showErrorSuc("error","Unkown error , please try again",3),return_value=!1),afterLoad()}})}function sfsi_show_counts(){"yes"==SFSI("input[name='sfsi_display_counts']:checked").val()?(SFSI(".count_sections").slideDown(),sfsi_showPreviewCounts()):(SFSI(".count_sections").slideUp(),sfsi_showPreviewCounts())}function sfsi_showPreviewCounts(){var s=0;1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked")?(SFSI("#sfsi_rss_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_rss_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_email_countsDisplay']").prop("checked")?(SFSI("#sfsi_email_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_email_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("checked")?(SFSI("#sfsi_facebook_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_facebook_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked")?(SFSI("#sfsi_twitter_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_twitter_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_google_countsDisplay']").prop("checked")?(SFSI("#sfsi_google_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_google_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked")?(SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("checked")?(SFSI("#sfsi_youtube_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_youtube_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("checked")?(SFSI("#sfsi_pinterest_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_pinterest_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_shares_countsDisplay']").prop("checked")?(SFSI("#sfsi_shares_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_shares_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_instagram_countsDisplay']").prop("checked")?(SFSI("#sfsi_instagram_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_instagram_countsDisplay").css("opacity",0),0==s||"no"==SFSI("input[name='sfsi_display_counts']:checked").val()?SFSI(".sfsi_Cdisplay").hide():SFSI(".sfsi_Cdisplay").show()}function sfsi_show_OnpostsDisplay(){"yes"==SFSI("input[name='sfsi_show_Onposts']:checked").val()?SFSI(".PostsSettings_section").slideDown():SFSI(".PostsSettings_section").slideUp()}function sfsi_update_step4(){var s=!1,i=sfsi_validationStep4();if(!i)return global_error=1,!1;beForeLoad();var e=SFSI("input[name='sfsi_display_counts']:checked").val(),t=1==SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),n=1==SFSI("input[name='sfsi_email_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsFrom']:checked").val(),o=SFSI("input[name='sfsi_email_manualCounts']").val(),a=SFSI("input[name='sfsi_google_api_key']").val(),c=1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),r=SFSI("input[name='sfsi_rss_manualCounts']").val(),p=1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),_=1==SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),l=SFSI("input[name='sfsi_facebook_manualCounts']").val(),S=1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),u=1==SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),f=SFSI("input[name='sfsi_twitter_manualCounts']").val(),d=SFSI("input[name='tw_consumer_key']").val(),m=SFSI("input[name='tw_consumer_secret']").val(),I=SFSI("input[name='tw_oauth_access_token']").val(),F=SFSI("input[name='tw_oauth_access_token_secret']").val(),h=1==SFSI("input[name='sfsi_google_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsDisplay']:checked").val(),v=1==SFSI("input[name='sfsi_google_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsFrom']:checked").val(),g=SFSI("input[name='sfsi_google_manualCounts']").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),b=SFSI("input[name='ln_company']").val(),w=SFSI("input[name='ln_api_key']").val(),x=SFSI("input[name='ln_secret_key']").val(),C=SFSI("input[name='ln_oAuth_user_token']").val(),D=1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),U=1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),j=1==SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),O=SFSI("input[name='sfsi_youtube_manualCounts']").val(),T=SFSI("input[name='sfsi_youtube_user']").val(),P=1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),M=1==SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),L=SFSI("input[name='sfsi_pinterest_manualCounts']").val(),B=SFSI("input[name='sfsi_pinterest_user']").val(),E=SFSI("input[name='sfsi_pinterest_board']").val(),z=1==SFSI("input[name='sfsi_instagram_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_countsDisplay']:checked").val(),A=1==SFSI("input[name='sfsi_instagram_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_countsFrom']:checked").val(),N=SFSI("input[name='sfsi_instagram_manualCounts']").val(),H=SFSI("input[name='sfsi_instagram_User']").val(),R=1==SFSI("input[name='sfsi_shares_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_shares_countsDisplay']:checked").val(),Q=1==SFSI("input[name='sfsi_shares_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_shares_countsFrom']:checked").val(),W=SFSI("input[name='sfsi_shares_manualCounts']").val(),q={action:"updateSrcn4",sfsi_display_counts:e,sfsi_email_countsDisplay:t,sfsi_email_countsFrom:n,sfsi_email_manualCounts:o,sfsi_rss_countsDisplay:c,sfsi_rss_manualCounts:r,sfsi_facebook_countsDisplay:p,sfsi_facebook_countsFrom:_,sfsi_facebook_manualCounts:l,sfsi_twitter_countsDisplay:S,sfsi_twitter_countsFrom:u,sfsi_twitter_manualCounts:f,tw_consumer_key:d,tw_consumer_secret:m,tw_oauth_access_token:I,tw_oauth_access_token_secret:F,sfsi_google_countsDisplay:h,sfsi_google_countsFrom:v,sfsi_google_manualCounts:g,sfsi_google_api_key:a,sfsi_linkedIn_countsDisplay:D,sfsi_linkedIn_countsFrom:k,sfsi_linkedIn_manualCounts:y,ln_company:b,ln_api_key:w,ln_secret_key:x,ln_oAuth_user_token:C,sfsi_youtube_countsDisplay:U,sfsi_youtube_countsFrom:j,sfsi_youtube_manualCounts:O,sfsi_youtube_user:T,sfsi_pinterest_countsDisplay:P,sfsi_pinterest_countsFrom:M,sfsi_pinterest_manualCounts:L,sfsi_pinterest_user:B,sfsi_pinterest_board:E,sfsi_instagram_countsDisplay:z,sfsi_instagram_countsFrom:A,sfsi_instagram_manualCounts:N,sfsi_instagram_User:H,sfsi_shares_countsDisplay:R,sfsi_shares_countsFrom:Q,sfsi_shares_manualCounts:W};return SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:q,dataType:"json",async:!0,success:function(s){"success"==s.res?(showErrorSuc("success","Saved !",4),sfsicollapse("#sfsi_save4"),sfsi_showPreviewCounts()):(showErrorSuc("error","Unkown error , please try again",4),global_error=1),afterLoad()}}),s}function sfsi_update_step5(){var s=sfsi_validationStep5();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_icons_size']").val(),e=SFSI("input[name='sfsi_icons_perRow']").val(),t=SFSI("input[name='sfsi_icons_spacing']").val(),n=SFSI("#sfsi_icons_Alignment").val(),o=SFSI("input[name='sfsi_icons_ClickPageOpen']:checked").val(),a=SFSI("input[name='sfsi_icons_float']:checked").val(),c=SFSI("input[name='sfsi_disable_floaticons']:checked").val(),r=SFSI("#sfsi_icons_floatPosition").val(),p=SFSI("input[name='sfsi_icons_stick']:checked").val(),_=SFSI("#sfsi_rssIcon_order").attr("data-index"),l=SFSI("#sfsi_emailIcon_order").attr("data-index"),S=SFSI("#sfsi_googleIcon_order").attr("data-index"),u=SFSI("#sfsi_facebookIcon_order").attr("data-index"),f=SFSI("#sfsi_twitterIcon_order").attr("data-index"),d=SFSI("#sfsi_youtubeIcon_order").attr("data-index"),m=SFSI("#sfsi_pinterestIcon_order").attr("data-index"),I=SFSI("#sfsi_instagramIcon_order").attr("data-index"),F=SFSI("#sfsi_shareIcon_order").attr("data-index"),h=SFSI("#sfsi_linkedinIcon_order").attr("data-index"),v=new Array;SFSI(".custom_iconOrder").each(function(){v.push({order:SFSI(this).attr("data-index"),ele:SFSI(this).attr("element-id")})});var g=1==SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_rss_MouseOverText']").val(),k=1==SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_email_MouseOverText']").val(),y=1==SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_MouseOverText']").val(),b=1==SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_MouseOverText']").val(),w=1==SFSI("input[name='sfsi_google_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_google_MouseOverText']").val(),x=1==SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(),C=1==SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_MouseOverText']").val(),D=1==SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_MouseOverText']").val(),U=1==SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_instagram_MouseOverText']").val(),j=1==SFSI("input[name='sfsi_share_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_share_MouseOverText']").val(),O={};SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function(){O[SFSI(this).attr("file-id")]=this.value});var T={action:"updateSrcn5",sfsi_icons_size:i,sfsi_icons_Alignment:n,sfsi_icons_perRow:e,sfsi_icons_spacing:t,sfsi_icons_ClickPageOpen:o,sfsi_icons_float:a,sfsi_disable_floaticons:c,sfsi_icons_floatPosition:r,sfsi_icons_stick:p,sfsi_rss_MouseOverText:g,sfsi_email_MouseOverText:k,sfsi_twitter_MouseOverText:y,sfsi_facebook_MouseOverText:b,sfsi_google_MouseOverText:w,sfsi_youtube_MouseOverText:C,sfsi_linkedIn_MouseOverText:x,sfsi_pinterest_MouseOverText:D,sfsi_share_MouseOverText:j,sfsi_instagram_MouseOverText:U,sfsi_custom_MouseOverTexts:O,sfsi_rssIcon_order:_,sfsi_emailIcon_order:l,sfsi_facebookIcon_order:u,sfsi_twitterIcon_order:f,sfsi_googleIcon_order:S,sfsi_youtubeIcon_order:d,sfsi_pinterestIcon_order:m,sfsi_shareIcon_order:F,sfsi_instagramIcon_order:I,sfsi_linkedinIcon_order:h,sfsi_custom_orders:v};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:T,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",5),sfsicollapse("#sfsi_save5")):(global_error=1,showErrorSuc("error","Unkown error , please try again",5)),afterLoad()}})}function sfsi_update_step6(){beForeLoad();var s=SFSI("input[name='sfsi_show_Onposts']:checked").val(),i=SFSI("input[name='sfsi_textBefor_icons']").val(),e=SFSI("#sfsi_icons_alignment").val(),t=SFSI("#sfsi_icons_DisplayCounts").val(),n={action:"updateSrcn6",sfsi_show_Onposts:s,sfsi_icons_DisplayCounts:t,sfsi_icons_alignment:e,sfsi_textBefor_icons:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:n,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",6),sfsicollapse("#sfsi_save6")):(global_error=1,showErrorSuc("error","Unkown error , please try again",6)),afterLoad()}})}function sfsi_update_step7(){var s=sfsi_validationStep7();if(!s)return global_error=1,!1;beForeLoad();var i=SFSI("input[name='sfsi_popup_text']").val(),e=SFSI("#sfsi_popup_font option:selected").val(),t=(SFSI("#sfsi_popup_fontStyle option:selected").val(),SFSI("input[name='sfsi_popup_fontColor']").val()),n=SFSI("input[name='sfsi_popup_fontSize']").val(),o=SFSI("input[name='sfsi_popup_background_color']").val(),a=SFSI("input[name='sfsi_popup_border_color']").val(),c=SFSI("input[name='sfsi_popup_border_thickness']").val(),r=SFSI("input[name='sfsi_popup_border_shadow']:checked").val(),p=SFSI("input[name='sfsi_Show_popupOn']:checked").val(),_=[];SFSI("#sfsi_Show_popupOn_PageIDs :selected").each(function(s,i){_[s]=SFSI(i).val()});var l=SFSI("input[name='sfsi_Shown_pop']:checked").val(),S=SFSI("input[name='sfsi_Shown_popupOnceTime']").val(),u=SFSI("#sfsi_Shown_popuplimitPerUserTime").val(),f={action:"updateSrcn7",sfsi_popup_text:i,sfsi_popup_font:e,sfsi_popup_fontColor:t,sfsi_popup_fontSize:n,sfsi_popup_background_color:o,sfsi_popup_border_color:a,sfsi_popup_border_thickness:c,sfsi_popup_border_shadow:r,sfsi_Show_popupOn:p,sfsi_Show_popupOn_PageIDs:_,sfsi_Shown_pop:l,sfsi_Shown_popupOnceTime:S,sfsi_Shown_popuplimitPerUserTime:u};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:f,dataType:"json",async:!0,success:function(s){"success"==s?(showErrorSuc("success","Saved !",7),sfsicollapse("#sfsi_save7")):showErrorSuc("error","Unkown error , please try again",7),afterLoad()}})}function afterIconSuccess(s){if(s.res="success"){var i=s.key+1,e=s.element,t=e+1;SFSI("#total_cusotm_icons").val(s.element),SFSI(".upload-overlay").hide("slow"),SFSI(".uperror").html(""),showErrorSuc("success","Custom Icon updated successfully",1),d=new Date,SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("ele-type"),SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("isnew"),SFSI("li.custom:last").removeClass("bdr_btm_non"),SFSI("li.custom:last").children("span.custom-img").children("img").attr("src",s.img_path+"?"+d.getTime()),icons_name=SFSI("li.custom:last").find("input.styled").attr("name");var n=icons_name.split("_");s.key=n[1],s.img_path+="?"+d.getTime(),5>e&&SFSI(".icn_listing").append('<li id="c'+i+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+i+'" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+i+'" alt="error" /> </span> <span class="custom custom-txt">Custom'+t+' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),SFSI(".custom_section").show(),SFSI(".custom-links").append(' <div class="row sfsiICON_'+s.key+' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="'+s.img_path+"?"+d.getTime()+'" style="border-radius:48%" alt="error"/> </span> <span class="sfsiCtxt">Custom '+e+'</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_'+s.key+'" ><label>Link :</label><input file-id="'+s.key+'" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');var o=SFSI("div.custom_m").find("div.mouseover_field").length;SFSI("div.custom_m").append(0==o%2?'<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>':'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>'),SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_'+s.key+'" data-index="" element-id="'+s.key+'" id=""><a href="#" title="Custom Icon" ><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/></a></li>'),SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_'+s.key+'" element-id="'+s.key+'" ><div><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),sfsi_update_index(),update_Sec5Iconorder(),sfsi_update_step1(),sfsi_update_step2(),sfsi_update_step5(),SFSI(".upload-overlay").css("pointer-events","auto"),sfsi_showPreviewCounts(),afterLoad()
2
  }}function beforeIconSubmit(s){if(SFSI(".uperror").html("Uploading....."),window.File&&window.FileReader&&window.FileList&&window.Blob){SFSI(s).val()||SFSI(".uperror").html("File is empty");var i=s.files[0].size,e=s.files[0].type;switch(e){case"image/png":case"image/gif":case"image/jpeg":case"image/pjpeg":break;default:return SFSI(".uperror").html("Unsupported file"),!1}return i>1048576?(SFSI(".uperror").html("Image should be less than 1 MB"),!1):!0}return!0}function bytesToSize(s){var i=["Bytes","KB","MB","GB","TB"];if(0==s)return"0 Bytes";var e=parseInt(Math.floor(Math.log(s)/Math.log(1024)));return Math.round(s/Math.pow(1024,e),2)+" "+i[e]}function showErrorSuc(s,i,e){if("error"==s)var t="errorMsg";else var t="sucMsg";return SFSI(".tab"+e+">."+t).html(i),SFSI(".tab"+e+">."+t).show(),SFSI(".tab"+e+">."+t).effect("highlight",{},5e3),setTimeout(function(){SFSI("."+t).slideUp("slow")},5e3),!1}function beForeLoad(){SFSI(".loader-img").show(),SFSI(".save_button >a").html("Saving..."),SFSI(".save_button >a").css("pointer-events","none")}function afterLoad(){SFSI("input").removeClass("inputError"),SFSI(".save_button >a").html("Save"),SFSI(".tab8>div.save_button >a").html("Save All Settings"),SFSI(".save_button >a").css("pointer-events","auto"),SFSI(".save_button >a").removeAttr("onclick"),SFSI(".loader-img").hide()}function sfsi_make_popBox(){var s=0;SFSI(".sfsi_sample_icons >li").each(function(){"none"!=SFSI(this).css("display")&&(s=1)}),0==s?SFSI(".sfsi_Popinner").hide():SFSI(".sfsi_Popinner").show(),""!=SFSI('input[name="sfsi_popup_text"]').val()?(SFSI(".sfsi_Popinner >h2").html(SFSI('input[name="sfsi_popup_text"]').val()),SFSI(".sfsi_Popinner >h2").show()):SFSI(".sfsi_Popinner >h2").hide(),SFSI(".sfsi_Popinner").css({"border-color":SFSI('input[name="sfsi_popup_border_color"]').val(),"border-width":SFSI('input[name="sfsi_popup_border_thickness"]').val(),"border-style":"solid"}),SFSI(".sfsi_Popinner").css("background-color",SFSI('input[name="sfsi_popup_background_color"]').val()),SFSI(".sfsi_Popinner h2").css("font-family",SFSI("#sfsi_popup_font").val()),SFSI(".sfsi_Popinner h2").css("font-style",SFSI("#sfsi_popup_fontStyle").val()),SFSI(".sfsi_Popinner >h2").css("font-size",parseInt(SFSI('input[name="sfsi_popup_fontSize"]').val())),SFSI(".sfsi_Popinner >h2").css("color",SFSI('input[name="sfsi_popup_fontColor"]').val()+" !important"),"yes"==SFSI('input[name="sfsi_popup_border_shadow"]:checked').val()?SFSI(".sfsi_Popinner").css("box-shadow","12px 30px 18px #CCCCCC"):SFSI(".sfsi_Popinner").css("box-shadow","none")}function sfsi_stick_widget(s){0==initTop.length&&(SFSI(".sfsi_widget").each(function(s){initTop[s]=SFSI(this).position().top}),console.log(initTop));var i=SFSI(window).scrollTop(),e=[],t=[];SFSI(".sfsi_widget").each(function(s){e[s]=SFSI(this).position().top,t[s]=SFSI(this)});var n=!1;for(var o in e){var a=parseInt(o)+1;e[o]<i&&e[a]>i&&a<e.length?(SFSI(t[o]).css({position:"fixed",top:s}),SFSI(t[a]).css({position:"",top:initTop[a]}),n=!0):SFSI(t[o]).css({position:"",top:initTop[o]})}if(!n){var c=e.length-1,r=-1;e.length>1&&(r=e.length-2),initTop[c]<i?(SFSI(t[c]).css({position:"fixed",top:s}),r>=0&&SFSI(t[r]).css({position:"",top:initTop[r]})):(SFSI(t[c]).css({position:"",top:initTop[c]}),r>=0&&e[r]<i)}}function sfsi_float_widget(s){function i(){c="Microsoft Internet Explorer"===navigator.appName?a-document.documentElement.scrollTop:a-window.pageYOffset,Math.abs(c)>0?(window.removeEventListener("scroll",i),a-=c*o,SFSI("#sfsi_floater").css({top:(a+t).toString()+"px"}),setTimeout(i,n)):window.addEventListener("scroll",i,!1)}function e(){var s=SFSI("#sfsi_floater").attr("data-top"),e=parseInt(SFSI("#sfsi_floater").height()),t=parseInt(SFSI("#sfsi_floater").css("top"));parseInt(e)+parseInt(t)<=s?window.addEventListener("scroll",i,!1):(window.removeEventListener("scroll",i),SFSI("#sfsi_floater").css("top",s+"px"))}if("center"==s)var t=window.innerHeight/2;else if("bottom"==s)var t=window.innerHeight-SFSI("#sfsi_floater").height();else var t=parseInt(s);var n=50,o=.1,a=0,c=0;SFSI("#sfsi_floater"),window.onscroll=e}function sfsi_shuffle(){var s=[];SFSI(".sfsi_wicons ").each(function(i){SFSI(this).text().match(/^\s*$/)||(s[i]="<div class='"+SFSI(this).attr("class")+"'>"+SFSI(this).html()+"</div>",SFSI(this).fadeOut("slow"),SFSI(this).insertBefore(SFSI(this).prev(".sfsi_wicons")),SFSI(this).fadeIn("slow"))}),s=Shuffle(s),$("#sfsi_wDiv").html("");for(var i=0;i<testArray.length;i++)$("#sfsi_wDiv").append(s[i])}function Shuffle(s){for(var i,e,t=s.length;t;i=parseInt(Math.random()*t),e=s[--t],s[t]=s[i],s[i]=e);return s}function sfsi_setCookie(s,i,e){var t=new Date;t.setTime(t.getTime()+864e5*e);var n="expires="+t.toGMTString();document.cookie=s+"="+i+"; "+n}function sfsfi_getCookie(s){for(var i=s+"=",e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t].trim();if(0==n.indexOf(i))return n.substring(i.length,n.length)}return""}function sfsi_hideFooter(){}function showhideutube(s){var i=SFSI(s).children("input").val();"name"==i?(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp()):(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp())}function sfsihidemepopup(){SFSI(".sfsi_FrntInner").fadeOut()}jQuery(document).ready(function(){jQuery("#sfsi_floater").attr("data-top",jQuery(document).height())}),window.onerror=function(){},SFSI=jQuery.noConflict(),SFSI(window).load(function(){SFSI("#sfpageLoad").fadeOut(2e3)});var global_error=0;SFSI(document).ready(function(s){function i(){SFSI(".uperror").html(""),afterLoad();var s=SFSI('input[name="'+SFSI("#upload_id").val()+'"]');s.removeAttr("checked");var i=SFSI(s).parent().find("span:first");return SFSI(i).css("background-position","0px 0px"),SFSI(".upload-overlay").hide("slow"),!1}SFSI(".tab_3_icns").on("click",".cstomskins_upload",function(){SFSI(".cstmskins-overlay").show("slow",function(){e=0})}),SFSI("#custmskin_clspop").live("click",function(){SFSI_done(),SFSI(".cstmskins-overlay").hide("slow")}),SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'),SFSI("head").append('<meta http-equiv="Expires" content="0" />'),SFSI("#accordion").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI("#accordion1").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI(".closeSec").on("click",function(){var s=!0,i=SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),e=SFSI(this).closest("div.ui-accordion-content").first();i.toggleClass("ui-corner-all",s).toggleClass("accordion-header-active ui-state-active ui-corner-top",!s).attr("aria-selected",(!s).toString()),i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",s).toggleClass("ui-icon-triangle-1-s",!s),e.toggleClass("accordion-content-active",!s),s?e.slideUp():e.slideDown()}),SFSI(document).click(function(s){var i=SFSI(".sfsi_FrntInner"),e=SFSI(".sfsi_wDiv"),t=SFSI("#at15s");i.is(s.target)||0!==i.has(s.target).length||e.is(s.target)||0!==e.has(s.target).length||t.is(s.target)||0!==t.has(s.target).length||i.fadeOut()}),SFSI(".sfsi_outr_div").find(".addthis_button").mousemove(function(){var s=SFSI(".sfsi_outr_div").find(".addthis_button").offset().top+10;SFSI("#at15s").css({top:s+"px",left:SFSI(".sfsi_outr_div").find(".addthis_button").offset().left+"px"})}),SFSI("#sfsifontCloroPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_fontColor").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),sfsi_make_popBox(),!1},onChange:function(s,i){SFSI("#sfsi_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn_hover.svg")}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn.svg")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube_hover.svg")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube.svg")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("#sfsiBackgroundColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_background_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("#sfsiBorderColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_popup_border_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_make_popBox()},onClick:function(s,i){SFSI("#sfsi_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_make_popBox()}}),SFSI("#sfsi_save1").on("click",function(){sfsi_update_step1()&&sfsicollapse(this)}),SFSI("#sfsi_save2").on("click",function(){sfsi_update_step2()&&sfsicollapse(this)}),SFSI("#sfsi_save3").on("click",function(){sfsi_update_step3()&&sfsicollapse(this)}),SFSI("#sfsi_save4").on("click",function(){sfsi_update_step4()&&sfsicollapse(this)}),SFSI("#sfsi_save5").on("click",function(){sfsi_update_step5()&&sfsicollapse(this)}),SFSI("#sfsi_save6").on("click",function(){sfsi_update_step6()&&sfsicollapse(this)}),SFSI("#sfsi_save7").on("click",function(){sfsi_update_step7()&&sfsicollapse(this)}),SFSI("#save_all_settings").on("click",function(){return SFSI("#save_all_settings").text("Saving.."),SFSI(".save_button >a").css("pointer-events","none"),sfsi_update_step1(),1==global_error?(showErrorSuc("error",'Some Selection error in "Which icons do you want to show on your site?" tab.',8),global_error=0,!1):(sfsi_update_step2(),1==global_error?(showErrorSuc("error",'Some Selection error in "What do you want the icons to do?" tab.',8),global_error=0,!1):(sfsi_update_step3(),1==global_error?(showErrorSuc("error",'Some Selection error in "What design & animation do you want to give your icons?" tab.',8),global_error=0,!1):(sfsi_update_step4(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display "counts" next to your icons?" tab.',8),global_error=0,!1):(sfsi_update_step5(),1==global_error?(showErrorSuc("error",'Some Selection error in "Any other wishes for your main icons?" tab.',8),global_error=0,!1):(sfsi_update_step6(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display icons at the end of every post?" tab.',8),global_error=0,!1):(sfsi_update_step7(),1==global_error?(showErrorSuc("error",'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.',8),global_error=0,!1):void(0==global_error&&showErrorSuc("success",'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)',8))))))))}),SFSI(".fileUPInput").live("change",function(){beForeLoad(),beforeIconSubmit(this)&&(SFSI(".upload-overlay").css("pointer-events","none"),SFSI("#customIconFrm").ajaxForm({dataType:"json",success:afterIconSuccess,resetForm:!0}).submit())}),SFSI(".pop-up").on("click",function(){("fbex-s2"==SFSI(this).attr("data-id")||"googlex-s2"==SFSI(this).attr("data-id")||"linkex-s2"==SFSI(this).attr("data-id"))&&(SFSI("."+SFSI(this).attr("data-id")).hide(),SFSI("."+SFSI(this).attr("data-id")).css("opacity","1"),SFSI("."+SFSI(this).attr("data-id")).css("z-index","1000")),SFSI("."+SFSI(this).attr("data-id")).show("slow")}),SFSI("#close_popup").live("click",function(){SFSI(".read-overlay").hide("slow")});var e=0;SFSI(".icn_listing").on("click",".checkbox",function(){if(1==e)return!1;"yes"==SFSI(this).attr("dynamic_ele")&&(s=SFSI(this).parent().find("input:checkbox:first"),s.is(":checked")?SFSI(s).attr("checked",!1):SFSI(s).attr("checked",!0)),s=SFSI(this).parent().find("input:checkbox:first"),"yes"==SFSI(s).attr("isNew")&&("0px 0px"==SFSI(this).css("background-position")?(SFSI(s).attr("checked",!0),SFSI(this).css("background-position","0px -36px")):(SFSI(s).removeAttr("checked",!0),SFSI(this).css("background-position","0px 0px")));var s=SFSI(this).parent().find("input:checkbox:first");if(s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))SFSI(".fileUPInput").attr("name","custom_icons[]"),SFSI(".upload-overlay").show("slow",function(){e=0}),SFSI("#upload_id").val(s.attr("name"));else if(!s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))return s.attr("ele-type")?(SFSI(this).attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1):confirm("Are you sure want to delete this Icon..?? ")?"suc"==sfsi_delete_CusIcon(this,s)?(s.attr("checked",!1),SFSI(this).css("background-position","0px 0px"),e=0,!1):(e=0,!1):(s.attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1)}),SFSI(".icn_listing").on("click",".checkbox",function(){checked=SFSI(this).parent().find("input:checkbox:first"),"sfsi_email_display"!=checked.attr("name")||checked.is(":checked")||SFSI(".demail-1").show("slow")}),SFSI("#deac_email2").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").show("slow")}),SFSI("#deac_email3").on("click",function(){SFSI(".demail-2").hide("slow"),SFSI(".demail-3").show("slow")}),SFSI(".hideemailpop").on("click",function(){SFSI('input[name="sfsi_email_display"]').attr("checked",!0),SFSI('input[name="sfsi_email_display"]').parent().find("span:first").css("background-position","0px -36px"),SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".hidePop").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".activate_footer").on("click",function(){SFSI(this).text("activating....");var s={action:"activateFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow"),SFSI(".activate_footer").text("Ok, activate link"))}})}),SFSI(".sfsi_removeFooter").on("click",function(){SFSI(this).text("working....");var s={action:"removeFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".sfsi_removeFooter").fadeOut("slow"),SFSI(".sfsi_footerLnk").fadeOut("slow"))}})}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_display_counts"==s.attr("name")&&sfsi_show_counts()}),SFSI("#close_Uploadpopup").on("click",i),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_show_Onposts"==s.attr("name")&&sfsi_show_OnpostsDisplay()}),sfsi_show_OnpostsDisplay(),sfsi_depened_sections(),sfsi_show_counts(),sfsi_showPreviewCounts(),SFSI(".share_icon_order").sortable({update:function(){SFSI(".share_icon_order li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})},revert:!0}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_email_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_email_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_email_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_email_countsFrom']:checked").val()?SFSI("input[name='sfsi_email_manualCounts']").slideDown():SFSI("input[name='sfsi_email_manualCounts']").slideUp()),"sfsi_facebook_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_facebook_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_facebook_countsFrom']:checked").val()?SFSI("input[name='sfsi_facebook_manualCounts']").slideDown():SFSI("input[name='sfsi_facebook_manualCounts']").slideUp()),"sfsi_twitter_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_twitter_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_twitter_countsFrom']:checked").val()?(SFSI("input[name='sfsi_twitter_manualCounts']").slideDown(),SFSI(".tw_follow_options").slideUp()):(SFSI("input[name='sfsi_twitter_manualCounts']").slideUp(),SFSI(".tw_follow_options").slideDown())),"sfsi_google_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_google_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_google_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideDown(),SFSI(".google_option").slideUp()),"likes"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideUp(),SFSI(".google_option").slideUp()),"follower"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI(".google_option").slideDown(),SFSI("input[name='sfsi_google_manualCounts']").slideUp())),"sfsi_linkedIn_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_linkedIn_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val()?(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideDown(),SFSI(".linkedIn_options").slideUp()):(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideUp(),SFSI(".linkedIn_options").slideDown())),"sfsi_youtube_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_youtube_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_youtube_countsFrom']:checked").val()?(SFSI("input[name='sfsi_youtube_manualCounts']").slideDown(),SFSI(".youtube_options").slideUp()):(SFSI("input[name='sfsi_youtube_manualCounts']").slideUp(),SFSI(".youtube_options").slideDown())),"sfsi_pinterest_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_pinterest_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val()?(SFSI("input[name='sfsi_pinterest_manualCounts']").slideDown(),SFSI(".pin_options").slideUp()):SFSI("input[name='sfsi_pinterest_manualCounts']").slideUp()),"sfsi_instagram_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_instagram_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_instagram_countsFrom']:checked").val()?(SFSI("input[name='sfsi_instagram_manualCounts']").slideDown(),SFSI(".instagram_userLi").slideUp()):(SFSI("input[name='sfsi_instagram_manualCounts']").slideUp(),SFSI(".instagram_userLi").slideDown())),"sfsi_shares_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_shares_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_shares_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_shares_countsFrom']:checked").val()?SFSI("input[name='sfsi_shares_manualCounts']").slideDown():SFSI("input[name='sfsi_shares_manualCounts']").slideUp())}),sfsi_make_popBox(),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("keyup",sfsi_make_popBox),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("focus",sfsi_make_popBox),SFSI("#sfsi_popup_font ,#sfsi_popup_fontStyle").on("change",sfsi_make_popBox),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_popup_border_shadow"==s.attr("name")&&sfsi_make_popBox()}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?SFSI("img.sfsi_wicon").on("click",function(s){s.stopPropagation();var i=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==i||"top-right"==i)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":1e3}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}):SFSI("img.sfsi_wicon").on("mouseenter",function(){var s=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==s||"top-right"==s)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}),SFSI("div.sfsi_wicons").on("mouseleave",function(){SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"fade_in"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"scale"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&"combo"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect")&&(SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")),"google"==SFSI(this).children("div.inerCnt").find("a.sficn").attr("id")?SFSI("body").on("click",function(){SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide()}):(SFSI(this).css({"z-index":"0"}),SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide())}),SFSI("body").on("click",function(){SFSI(".inerCnt").find("div.sfsi_tool_tip_2").hide()}),SFSI(".adminTooltip >a").on("hover",function(){SFSI(this).offset().top,SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","1"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show()}),SFSI(".adminTooltip").on("mouseleave",function(){"none"!=SFSI(".gpls_tool_bdr").css("display")&&0!=SFSI(".gpls_tool_bdr").css("opacity")?SFSI(".pop_up_box ").on("click",function(){SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide()}):(SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide())}),SFSI(".expand-area").on("click",function(){"Read more"==SFSI(this).text()?(SFSI(this).siblings("p").children("label").fadeIn("slow"),SFSI(this).text("Collapse")):(SFSI(this).siblings("p").children("label").fadeOut("slow"),SFSI(this).text("Read more"))}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_icons_float"==s.attr("name")&&"yes"==s.val()&&(SFSI(".float_options").slideDown("slow"),SFSI('input[name="sfsi_icons_stick"][value="no"]').attr("checked",!0),SFSI('input[name="sfsi_icons_stick"][value="yes"]').removeAttr("checked"),SFSI('input[name="sfsi_icons_stick"][value="no"]').parent().find("span").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_icons_stick"][value="yes"]').parent().find("span").attr("style","background-position:0px -0px;")),("sfsi_icons_stick"==s.attr("name")&&"yes"==s.val()||"sfsi_icons_float"==s.attr("name")&&"no"==s.val())&&(SFSI(".float_options").slideUp("slow"),SFSI('input[name="sfsi_icons_float"][value="no"]').prop("checked",!0),SFSI('input[name="sfsi_icons_float"][value="yes"]').prop("checked",!1),SFSI('input[name="sfsi_icons_float"][value="no"]').parent().find("span.radio").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_icons_float"][value="yes"]').parent().find("span.radio").attr("style","background-position:0px -0px;"))}),SFSI(".sfsi_wDiv").length>0&&setTimeout(function(){var s=parseInt(SFSI(".sfsi_wDiv").height())+15+"px";SFSI(".sfsi_holders").each(function(){SFSI(this).css("height",s)})},200),SFSI(".checkbox").live("click",function(){var s=SFSI(this).parent().find("input:checkbox:first");("sfsi_shuffle_Firstload"==s.attr("name")&&"checked"==s.attr("checked")||"sfsi_shuffle_interval"==s.attr("name")&&"checked"==s.attr("checked"))&&(SFSI('input[name="sfsi_shuffle_icons"]').parent().find("span").css("background-position","0px -36px"),SFSI('input[name="sfsi_shuffle_icons"]').attr("checked","checked")),"sfsi_shuffle_icons"==s.attr("name")&&"checked"!=s.attr("checked")&&(SFSI('input[name="sfsi_shuffle_Firstload"]').removeAttr("checked"),SFSI('input[name="sfsi_shuffle_Firstload"]').parent().find("span").css("background-position","0px 0px"),SFSI('input[name="sfsi_shuffle_interval"]').removeAttr("checked"),SFSI('input[name="sfsi_shuffle_interval"]').parent().find("span").css("background-position","0px 0px"))})});var initTop=new Array;
libs/controllers/sfsi_class_theme_check.php CHANGED
@@ -530,7 +530,7 @@ class sfsi_ThemeCheck
530
  <a href="'.$siteLink.'" target="_blank">
531
  <div class="sfsi_new_notification_body_cat">
532
  <div class="sfsi_new_notification_image_cat">
533
- <img src="'.$bannerImage.'" id="newImg" />
534
  </div>
535
  </div>
536
  </a>
530
  <a href="'.$siteLink.'" target="_blank">
531
  <div class="sfsi_new_notification_body_cat">
532
  <div class="sfsi_new_notification_image_cat">
533
+ <img src="'.$bannerImage.'" id="newImg" alt="Banner" />
534
  </div>
535
  </div>
536
  </a>
libs/controllers/sfsi_frontpopUp.php CHANGED
@@ -215,7 +215,7 @@ function sfsi_FrontPopupDiv()
215
  ksort($icons_order); /* short icons in order to display */
216
  $icons='<div class="sfsi_outr_div" > <div class="sfsi_FrntInner_chg" style="'.$style.'">';
217
  //adding close button
218
- $icons.='<div class="sfsiclpupwpr" onclick="sfsihidemepopup();"><img src="'.SFSI_PLUGURL.'images/close.png" /></div>';
219
 
220
  if(!empty($heading_text))
221
  {
215
  ksort($icons_order); /* short icons in order to display */
216
  $icons='<div class="sfsi_outr_div" > <div class="sfsi_FrntInner_chg" style="'.$style.'">';
217
  //adding close button
218
+ $icons.='<div class="sfsiclpupwpr" onclick="sfsihidemepopup();"><img src="'.SFSI_PLUGURL.'images/close.png" alt="error" /></div>';
219
 
220
  if(!empty($heading_text))
221
  {
libs/controllers/sfsiocns_OnPosts.php CHANGED
@@ -138,11 +138,11 @@ function sfsi_Subscribelike($permalink, $show_count)
138
 
139
  if($sfsi_section6_options['sfsi_icons_DisplayCounts']=="yes")
140
  {
141
- $icon = '<a href="'.$url.'" target="_blank"><img src="'.SFSI_PLUGURL.'images/follow_subscribe.png" /></a><span class="bot_no">'.$counts.'</span>';
142
  }
143
  else
144
  {
145
- $icon = '<a href="'.$url.'" target="_blank"><img src="'.SFSI_PLUGURL.'images/follow_subscribe.png" /></a>';
146
  }
147
  return $icon;
148
  }
@@ -204,15 +204,15 @@ function sfsi_FBlike($permalink,$show_count)
204
  $option6 = unserialize(get_option('sfsi_section6_options',false));
205
  if($option6['sfsi_rectfbshare'] == 'yes' && $option6['sfsi_rectfb'] == 'yes')
206
  {
207
- $fb_like_html .='<div class="fb-like" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" showfaces="false" action="like" data-share="true"';
208
  }
209
  else if($option6['sfsi_rectfb'] == 'no' && $option6['sfsi_rectfbshare'] == 'yes')
210
  {
211
- $fb_like_html .= '<div class="fb-share-button" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" ';
212
  }
213
  else
214
  {
215
- $fb_like_html .= '<div class="fb-like" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" showfaces="false" action="like" data-share="false" ';
216
  }
217
  if($show_count==1)
218
  {
@@ -320,35 +320,26 @@ function sfsi_footer_script()
320
  <?php
321
  }
322
 
323
- //Murt Code get domain
324
- function getDomain($url){
325
- $pieces = parse_url($url);
326
- $domain = isset($pieces['host']) ? $pieces['host'] : '';
327
- if(preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)){
328
- return $regs['domain'];
329
- }
330
- return FALSE;
331
- }
332
-
333
  /* activate footer credit link */
334
  if(get_option('sfsi_footer_sec')=="yes")
335
  {
336
  if(!is_admin())
337
  {
338
- //$footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; absolute; text-align: center;">Social media & sharing icons powered by <a href="https://wordpress.org/plugins/ultimate-social-media-icons/" target="_new">UltimatelySocial</a> ';
339
 
340
- $domain = getDomain(get_site_url());
 
341
  $firstCharacter = substr($domain, 0, 1);
342
  if(in_array($firstCharacter ,array('a','b','c','d','e','f','g','h','i','j','k','l','m'))){
343
- $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; absolute; text-align: center;">Social media & sharing icons powered by <a href="https://www.ultimatelysocial.com/?utm_source=usmplus_settings_page&utm_campaign=credit_link_to_homepage&utm_medium=banner" target="_new">UltimatelySocial </a>';
344
  $footer_link.="</div>";
345
  echo $footer_link;
346
  }else if(in_array($firstCharacter ,array('n','o','p','q','r','s'))){
347
- $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; absolute; text-align: center;"><a href="https://www.ultimatelysocial.com/usm-premium/" target="_new">Wordpress Social Share Plugin </a> powered by Ultimatelysocial';
348
  $footer_link.="</div>";
349
  echo $footer_link;
350
  }else{
351
- $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; absolute; text-align: center;"><a href="https://www.ultimatelysocial.com/?utm_source=usmplus_settings_page&utm_campaign=credit_link_to_homepage&utm_medium=banner" target="_new">Social Share Buttons and Icons</a> powered by Ultimatelysocial';
352
  $footer_link.="</div>";
353
  echo $footer_link;
354
  }
138
 
139
  if($sfsi_section6_options['sfsi_icons_DisplayCounts']=="yes")
140
  {
141
+ $icon = '<a href="'.$url.'" target="_blank"><img src="'.SFSI_PLUGURL.'images/follow_subscribe.png" alt="error" /></a><span class="bot_no">'.$counts.'</span>';
142
  }
143
  else
144
  {
145
+ $icon = '<a href="'.$url.'" target="_blank"><img src="'.SFSI_PLUGURL.'images/follow_subscribe.png" alt="error" /></a>';
146
  }
147
  return $icon;
148
  }
204
  $option6 = unserialize(get_option('sfsi_section6_options',false));
205
  if($option6['sfsi_rectfbshare'] == 'yes' && $option6['sfsi_rectfb'] == 'yes')
206
  {
207
+ $fb_like_html .='<div class="fb-like" data-href="'.$permalink.'" data-width="'.$width.'" data-send="'.$send.'" data-show-faces="false" data-action="like" data-share="true"';
208
  }
209
  else if($option6['sfsi_rectfb'] == 'no' && $option6['sfsi_rectfbshare'] == 'yes')
210
  {
211
+ $fb_like_html .= '<div class="fb-share-button" href="'.$permalink.'" data-width="'.$width.'" data-send="'.$send.'" ';
212
  }
213
  else
214
  {
215
+ $fb_like_html .= '<div class="fb-like" data-href="'.$permalink.'" data-width="'.$width.'" data-send="'.$send.'" data-show-faces="false" data-action="like" data-share="false" ';
216
  }
217
  if($show_count==1)
218
  {
320
  <?php
321
  }
322
 
 
 
 
 
 
 
 
 
 
 
323
  /* activate footer credit link */
324
  if(get_option('sfsi_footer_sec')=="yes")
325
  {
326
  if(!is_admin())
327
  {
328
+ //$footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; absolute; text-align: center;">Social media & sharing icons powered by <a href="https://wordpress.org/plugins/ultimate-social-media-icons/" target="new">UltimatelySocial</a> ';
329
 
330
+ $sfsi_themecheck = new sfsi_ThemeCheck();
331
+ $domain = $sfsi_themecheck->sfsi_plus_getdomain(get_site_url());
332
  $firstCharacter = substr($domain, 0, 1);
333
  if(in_array($firstCharacter ,array('a','b','c','d','e','f','g','h','i','j','k','l','m'))){
334
+ $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; text-align: center;">Social media & sharing icons powered by <a href="https://www.ultimatelysocial.com/?utm_source=usmplus_settings_page&utm_campaign=credit_link_to_homepage&utm_medium=banner" target="new">UltimatelySocial </a>';
335
  $footer_link.="</div>";
336
  echo $footer_link;
337
  }else if(in_array($firstCharacter ,array('n','o','p','q','r','s'))){
338
+ $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000; text-align: center;"><a href="https://www.ultimatelysocial.com/usm-premium/" target="new">Wordpress Social Share Plugin </a> powered by Ultimatelysocial';
339
  $footer_link.="</div>";
340
  echo $footer_link;
341
  }else{
342
+ $footer_link='<div class="sfsiplus_footerLnk" style="margin: 0 auto;z-index:1000;text-align: center;"><a href="https://www.ultimatelysocial.com/?utm_source=usmplus_settings_page&utm_campaign=credit_link_to_homepage&utm_medium=banner" target="new">Social Share Buttons and Icons</a> powered by Ultimatelysocial';
343
  $footer_link.="</div>";
344
  echo $footer_link;
345
  }
libs/sfsi_Init_JqueryCss.php CHANGED
@@ -2,100 +2,100 @@
2
  /* instalation of javascript and css */
3
  function theme_back_enqueue_script()
4
  {
5
- if(isset($_GET['page']))
 
 
6
  {
7
- if($_GET['page'] == 'sfsi-options')
8
- {
9
- wp_enqueue_style("SFSImainAdminCss", SFSI_PLUGURL . 'css/sfsi-admin-style.css' );
10
 
11
- /* include CSS for backend */
12
- wp_enqueue_style('thickbox');
13
- wp_enqueue_style("SFSImainCss", SFSI_PLUGURL . 'css/sfsi-style.css' );
14
- wp_enqueue_style("SFSIJqueryCSS", SFSI_PLUGURL . 'css/jquery-ui-1.10.4/jquery-ui-min.css' );
15
- wp_enqueue_style("wp-color-picker");
16
- }
17
  }
18
-
19
- //including floating option css
20
- $option9= unserialize(get_option('sfsi_section9_options',false));
21
-
22
- if($option9['sfsi_disable_floaticons'] == 'yes')
 
 
 
 
 
 
 
 
23
  {
24
- wp_enqueue_style("disable_sfsi", SFSI_PLUGURL . 'css/disable_sfsi.css' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
-
27
- if(isset($_GET['page']))
28
- {
29
- if($_GET['page'] == 'sfsi-options')
30
- {
31
- wp_enqueue_script('jquery');
32
- wp_enqueue_script("jquery-migrate");
33
-
34
- wp_enqueue_script('media-upload');
35
- wp_enqueue_script('thickbox');
36
-
37
- wp_register_script('SFSIJqueryFRM', SFSI_PLUGURL . 'js/jquery.form-min.js', '', '', true);
38
- wp_enqueue_script("SFSIJqueryFRM");
39
-
40
-
41
- wp_enqueue_script("jquery-ui-accordion");
42
- wp_enqueue_script("wp-color-picker");
43
- wp_enqueue_script("jquery-effects-core");
44
- wp_enqueue_script("jquery-ui-sortable");
45
-
46
- wp_register_script('SFSICustomFormJs', SFSI_PLUGURL . 'js/custom-form-min.js', '', '', true);
47
- wp_enqueue_script("SFSICustomFormJs");
48
-
49
- wp_register_script('SFSICustomJs', SFSI_PLUGURL . 'js/custom-admin.js', '', '', true);
50
- wp_enqueue_script("SFSICustomJs");
51
- /* end cusotm js */
52
-
53
- /* initilaize the ajax url in javascript */
54
- wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
55
- wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUGURL) );
56
- }
57
- }
58
  }
59
  add_action( 'admin_enqueue_scripts', 'theme_back_enqueue_script' );
60
 
61
  function theme_front_enqueue_script()
62
  {
63
- wp_enqueue_script('jquery');
64
- wp_enqueue_script("jquery-migrate");
65
-
66
- wp_enqueue_script('jquery-ui-core');
67
-
68
- wp_register_script('SFSIjqueryModernizr', SFSI_PLUGURL . 'js/shuffle/modernizr.custom.min.js', array('jquery'),'',true);
69
- wp_enqueue_script("SFSIjqueryModernizr");
70
-
71
- wp_register_script('SFSIjqueryShuffle', SFSI_PLUGURL . 'js/shuffle/jquery.shuffle.min.js', array('jquery'),'',true);
72
- wp_enqueue_script("SFSIjqueryShuffle");
73
-
74
- wp_register_script('SFSIjqueryrandom-shuffle', SFSI_PLUGURL . 'js/shuffle/random-shuffle-min.js', array('jquery'),'',true);
75
- wp_enqueue_script("SFSIjqueryrandom-shuffle");
76
- $option1= unserialize(get_option('sfsi_section1_options',false));
77
-
78
- if(isset($option1["sfsi_wechat_display"]) && $option1["sfsi_wechat_display"]=="yes" ){
79
- wp_register_script('SFSIPLUSqrcode.js', SFSI_PLUGURL . 'js/qrcode.min.js', '', '', true);
80
- wp_enqueue_script("SFSIPLUSqrcode.js");
81
- }
82
- wp_register_script('SFSICustomJs', SFSI_PLUGURL . 'js/custom.js', array('jquery'),'',true);
83
- wp_enqueue_script("SFSICustomJs");
84
- /* end cusotm js */
85
-
86
- /* initilaize the ajax url in javascript */
87
- wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
88
- wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUGURL) );
89
-
90
- /* include CSS for front-end and backend */
91
- wp_enqueue_style("SFSImainCss", SFSI_PLUGURL . 'css/sfsi-style.css', true);
92
-
93
- //including floating option css
94
- $option9= unserialize(get_option('sfsi_section9_options',false));
95
- if($option9['sfsi_disable_floaticons'] == 'yes')
96
- {
97
- wp_enqueue_style("disable_sfsi", SFSI_PLUGURL . 'css/disable_sfsi.css' );
98
- }
99
  }
100
  add_action( 'wp_enqueue_scripts', 'theme_front_enqueue_script' );
101
 
@@ -121,13 +121,13 @@ function sfsi_footerFeedbackScript()
121
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
122
  color: #e12522;
123
  transition: 0s;
124
- background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px 15px no-repeat #000;
125
- background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px -43px no-repeat #444444;
126
  color: #fafafa;
127
- font-family: helveticabold;
128
  }
129
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
130
- background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px -43px no-repeat #444444;
131
  color: #fafafa;
132
  }
133
  ul#adminmenu li.toplevel_page_sfsi-options a.current, ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
2
  /* instalation of javascript and css */
3
  function theme_back_enqueue_script()
4
  {
5
+ if(isset($_GET['page']))
6
+ {
7
+ if($_GET['page'] == 'sfsi-options')
8
  {
9
+ wp_enqueue_style("SFSImainAdminCss", SFSI_PLUGURL . 'css/sfsi-admin-style.css' );
 
 
10
 
11
+ /* include CSS for backend */
12
+ wp_enqueue_style('thickbox');
13
+ wp_enqueue_style("SFSImainCss", SFSI_PLUGURL . 'css/sfsi-style.css' );
14
+ wp_enqueue_style("SFSIJqueryCSS", SFSI_PLUGURL . 'css/jquery-ui-1.10.4/jquery-ui-min.css' );
15
+ wp_enqueue_style("wp-color-picker");
 
16
  }
17
+ }
18
+
19
+ //including floating option css
20
+ $option9= unserialize(get_option('sfsi_section9_options',false));
21
+
22
+ if($option9['sfsi_disable_floaticons'] == 'yes')
23
+ {
24
+ wp_enqueue_style("disable_sfsi", SFSI_PLUGURL . 'css/disable_sfsi.css' );
25
+ }
26
+
27
+ if(isset($_GET['page']))
28
+ {
29
+ if($_GET['page'] == 'sfsi-options')
30
  {
31
+ wp_enqueue_script('jquery');
32
+ wp_enqueue_script("jquery-migrate");
33
+
34
+ wp_enqueue_script('media-upload');
35
+ wp_enqueue_script('thickbox');
36
+
37
+ wp_register_script('SFSIJqueryFRM', SFSI_PLUGURL . 'js/jquery.form-min.js', '', '', true);
38
+ wp_enqueue_script("SFSIJqueryFRM");
39
+
40
+
41
+ wp_enqueue_script("jquery-ui-accordion");
42
+ wp_enqueue_script("wp-color-picker");
43
+ wp_enqueue_script("jquery-effects-core");
44
+ wp_enqueue_script("jquery-ui-sortable");
45
+
46
+ wp_register_script('SFSICustomFormJs', SFSI_PLUGURL . 'js/custom-form-min.js', '', '', true);
47
+ wp_enqueue_script("SFSICustomFormJs");
48
+
49
+ wp_register_script('SFSICustomJs', SFSI_PLUGURL . 'js/custom-admin.js', '', '', true);
50
+ wp_enqueue_script("SFSICustomJs");
51
+ /* end cusotm js */
52
+
53
+ /* initilaize the ajax url in javascript */
54
+ wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
55
+ wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUGURL) );
56
  }
57
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
  add_action( 'admin_enqueue_scripts', 'theme_back_enqueue_script' );
60
 
61
  function theme_front_enqueue_script()
62
  {
63
+ wp_enqueue_script('jquery');
64
+ wp_enqueue_script("jquery-migrate");
65
+
66
+ wp_enqueue_script('jquery-ui-core');
67
+
68
+ wp_register_script('SFSIjqueryModernizr', SFSI_PLUGURL . 'js/shuffle/modernizr.custom.min.js', array('jquery'),'',true);
69
+ wp_enqueue_script("SFSIjqueryModernizr");
70
+
71
+ wp_register_script('SFSIjqueryShuffle', SFSI_PLUGURL . 'js/shuffle/jquery.shuffle.min.js', array('jquery'),'',true);
72
+ wp_enqueue_script("SFSIjqueryShuffle");
73
+
74
+ wp_register_script('SFSIjqueryrandom-shuffle', SFSI_PLUGURL . 'js/shuffle/random-shuffle-min.js', array('jquery'),'',true);
75
+ wp_enqueue_script("SFSIjqueryrandom-shuffle");
76
+ $option1= unserialize(get_option('sfsi_section1_options',false));
77
+
78
+ if(isset($option1["sfsi_wechat_display"]) && $option1["sfsi_wechat_display"]=="yes" ){
79
+ wp_register_script('SFSIPLUSqrcode.js', SFSI_PLUGURL . 'js/qrcode.min.js', '', '', true);
80
+ wp_enqueue_script("SFSIPLUSqrcode.js");
81
+ }
82
+ wp_register_script('SFSICustomJs', SFSI_PLUGURL . 'js/custom.js', array('jquery'),'',true);
83
+ wp_enqueue_script("SFSICustomJs");
84
+ /* end cusotm js */
85
+
86
+ /* initilaize the ajax url in javascript */
87
+ wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
88
+ wp_localize_script( 'SFSICustomJs', 'sfsi_icon_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUGURL) );
89
+
90
+ /* include CSS for front-end and backend */
91
+ wp_enqueue_style("SFSImainCss", SFSI_PLUGURL . 'css/sfsi-style.css', true);
92
+
93
+ //including floating option css
94
+ $option9= unserialize(get_option('sfsi_section9_options',false));
95
+ if($option9['sfsi_disable_floaticons'] == 'yes')
96
+ {
97
+ wp_enqueue_style("disable_sfsi", SFSI_PLUGURL . 'css/disable_sfsi.css' );
98
+ }
99
  }
100
  add_action( 'wp_enqueue_scripts', 'theme_front_enqueue_script' );
101
 
121
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
122
  color: #e12522;
123
  transition: 0s;
124
+ background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px 15px no-repeat #23282d;
125
+ background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px -43px no-repeat #23282d;
126
  color: #fafafa;
127
+ font-family: Arial, Helvetica, sans-serif;
128
  }
129
  ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
130
+ background: url(<?php echo SFSI_PLUGURL; ?>css/images/left_log_icn.png) 6px -43px no-repeat black;
131
  color: #fafafa;
132
  }
133
  ul#adminmenu li.toplevel_page_sfsi-options a.current, ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
libs/sfsi_install_uninstall.php CHANGED
@@ -10,7 +10,7 @@ function sfsi_update_plugin()
10
  }
11
 
12
  //Install version
13
- update_option("sfsi_pluginVersion", "2.22");
14
 
15
  if (!get_option('sfsi_serverphpVersionnotification')) {
16
  add_option("sfsi_serverphpVersionnotification", "yes");
@@ -951,11 +951,13 @@ function curl_enable_notice()
951
  /* add admin menus */
952
  function sfsi_admin_menu()
953
  {
954
- $sfsi_pm = '<div style="font-family:font-family Example text
955
- Arial, Helvetica, sans-serif;"> Ultimate Social Media Icons </div>';
 
 
956
  add_menu_page(
957
  'Ultimate Social Media Icons',
958
- $sfsi_pm,
959
  'administrator',
960
  'sfsi-options',
961
  'sfsi_options_page',
@@ -1155,8 +1157,8 @@ function sfsi_rating_msg()
1155
  <div class="sfwp_fivestar notice notice-success">
1156
  <p>You've been using the Ultimate Social Media Plugin for more than 30 days. Great! If you're happy, could you please do us a BIG favor and let us know ONE thing we can improve in it?</p>
1157
  <ul>
1158
- <li><a href="https://wordpress.org/support/plugin/ultimate-social-media-icons#new-topic-0" target="_new" title="Yes, that's fair, let me give feedback!">Yes, let me give feedback!</a></li>
1159
- <li><a target="_new" href="https://wordpress.org/support/plugin/ultimate-social-media-icons/reviews/?filter=5">No clue, let me give a 5-star rating instead</a></li>
1160
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="I already did">I already did (don't show this again)</a></li>
1161
  </ul>
1162
  <button type="button" class="plg-rating-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
10
  }
11
 
12
  //Install version
13
+ update_option("sfsi_pluginVersion", "2.23");
14
 
15
  if (!get_option('sfsi_serverphpVersionnotification')) {
16
  add_option("sfsi_serverphpVersionnotification", "yes");
951
  /* add admin menus */
952
  function sfsi_admin_menu()
953
  {
954
+ $sfsi_pm = '
955
+ <div style="font-family:font-family Example text
956
+ Arial, Helvetica, sans-serif; "> Ultimate Social Media Icons </div>
957
+ ';
958
  add_menu_page(
959
  'Ultimate Social Media Icons',
960
+ 'Ultimate Social Media Icons',
961
  'administrator',
962
  'sfsi-options',
963
  'sfsi_options_page',
1157
  <div class="sfwp_fivestar notice notice-success">
1158
  <p>You've been using the Ultimate Social Media Plugin for more than 30 days. Great! If you're happy, could you please do us a BIG favor and let us know ONE thing we can improve in it?</p>
1159
  <ul>
1160
+ <li><a href="https://wordpress.org/support/plugin/ultimate-social-media-icons#new-topic-0" target="new" title="Yes, that's fair, let me give feedback!">Yes, let me give feedback!</a></li>
1161
+ <li><a target="new" href="https://wordpress.org/support/plugin/ultimate-social-media-icons/reviews/?filter=5">No clue, let me give a 5-star rating instead</a></li>
1162
  <li><a href="javascript:void(0);" class="sfsiHideRating" title="I already did">I already did (don't show this again)</a></li>
1163
  </ul>
1164
  <button type="button" class="plg-rating-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
libs/sfsi_widget.php CHANGED
@@ -157,17 +157,17 @@ function sfsi_check_visiblity($isFloter=0)
157
  /* check if icons floating is activated in admin */
158
  if($sfsi_section9['sfsi_icons_float']=="yes")
159
  {
160
- $top = "15";
161
- switch($sfsi_section9['sfsi_icons_floatPosition'])
162
- {
163
- case "top-left" : if(is_admin_bar_showing()) : $position.="position:absolute;left:30px;top:35px;"; $top="35"; else : $position.="position:absolute;left:10px;top:2%"; $top="10"; endif;
164
- break;
165
- case "top-right" : if(is_admin_bar_showing()) : $position.="position:absolute;right:30px;top:35px;"; $top="35"; else : $position.="position:absolute;right:10px;top:2%"; $top="10"; endif;
166
- break;
167
- case "center-right" : $position.="position:absolute;right:30px;top:50%"; $top="center";
168
- break;
169
- case "center-left" : $position.="position:absolute;left:30px;top:50%"; $top="center";
170
- break;
171
  case "center-top" :
172
  if(is_admin_bar_showing())
173
  {
@@ -182,10 +182,10 @@ function sfsi_check_visiblity($isFloter=0)
182
  $position .= "left:50%;bottom:0px"; $top="bottom";
183
  break;
184
 
185
- case "bottom-right" : $position.="position:absolute;right:30px;bottom:0px"; $top="bottom";
186
- break;
187
- case "bottom-left" : $position.="position:absolute;left:30px;bottom:0px"; $top="bottom";
188
- break;
189
  }
190
  //$jquery.="jQuery( document ).ready(function( $ ) { sfsi_float_widget('".$top."')});";
191
  if($sfsi_section9['sfsi_icons_floatPosition'] == 'center-right' || $sfsi_section9['sfsi_icons_floatPosition'] == 'center-left')
@@ -252,24 +252,24 @@ function sfsi_check_visiblity($isFloter=0)
252
  $sfsi_section5['sfsi_wechatIcon_order'] = '15';
253
  }
254
  $icons_order = array(
255
- '0' => '',
256
- $sfsi_section5['sfsi_rssIcon_order']=>'rss',
257
- $sfsi_section5['sfsi_emailIcon_order']=>'email',
258
- $sfsi_section5['sfsi_facebookIcon_order']=>'facebook',
259
- $sfsi_section5['sfsi_googleIcon_order']=>'google',
260
- $sfsi_section5['sfsi_twitterIcon_order']=>'twitter',
261
- $sfsi_section5['sfsi_youtubeIcon_order']=>'youtube',
262
- $sfsi_section5['sfsi_pinterestIcon_order']=>'pinterest',
263
- $sfsi_section5['sfsi_linkedinIcon_order']=>'linkedin',
264
- $sfsi_section5['sfsi_instagramIcon_order']=>'instagram',
265
- $sfsi_section5['sfsi_telegramIcon_order']=>'telegram',
266
- $sfsi_section5['sfsi_vkIcon_order']=>'vk',
267
- $sfsi_section5['sfsi_okIcon_order']=>'ok',
268
- $sfsi_section5['sfsi_weiboIcon_order']=>'weibo',
269
- $sfsi_section5['sfsi_wechatIcon_order']=>'wechat',
270
-
271
-
272
- ) ;
273
  if(is_array($custom_icons_order) )
274
  {
275
  foreach($custom_icons_order as $data)
@@ -705,6 +705,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
705
  $like_option = isset($sfsi_section2_options['sfsi_googleLike_option']) && !empty($sfsi_section2_options['sfsi_googleLike_option']) ? $sfsi_section2_options['sfsi_googleLike_option'] : false;
706
 
707
  $share_option = isset($sfsi_section2_options['sfsi_googleShare_option']) && !empty($sfsi_section2_options['sfsi_googleShare_option']) ? $sfsi_section2_options['sfsi_googleShare_option'] : false;
 
708
 
709
  /* check for icons to display */
710
  if( (false != $like_option && $like_option=="yes") || (false != $share_option && $share_option=="yes"))
@@ -1661,6 +1662,11 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
1661
  $new_window = sfsi_checkNewWindow();
1662
  $url = $url;
1663
  }
 
 
 
 
 
1664
  if(!isset($sfsi_new_icons)){
1665
  $sfsi_new_icons =false;
1666
  }
@@ -1671,7 +1677,11 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
1671
  }
1672
  if($sfsi_section4_options['sfsi_display_counts']=="yes")
1673
  {
1674
- $margin_bot = "30px;";
 
 
 
 
1675
  }
1676
  if(isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL))
1677
  {
@@ -1679,8 +1689,8 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
1679
 
1680
  $icons.= "<div class='".$innrselector."'>";
1681
 
1682
- $icons.= "<a class='".$class." sficn' effect='".$mouse_hover_effect."' $new_window href='".$url."' ".(('vk'!==$icon_name)?"id='sfsiid_".$icon_name."'":'')." alt='".$alt_text."' style='opacity:".$icon_opacity."' ".(isset($sfsi_onclick)?'onclick="'.$sfsi_onclick.'"':'')." >";
1683
- $icons.= "<img alt='".$alt_text."' title='".$alt_text."' src='".$icon."' width='".$icons_size."' height='".$icons_size."' style='".$border_radius.$padding_top."' class='sfcm sfsi_wicon ".(in_array($icon_name,array('telegram','wechat'))?('sfsi_'.$icon_name.'_wicon sfsi_click_wicon'):(''))."' effect='".$mouse_hover_effect."' />";
1684
  $icons.= '</a>';
1685
  if(isset($counts) && $counts!='')
1686
  {
157
  /* check if icons floating is activated in admin */
158
  if($sfsi_section9['sfsi_icons_float']=="yes")
159
  {
160
+ $top = "15";
161
+ switch($sfsi_section9['sfsi_icons_floatPosition'])
162
+ {
163
+ case "top-left" : if(is_admin_bar_showing()) : $position.="position:absolute;left:30px;top:35px;"; $top="35"; else : $position.="position:absolute;left:10px;top:2%"; $top="10"; endif;
164
+ break;
165
+ case "top-right" : if(is_admin_bar_showing()) : $position.="position:absolute;right:30px;top:35px;"; $top="35"; else : $position.="position:absolute;right:10px;top:2%"; $top="10"; endif;
166
+ break;
167
+ case "center-right" : $position.="position:absolute;right:30px;top:50%"; $top="center";
168
+ break;
169
+ case "center-left" : $position.="position:absolute;left:30px;top:50%"; $top="center";
170
+ break;
171
  case "center-top" :
172
  if(is_admin_bar_showing())
173
  {
182
  $position .= "left:50%;bottom:0px"; $top="bottom";
183
  break;
184
 
185
+ case "bottom-right" : $position.="position:absolute;right:30px;bottom:0px"; $top="bottom";
186
+ break;
187
+ case "bottom-left" : $position.="position:absolute;left:30px;bottom:0px"; $top="bottom";
188
+ break;
189
  }
190
  //$jquery.="jQuery( document ).ready(function( $ ) { sfsi_float_widget('".$top."')});";
191
  if($sfsi_section9['sfsi_icons_floatPosition'] == 'center-right' || $sfsi_section9['sfsi_icons_floatPosition'] == 'center-left')
252
  $sfsi_section5['sfsi_wechatIcon_order'] = '15';
253
  }
254
  $icons_order = array(
255
+ '0' => '',
256
+ $sfsi_section5['sfsi_rssIcon_order']=>'rss',
257
+ $sfsi_section5['sfsi_emailIcon_order']=>'email',
258
+ $sfsi_section5['sfsi_facebookIcon_order']=>'facebook',
259
+ $sfsi_section5['sfsi_googleIcon_order']=>'google',
260
+ $sfsi_section5['sfsi_twitterIcon_order']=>'twitter',
261
+ $sfsi_section5['sfsi_youtubeIcon_order']=>'youtube',
262
+ $sfsi_section5['sfsi_pinterestIcon_order']=>'pinterest',
263
+ $sfsi_section5['sfsi_linkedinIcon_order']=>'linkedin',
264
+ $sfsi_section5['sfsi_instagramIcon_order']=>'instagram',
265
+ $sfsi_section5['sfsi_telegramIcon_order']=>'telegram',
266
+ $sfsi_section5['sfsi_vkIcon_order']=>'vk',
267
+ $sfsi_section5['sfsi_okIcon_order']=>'ok',
268
+ $sfsi_section5['sfsi_weiboIcon_order']=>'weibo',
269
+ $sfsi_section5['sfsi_wechatIcon_order']=>'wechat',
270
+
271
+
272
+ ) ;
273
  if(is_array($custom_icons_order) )
274
  {
275
  foreach($custom_icons_order as $data)
705
  $like_option = isset($sfsi_section2_options['sfsi_googleLike_option']) && !empty($sfsi_section2_options['sfsi_googleLike_option']) ? $sfsi_section2_options['sfsi_googleLike_option'] : false;
706
 
707
  $share_option = isset($sfsi_section2_options['sfsi_googleShare_option']) && !empty($sfsi_section2_options['sfsi_googleShare_option']) ? $sfsi_section2_options['sfsi_googleShare_option'] : false;
708
+ $share_option = false;
709
 
710
  /* check for icons to display */
711
  if( (false != $like_option && $like_option=="yes") || (false != $share_option && $share_option=="yes"))
1662
  $new_window = sfsi_checkNewWindow();
1663
  $url = $url;
1664
  }
1665
+
1666
+ if(isset($sfsi_onclick)){
1667
+ $new_window ="";
1668
+ }
1669
+
1670
  if(!isset($sfsi_new_icons)){
1671
  $sfsi_new_icons =false;
1672
  }
1677
  }
1678
  if($sfsi_section4_options['sfsi_display_counts']=="yes")
1679
  {
1680
+ if($sfsi_new_icons){
1681
+ $margin_bot = "29px;";
1682
+ }else{
1683
+ $margin_bot = "30px;";
1684
+ }
1685
  }
1686
  if(isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL))
1687
  {
1689
 
1690
  $icons.= "<div class='".$innrselector."'>";
1691
 
1692
+ $icons.= "<a class='".$class." sficn' data-effect='".$mouse_hover_effect."' $new_window href='".$url."' ".(('vk'!==$icon_name)?"id='sfsiid_".$icon_name."'":'')." style='opacity:".$icon_opacity."' ".(isset($sfsi_onclick)?'onclick="'.$sfsi_onclick.'"':'')." >";
1693
+ $icons.= "<img alt='".$alt_text."' title='".$alt_text."' src='".$icon."' width='".$icons_size."' height='".$icons_size."' style='".$border_radius.$padding_top."' class='sfcm sfsi_wicon ".(in_array($icon_name,array('telegram','wechat'))?('sfsi_'.$icon_name.'_wicon sfsi_click_wicon'):(''))."' data-effect='".$mouse_hover_effect."' />";
1694
  $icons.= '</a>';
1695
  if(isset($counts) && $counts!='')
1696
  {
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Social Media Share Buttons & Social Sharing Icons ===
2
- Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
- Tested up to: 5.1
6
- Stable tag: 2.2.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -274,18 +274,22 @@ You cannot use the same plugin twice, however you can install both the USM as we
274
 
275
 
276
  == Changelog ==
 
 
 
 
 
277
  = 2.2.2 =
278
- * Solved: More icons updated
279
  * Solved: Icon backgrounds updated
280
- * Solved: Custom icon upload issue
281
 
282
  = 2.2.1 =
283
- * Solved: Woocomerce conflict resolved
284
- * Solved: Alerts in case of conflict
285
- * New Feature: More icons for free plugin
286
 
287
  = 2.2.0 =
288
- * Solved: Critical Security Patch.
289
 
290
  = 2.1.9 =
291
  * Solved: Security Patch.
@@ -784,5 +788,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
784
 
785
  == Upgrade Notice ==
786
 
787
- = 2.2.2 =
788
  Please upgrade
1
+ === Social Media Share Buttons & Social Sharing Icons ===
2
+ Contributors: socialdude, socialtech
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
+ Tested up to: 5.2
6
+ Stable tag: 2.2.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
274
 
275
 
276
  == Changelog ==
277
+ = 2.2.3 =
278
+ * Solved: Footer Error solved.
279
+ * Solved: Removed most of the html errors.
280
+ * Solved: Less anoying sidebar.
281
+
282
  = 2.2.2 =
283
+ * Solved: More icons upadated
284
  * Solved: Icon backgrounds updated
 
285
 
286
  = 2.2.1 =
287
+ * Solved: woocomerce conflict resolved
288
+ * Solved: alert in case on conflict.
289
+ * new Feature: More icons for free plugin
290
 
291
  = 2.2.0 =
292
+ * Solved: Critical Security Patch.
293
 
294
  = 2.1.9 =
295
  * Solved: Security Patch.
788
 
789
  == Upgrade Notice ==
790
 
791
+ = 2.2.3 =
792
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 2.2.2
9
  License: GPLv2 or later
10
  */
11
 
@@ -65,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.22)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
@@ -505,7 +505,8 @@ function sfsi_admin_notice()
505
  /**
506
  * Premium Notification
507
  */
508
- $domain = sfsi_getdomain(site_url());
 
509
  $siteMatch = false;
510
 
511
  if(!empty($domain))
@@ -947,16 +948,6 @@ function sfsi_get_bloginfo($url)
947
  }
948
  return $web_url;
949
  }
950
-
951
- function sfsi_getdomain($url)
952
- {
953
- $pieces = parse_url($url);
954
- $domain = isset($pieces['host']) ? $pieces['host'] : '';
955
- if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)) {
956
- return $regs['domain'];
957
- }
958
- return false;
959
- }
960
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), "sfsi_actionLinks", -10 );
961
  function sfsi_actionLinks($links)
962
  {
@@ -1076,7 +1067,7 @@ function sfsi_curl_error_notification()
1076
  We noticed that your site returns a cURL error («Error:
1077
  <?php echo ucfirst(get_option("sfsi_curlErrorMessage")); ?>
1078
  »). This means that it cannot send a notification to SpecificFeeds.com when a new post is published. Therefore this email-feature doesn’t work. However there are several solutions for this, please visit our FAQ to see the solutions («Perceived bugs» => «cURL error messages»):
1079
- <a href="https://www.ultimatelysocial.com/faq/" target="_new">
1080
  www.ultimatelysocial.com/faq
1081
  </a>
1082
  <div class="sfsi_curlerror_cross">Dismiss</div>
@@ -1338,7 +1329,7 @@ function sfsi_ask_for_help($viewNumber){ ?>
1338
 
1339
  <div class="sfsi_askforhelp askhelpInview<?php echo $viewNumber; ?>">
1340
 
1341
- <img src="<?php echo SFSI_PLUGURL."images/questionmark.png";?>"/>
1342
 
1343
  <span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_open_chat(event)"><b>Ask us</b></a></span>
1344
 
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 2.2.3
9
  License: GPLv2 or later
10
  */
11
 
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.23)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
505
  /**
506
  * Premium Notification
507
  */
508
+ $sfsi_themecheck = new sfsi_ThemeCheck();
509
+ $domain = $sfsi_themecheck->sfsi_plus_getdomain(site_url());
510
  $siteMatch = false;
511
 
512
  if(!empty($domain))
948
  }
949
  return $web_url;
950
  }
 
 
 
 
 
 
 
 
 
 
951
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), "sfsi_actionLinks", -10 );
952
  function sfsi_actionLinks($links)
953
  {
1067
  We noticed that your site returns a cURL error («Error:
1068
  <?php echo ucfirst(get_option("sfsi_curlErrorMessage")); ?>
1069
  »). This means that it cannot send a notification to SpecificFeeds.com when a new post is published. Therefore this email-feature doesn’t work. However there are several solutions for this, please visit our FAQ to see the solutions («Perceived bugs» => «cURL error messages»):
1070
+ <a href="https://www.ultimatelysocial.com/faq/" target="new">
1071
  www.ultimatelysocial.com/faq
1072
  </a>
1073
  <div class="sfsi_curlerror_cross">Dismiss</div>
1329
 
1330
  <div class="sfsi_askforhelp askhelpInview<?php echo $viewNumber; ?>">
1331
 
1332
+ <img src="<?php echo SFSI_PLUGURL."images/questionmark.png";?>" alt="error"/>
1333
 
1334
  <span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_open_chat(event)"><b>Ask us</b></a></span>
1335
 
views/deactivation/sfsi_deactivation_popup.php CHANGED
@@ -10,7 +10,7 @@
10
  <div class="sfsi-popup-header sfsi-top-header">
11
  <h2>Oh! You don\'t like our plugin?</h2>
12
  <div class="sfsi-sad-image">
13
- <img src="<?php echo SFSI_PLUGURL; ?>images/sad_image.png">
14
  </div>
15
  </div>
16
 
@@ -56,7 +56,7 @@
56
  <div class="sfsi-popup-content">
57
  <div class="sfsi-text">
58
  <p class="sfsi-please">PLEASE</p>
59
- <p class="sfsi-please-other-text">let us know in the Support Forum what didn't work, <br>so that we can fix it. We‘ll respond quickly! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png"></p>
60
  </div>
61
  <div class="sfsi-go-to-support">
62
  <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum">Go to Support Forum ></a>
@@ -77,7 +77,7 @@
77
  <div class="sfsi-reason-section hide">
78
  <div class="sfsi-popup-content">
79
  <div class="sfsi-text">
80
- <p class="sfsi-please-other-text">Thumbs up to that one! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png"></p>
81
  </div>
82
  <div class="sfsi-go-to-support">
83
  <a href="javascript:void(0)" class="sfsi-deactive-plugin go-to-support-forum">De-activate plugin now</a>
10
  <div class="sfsi-popup-header sfsi-top-header">
11
  <h2>Oh! You don\'t like our plugin?</h2>
12
  <div class="sfsi-sad-image">
13
+ <img src="<?php echo SFSI_PLUGURL; ?>images/sad_image.png" alt="error">
14
  </div>
15
  </div>
16
 
56
  <div class="sfsi-popup-content">
57
  <div class="sfsi-text">
58
  <p class="sfsi-please">PLEASE</p>
59
+ <p class="sfsi-please-other-text">let us know in the Support Forum what didn't work, <br>so that we can fix it. We‘ll respond quickly! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png" alt="error"></p>
60
  </div>
61
  <div class="sfsi-go-to-support">
62
  <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum">Go to Support Forum ></a>
77
  <div class="sfsi-reason-section hide">
78
  <div class="sfsi-popup-content">
79
  <div class="sfsi-text">
80
+ <p class="sfsi-please-other-text">Thumbs up to that one! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png" alt="error"></p>
81
  </div>
82
  <div class="sfsi-go-to-support">
83
  <a href="javascript:void(0)" class="sfsi-deactive-plugin go-to-support-forum">De-activate plugin now</a>
views/sfsi_chat_on_admin_pannel.php CHANGED
@@ -10,7 +10,7 @@ $email = $current_user->user_email;
10
  <!-- <a target="_blank" href="https://goo.gl/MU6pTN#no-topic-0" >we'll still respond quickly</a> -->
11
  </p>
12
  <ul class="tab-changer">
13
- <li class="tab-link active"><p style="text-align:center"><a href="#sfsi_technical"></a>Technical question<br><span>(for the free plugin)</span></span></p></li>
14
  <li class="tab-link"><p style="text-align:center"><a href="#sfsi_sales"></a>Pre-sales question<br><span>(for the Premium plugin)</span></p></li>
15
  </ul>
16
  <div class="clear"></div>
@@ -19,11 +19,11 @@ $email = $current_user->user_email;
19
  <h5>Please ask your question in the...</h5>
20
  <div class="support-forum-green-div">
21
  <!-- <span style="width: 25%"> </span> -->
22
- <a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" class="support-forum-green-bg" stype='width: 25%'>
23
  <img src="<?php echo SFSI_PLUGURL ?>images/support.png">
24
  <p class="support-forum">Support Forum</p>
25
  </a>
26
- <span class="sfsi-button-right-side" stype='width: 25%'><span class="sfsi-button-right-side-icon"></span>Click here</span>
27
  </div>
28
  <!-- <p class="sfsi-button-right-side" ><span class="sfsi-button-right-side-icon"></span>Click here</p> -->
29
  <h5>We‘ll respond <span style="text-decoration: underline;"><b>quickly!</b></span></h5>
10
  <!-- <a target="_blank" href="https://goo.gl/MU6pTN#no-topic-0" >we'll still respond quickly</a> -->
11
  </p>
12
  <ul class="tab-changer">
13
+ <li class="tab-link active"><p style="text-align:center"><a href="#sfsi_technical"></a>Technical question<br><span>(for the free plugin)</span></p></li>
14
  <li class="tab-link"><p style="text-align:center"><a href="#sfsi_sales"></a>Pre-sales question<br><span>(for the Premium plugin)</span></p></li>
15
  </ul>
16
  <div class="clear"></div>
19
  <h5>Please ask your question in the...</h5>
20
  <div class="support-forum-green-div">
21
  <!-- <span style="width: 25%"> </span> -->
22
+ <a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" class="support-forum-green-bg" >
23
  <img src="<?php echo SFSI_PLUGURL ?>images/support.png">
24
  <p class="support-forum">Support Forum</p>
25
  </a>
26
+ <span class="sfsi-button-right-side" ><span class="sfsi-button-right-side-icon"></span>Click here</span>
27
  </div>
28
  <!-- <p class="sfsi-button-right-side" ><span class="sfsi-button-right-side-icon"></span>Click here</p> -->
29
  <h5>We‘ll respond <span style="text-decoration: underline;"><b>quickly!</b></span></h5>
views/sfsi_option_view1.php CHANGED
@@ -65,7 +65,7 @@
65
  <span class="sfsicls_rs_s">RSS</span>
66
  <div class="right_info">
67
  <p><span>Strongly recommended:</span> RSS is still popular, esp. among the tech-savvy crowd.
68
- <label class="expanded-area" >RSS stands for Really Simply Syndication and is an easy way for people to read your content. You can learn more about it <a href="http://en.wikipedia.org/wiki/RSS" target="_new" title="Syndication">here</a>. </label></p>
69
  <a href="javascript:;" class="expand-area" >Read more</a>
70
  </div>
71
  </li>
@@ -84,7 +84,7 @@
84
  <a style="font-size:13px;margin-left:30px;color:#777777;" href="javascript:;" class="sfsi_removeFooter" data-nonce="<?php echo $nonce;?>">Remove credit link</a>
85
  <?php } ?>
86
  </span>
87
- <label class="expanded-area" >Everybody uses email – that’s why it’s <a href="http://www.entrepreneur.com/article/230949" target="_new">much more effective than social media </a> to make people follow you. Not offering an email subscription option means losing out on future traffic to your site.</label>
88
  </p>
89
  <a href="javascript:;" class="expand-area" >Read more</a>
90
  </div>
@@ -246,7 +246,7 @@
246
  </div>
247
  <input type="hidden" name="nonce" value="<?php echo wp_create_nonce('deleteIcons'); ?>">
248
  <span class="custom-img">
249
- <img class="sfcm" src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $i; ?>"/>
250
  </span>
251
  <span class="custom custom-txt">Custom <?php echo $count;?> </span>
252
  <div class="right_info">
@@ -262,7 +262,7 @@
262
  <input name="sfsiICON_<?php echo$new_element;?>" type="checkbox" value="yes" class="styled" element-type="cusotm-icon" ele-type='new'/>
263
  </div>
264
  <span class="custom-img">
265
- <img src="<?php echo SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $new_element; ?>" />
266
  </span>
267
  <span class="custom custom-txt">Custom<?php echo $count; ?> </span>
268
  <div class="right_info">
@@ -280,35 +280,35 @@
280
  <div class="sfsi_premium_row">
281
  <div class = "sfsi_prem_cmn_rowlisting">
282
  <span>
283
- <img src="<?php echo SFSI_PLUGURL.'images/snapchat.png';?>" id="CImg" />
284
  </span>
285
  <span class="sfsicls_prem_text">Snapchat</span>
286
  </div>
287
 
288
  <div class = "sfsi_prem_cmn_rowlisting">
289
  <span>
290
- <img src="<?php echo SFSI_PLUGURL.'images/whatsapp.png';?>" id="CImg" />
291
  </span>
292
  <span class="sfsicls_prem_text">WhatsApp or Phone</span>
293
  </div>
294
 
295
  <div class = "sfsi_prem_cmn_rowlisting" >
296
  <span>
297
- <img src="<?php echo SFSI_PLUGURL.'images/yummly.png';?>" id="CImg" />
298
  </span>
299
  <span class="sfsicls_prem_text">Yummly</span>
300
  </div>
301
 
302
  <div class = "sfsi_prem_cmn_rowlisting" >
303
  <span>
304
- <img src="<?php echo SFSI_PLUGURL.'images/yelp.png';?>" id="CImg" />
305
  </span>
306
  <span class="sfsicls_prem_text">Yelp</span>
307
  </div>
308
 
309
  <div class = "sfsi_prem_cmn_rowlisting" >
310
  <span>
311
- <img src="<?php echo SFSI_PLUGURL.'images/print.png';?>" id="CImg" />
312
  </span>
313
  <span class="sfsicls_prem_text">Print</span>
314
  </div>
@@ -323,41 +323,41 @@
323
  <div class="sfsi_premium_row">
324
  <div class = "sfsi_prem_cmn_rowlisting" >
325
  <span>
326
- <img src="<?php echo SFSI_PLUGURL.'images/soundcloud.png';?>" id="CImg" />
327
  </span>
328
  <span class="sfsicls_prem_text">Soundcloud</span>
329
  </div>
330
 
331
  <div class = "sfsi_prem_cmn_rowlisting" >
332
  <span>
333
- <img src="<?php echo SFSI_PLUGURL.'images/skype.png';?>" id="CImg" />
334
  </span>
335
  <span class="sfsicls_prem_text">Skype</span>
336
  </div>
337
 
338
  <div class = "sfsi_prem_cmn_rowlisting" >
339
  <span>
340
- <img src="<?php echo SFSI_PLUGURL.'images/flickr.png';?>" id="CImg" />
341
  </span>
342
  <span class="sfsicls_prem_text">Flickr</span>
343
  </div>
344
 
345
  <div class = "sfsi_prem_cmn_rowlisting" >
346
  <span>
347
- <img src="<?php echo SFSI_PLUGURL.'images/buffer.png';?>" id="CImg" />
348
  </span>
349
  <span class="sfsicls_prem_text">Buffer</span>
350
  </div>
351
 
352
  <div class = "sfsi_prem_cmn_rowlisting" >
353
  <span>
354
- <img src="<?php echo SFSI_PLUGURL.'images/blogger.png';?>" id="CImg" />
355
  </span>
356
  <span class="sfsicls_prem_text">Blogger</span>
357
  </div>
358
  <div class = "sfsi_prem_cmn_rowlisting" >
359
  <span>
360
- <img src="<?php echo SFSI_PLUGURL.'images/reddit.png';?>" id="CImg" />
361
  </span>
362
  <span class="sfsicls_prem_text">Reddit</span>
363
  </div>
@@ -368,28 +368,28 @@
368
 
369
  <div class = "sfsi_prem_cmn_rowlisting" >
370
  <span>
371
- <img src="<?php echo SFSI_PLUGURL.'images/vimeo.png';?>" id="CImg" />
372
  </span>
373
  <span class="sfsicls_prem_text">Vimeo</span>
374
  </div>
375
 
376
  <div class = "sfsi_prem_cmn_rowlisting" >
377
  <span>
378
- <img src="<?php echo SFSI_PLUGURL.'images/tumblr.png';?>" id="CImg" />
379
  </span>
380
  <span class="sfsicls_prem_text">Tumblr</span>
381
  </div>
382
 
383
  <div class = "sfsi_prem_cmn_rowlisting" >
384
  <span>
385
- <img src="<?php echo SFSI_PLUGURL.'images/houzz.png';?>" id="CImg" />
386
  </span>
387
  <span class="sfsicls_prem_text">Houzz</span>
388
  </div>
389
 
390
  <div class = "sfsi_prem_cmn_rowlisting" >
391
  <span>
392
- <img src="<?php echo SFSI_PLUGURL.'images/xing.png';?>" id="CImg" />
393
  </span>
394
  <span class="sfsicls_prem_text">Xing</span>
395
  </div>
@@ -399,32 +399,32 @@
399
  </span>
400
  <span class="sfsicls_prem_text">Twitch</span>
401
  </div>
402
- </div>
403
-
404
- <div class="sfsi_premium_row" style="clear:none">
405
-
406
- <div class = "sfsi_prem_cmn_rowlisting" >
407
  <span>
408
- <img src="<?php echo SFSI_PLUGURL.'images/amazon.png';?>" id="CImg" />
409
  </span>
410
  <span class="sfsicls_prem_text">Amazon</span>
411
  </div>
 
 
 
 
 
412
 
413
  <div class = "sfsi_prem_cmn_rowlisting" >
414
  <span>
415
- <img src="<?php echo SFSI_PLUGURL.'images/angieslist.png';?>" id="CImg" />
416
  </span>
417
  <span class="sfsicls_prem_text">Angie’s List</span>
418
  </div>
419
 
420
  <div class = "sfsi_prem_cmn_rowlisting" >
421
  <span>
422
- <img src="<?php echo SFSI_PLUGURL.'images/steam.png';?>" id="CImg" />
423
  </span>
424
  <span class="sfsicls_prem_text">Steam</span>
425
  </div>
426
  </div>
427
-
428
  <!--<div class="sfsi_need_another_one_link">
429
  <p>Need another one?<a href="mailto:biz@ultimatelysocial.com"> Tell us</a></p>
430
  </div>-->
@@ -442,7 +442,7 @@
442
 
443
  <!-- SAVE BUTTON SECTION -->
444
  <div class="save_button tab_1_sav">
445
- <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
446
  <?php $nonce = wp_create_nonce("update_step1"); ?>
447
  <a href="javascript:;" id="sfsi_save1" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
448
  </div><!-- END SAVE BUTTON SECTION -->
65
  <span class="sfsicls_rs_s">RSS</span>
66
  <div class="right_info">
67
  <p><span>Strongly recommended:</span> RSS is still popular, esp. among the tech-savvy crowd.
68
+ <label class="expanded-area" >RSS stands for Really Simply Syndication and is an easy way for people to read your content. You can learn more about it <a href="http://en.wikipedia.org/wiki/RSS" target="new" title="Syndication">here</a>. </label></p>
69
  <a href="javascript:;" class="expand-area" >Read more</a>
70
  </div>
71
  </li>
84
  <a style="font-size:13px;margin-left:30px;color:#777777;" href="javascript:;" class="sfsi_removeFooter" data-nonce="<?php echo $nonce;?>">Remove credit link</a>
85
  <?php } ?>
86
  </span>
87
+ <label class="expanded-area" >Everybody uses email – that’s why it’s <a href="http://www.entrepreneur.com/article/230949" target="new">much more effective than social media </a> to make people follow you. Not offering an email subscription option means losing out on future traffic to your site.</label>
88
  </p>
89
  <a href="javascript:;" class="expand-area" >Read more</a>
90
  </div>
246
  </div>
247
  <input type="hidden" name="nonce" value="<?php echo wp_create_nonce('deleteIcons'); ?>">
248
  <span class="custom-img">
249
+ <img class="sfcm" src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $i; ?>" alt="error"/>
250
  </span>
251
  <span class="custom custom-txt">Custom <?php echo $count;?> </span>
252
  <div class="right_info">
262
  <input name="sfsiICON_<?php echo$new_element;?>" type="checkbox" value="yes" class="styled" element-type="cusotm-icon" ele-type='new'/>
263
  </div>
264
  <span class="custom-img">
265
+ <img src="<?php echo SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $new_element; ?> " alt="error" />
266
  </span>
267
  <span class="custom custom-txt">Custom<?php echo $count; ?> </span>
268
  <div class="right_info">
280
  <div class="sfsi_premium_row">
281
  <div class = "sfsi_prem_cmn_rowlisting">
282
  <span>
283
+ <img src="<?php echo SFSI_PLUGURL.'images/snapchat.png';?>" id="CImg" alt="error" />
284
  </span>
285
  <span class="sfsicls_prem_text">Snapchat</span>
286
  </div>
287
 
288
  <div class = "sfsi_prem_cmn_rowlisting">
289
  <span>
290
+ <img src="<?php echo SFSI_PLUGURL.'images/whatsapp.png';?>" id="CImg" alt="error" />
291
  </span>
292
  <span class="sfsicls_prem_text">WhatsApp or Phone</span>
293
  </div>
294
 
295
  <div class = "sfsi_prem_cmn_rowlisting" >
296
  <span>
297
+ <img src="<?php echo SFSI_PLUGURL.'images/yummly.png';?>" id="CImg" alt="error" />
298
  </span>
299
  <span class="sfsicls_prem_text">Yummly</span>
300
  </div>
301
 
302
  <div class = "sfsi_prem_cmn_rowlisting" >
303
  <span>
304
+ <img src="<?php echo SFSI_PLUGURL.'images/yelp.png';?>" id="CImg" alt="error" />
305
  </span>
306
  <span class="sfsicls_prem_text">Yelp</span>
307
  </div>
308
 
309
  <div class = "sfsi_prem_cmn_rowlisting" >
310
  <span>
311
+ <img src="<?php echo SFSI_PLUGURL.'images/print.png';?>" id="CImg" alt="error" />
312
  </span>
313
  <span class="sfsicls_prem_text">Print</span>
314
  </div>
323
  <div class="sfsi_premium_row">
324
  <div class = "sfsi_prem_cmn_rowlisting" >
325
  <span>
326
+ <img src="<?php echo SFSI_PLUGURL.'images/soundcloud.png';?>" id="CImg" alt="error" />
327
  </span>
328
  <span class="sfsicls_prem_text">Soundcloud</span>
329
  </div>
330
 
331
  <div class = "sfsi_prem_cmn_rowlisting" >
332
  <span>
333
+ <img src="<?php echo SFSI_PLUGURL.'images/skype.png';?>" id="CImg" alt="error" />
334
  </span>
335
  <span class="sfsicls_prem_text">Skype</span>
336
  </div>
337
 
338
  <div class = "sfsi_prem_cmn_rowlisting" >
339
  <span>
340
+ <img src="<?php echo SFSI_PLUGURL.'images/flickr.png';?>" id="CImg" alt="error"/>
341
  </span>
342
  <span class="sfsicls_prem_text">Flickr</span>
343
  </div>
344
 
345
  <div class = "sfsi_prem_cmn_rowlisting" >
346
  <span>
347
+ <img src="<?php echo SFSI_PLUGURL.'images/buffer.png';?>" id="CImg" alt="error" />
348
  </span>
349
  <span class="sfsicls_prem_text">Buffer</span>
350
  </div>
351
 
352
  <div class = "sfsi_prem_cmn_rowlisting" >
353
  <span>
354
+ <img src="<?php echo SFSI_PLUGURL.'images/blogger.png';?>" id="CImg" alt="error"/>
355
  </span>
356
  <span class="sfsicls_prem_text">Blogger</span>
357
  </div>
358
  <div class = "sfsi_prem_cmn_rowlisting" >
359
  <span>
360
+ <img src="<?php echo SFSI_PLUGURL.'images/reddit.png';?>" id="CImg" alt="error"/>
361
  </span>
362
  <span class="sfsicls_prem_text">Reddit</span>
363
  </div>
368
 
369
  <div class = "sfsi_prem_cmn_rowlisting" >
370
  <span>
371
+ <img src="<?php echo SFSI_PLUGURL.'images/vimeo.png';?>" id="CImg" alt="error" />
372
  </span>
373
  <span class="sfsicls_prem_text">Vimeo</span>
374
  </div>
375
 
376
  <div class = "sfsi_prem_cmn_rowlisting" >
377
  <span>
378
+ <img src="<?php echo SFSI_PLUGURL.'images/tumblr.png';?>" id="CImg" alt="error"/>
379
  </span>
380
  <span class="sfsicls_prem_text">Tumblr</span>
381
  </div>
382
 
383
  <div class = "sfsi_prem_cmn_rowlisting" >
384
  <span>
385
+ <img src="<?php echo SFSI_PLUGURL.'images/houzz.png';?>" id="CImg" alt="error"/>
386
  </span>
387
  <span class="sfsicls_prem_text">Houzz</span>
388
  </div>
389
 
390
  <div class = "sfsi_prem_cmn_rowlisting" >
391
  <span>
392
+ <img src="<?php echo SFSI_PLUGURL.'images/xing.png';?>" id="CImg" alt="error"/>
393
  </span>
394
  <span class="sfsicls_prem_text">Xing</span>
395
  </div>
399
  </span>
400
  <span class="sfsicls_prem_text">Twitch</span>
401
  </div>
402
+ <div class = "sfsi_prem_cmn_rowlisting" >
 
 
 
 
403
  <span>
404
+ <img src="<?php echo SFSI_PLUGURL.'images/amazon.png';?>" id="CImg" alt="error"/>
405
  </span>
406
  <span class="sfsicls_prem_text">Amazon</span>
407
  </div>
408
+ </div>
409
+
410
+ <div class="sfsi_premium_row" >
411
+
412
+
413
 
414
  <div class = "sfsi_prem_cmn_rowlisting" >
415
  <span>
416
+ <img src="<?php echo SFSI_PLUGURL.'images/angieslist.png';?>" id="CImg" alt="error"/>
417
  </span>
418
  <span class="sfsicls_prem_text">Angie’s List</span>
419
  </div>
420
 
421
  <div class = "sfsi_prem_cmn_rowlisting" >
422
  <span>
423
+ <img src="<?php echo SFSI_PLUGURL.'images/steam.png';?>" id="CImg" alt="error"/>
424
  </span>
425
  <span class="sfsicls_prem_text">Steam</span>
426
  </div>
427
  </div>
 
428
  <!--<div class="sfsi_need_another_one_link">
429
  <p>Need another one?<a href="mailto:biz@ultimatelysocial.com"> Tell us</a></p>
430
  </div>-->
442
 
443
  <!-- SAVE BUTTON SECTION -->
444
  <div class="save_button tab_1_sav">
445
+ <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" alt="error"/>
446
  <?php $nonce = wp_create_nonce("update_step1"); ?>
447
  <a href="javascript:;" id="sfsi_save1" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
448
  </div><!-- END SAVE BUTTON SECTION -->
views/sfsi_option_view2.php CHANGED
@@ -188,7 +188,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
188
 
189
  <div class="inr_cont">
190
  <p>
191
- Allows your visitors to subscribe to your site (on <a href="http://www.specificfeeds.com/widgets/emailSubscribeEncFeed/<?php echo $feedId; ?>/<?php echo base64_encode(8); ?>" target="_new">this screen</a>) and receive new posts automatically by email.
192
  </p>
193
  <p>Please pick which icon type you want to use:</p>
194
  <ul class="tab_2_email_sec">
@@ -244,7 +244,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
244
  <p class='sfsi_email_last_paragraph'>
245
  This will create your FREE account on SpecificFeeds, using above email. <br>
246
  All data will be treated highly confidentially, see the
247
- <a href="https://www.specificfeeds.com/page/privacy-policy" target="_new">
248
  Privacy Policy.
249
  </a>
250
  </p>
@@ -286,8 +286,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
286
  <p class="radio_section fb_url"><input name="sfsi_twitter_page" <?php echo ($option2['sfsi_twitter_page']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Visit me on Twitter:</label><input name="sfsi_twitter_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_twitter_pageURL']!='') ? $option2['sfsi_twitter_pageURL'] : '' ;?>" class="add" /></p>
287
 
288
  <div class="radio_section fb_url twt_fld"><input name="sfsi_twitter_followme" <?php echo ($option2['sfsi_twitter_followme']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Follow me on Twitter:</label><input name="sfsi_twitter_followUserName" type="text" value="<?php echo ($option2['sfsi_twitter_followUserName']!='') ? $option2['sfsi_twitter_followUserName'] : '' ;?>" placeholder="my_twitter_name" class="add" /></div>
289
-
290
- <div class="radio_section fb_url twt_fld_2"><input name="sfsi_twitter_aboutPage" <?php echo ($option2['sfsi_twitter_aboutPage']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Tweet about my page:</label><textarea name="sfsi_twitter_aboutPageText" id="sfsi_twitter_aboutPageText" type="text" class="add_txt" placeholder="Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name" ></textarea><?php echo ($option2['sfsi_twitter_aboutPageText']!='') ? stripslashes($option2['sfsi_twitter_aboutPageText']) : 'Hey check out this cool site I found' ;?></div>
291
  <div class= "sfsi_new_prmium_follw">
292
  <p><b>New: </b>Tweeting becomes really fun in the Premium Plugin – you can insert tags to automatically pull the title of the story & link to the story, attach pictures & snippets to the Tweets (‘Twitter cards’) and user Url-shorteners, all leading to more Tweets and traffic for your site!. <a style="cursor:pointer" class="pop-up" data-id="sfsi_quickpay-overlay" onclick="sfsi_open_quick_checkout(event)" class="sfisi_font_bold" target="_blank">Go prermium now</a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=better_tweets&utm_medium=banner" class="sfsi_font_inherit" target="_blank"> or learn more.</a></p>
293
  </div>
@@ -500,7 +499,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
500
  <div class="row sfsiICON_<?php echo $i; ?> cm_lnk">
501
  <h2 class="custom">
502
  <span class="customstep2-img">
503
- <img src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $new_element; ?>" style="border-radius:48%" />
504
  </span>
505
  <span class="sfsiCtxt">Custom <?php echo $count; ?></span>
506
  </h2>
@@ -525,7 +524,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
525
 
526
  <!-- SAVE BUTTON SECTION -->
527
  <div class="save_button tab_2_sav">
528
- <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
529
  <?php $nonce = wp_create_nonce("update_step2"); ?>
530
  <a href="javascript:;" id="sfsi_save2" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
531
  </div>
188
 
189
  <div class="inr_cont">
190
  <p>
191
+ Allows your visitors to subscribe to your site (on <a href="http://www.specificfeeds.com/widgets/emailSubscribeEncFeed/<?php echo $feedId; ?>/<?php echo base64_encode(8); ?>" target="new">this screen</a>) and receive new posts automatically by email.
192
  </p>
193
  <p>Please pick which icon type you want to use:</p>
194
  <ul class="tab_2_email_sec">
244
  <p class='sfsi_email_last_paragraph'>
245
  This will create your FREE account on SpecificFeeds, using above email. <br>
246
  All data will be treated highly confidentially, see the
247
+ <a href="https://www.specificfeeds.com/page/privacy-policy" target="new">
248
  Privacy Policy.
249
  </a>
250
  </p>
286
  <p class="radio_section fb_url"><input name="sfsi_twitter_page" <?php echo ($option2['sfsi_twitter_page']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Visit me on Twitter:</label><input name="sfsi_twitter_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_twitter_pageURL']!='') ? $option2['sfsi_twitter_pageURL'] : '' ;?>" class="add" /></p>
287
 
288
  <div class="radio_section fb_url twt_fld"><input name="sfsi_twitter_followme" <?php echo ($option2['sfsi_twitter_followme']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Follow me on Twitter:</label><input name="sfsi_twitter_followUserName" type="text" value="<?php echo ($option2['sfsi_twitter_followUserName']!='') ? $option2['sfsi_twitter_followUserName'] : '' ;?>" placeholder="my_twitter_name" class="add" /></div>
289
+ <div class="radio_section fb_url twt_fld_2"><input name="sfsi_twitter_aboutPage" <?php echo ($option2['sfsi_twitter_aboutPage']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Tweet about my page:</label><textarea name="sfsi_twitter_aboutPageText" id="sfsi_twitter_aboutPageText" class="add_txt" placeholder="Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name" ></textarea><?php echo ($option2['sfsi_twitter_aboutPageText']!='') ? stripslashes($option2['sfsi_twitter_aboutPageText']) : 'Hey check out this cool site I found' ;?></div>
 
290
  <div class= "sfsi_new_prmium_follw">
291
  <p><b>New: </b>Tweeting becomes really fun in the Premium Plugin – you can insert tags to automatically pull the title of the story & link to the story, attach pictures & snippets to the Tweets (‘Twitter cards’) and user Url-shorteners, all leading to more Tweets and traffic for your site!. <a style="cursor:pointer" class="pop-up" data-id="sfsi_quickpay-overlay" onclick="sfsi_open_quick_checkout(event)" class="sfisi_font_bold" target="_blank">Go prermium now</a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=better_tweets&utm_medium=banner" class="sfsi_font_inherit" target="_blank"> or learn more.</a></p>
292
  </div>
499
  <div class="row sfsiICON_<?php echo $i; ?> cm_lnk">
500
  <h2 class="custom">
501
  <span class="customstep2-img">
502
+ <img src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $new_element; ?>" style="border-radius:48%" alt="error" />
503
  </span>
504
  <span class="sfsiCtxt">Custom <?php echo $count; ?></span>
505
  </h2>
524
 
525
  <!-- SAVE BUTTON SECTION -->
526
  <div class="save_button tab_2_sav">
527
+ <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" alt="error" />
528
  <?php $nonce = wp_create_nonce("update_step2"); ?>
529
  <a href="javascript:;" id="sfsi_save2" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
530
  </div>
views/sfsi_option_view3.php CHANGED
@@ -244,7 +244,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
244
 
245
  <!-- SAVE BUTTON SECTION -->
246
  <div class="save_button tab_3_sav">
247
- <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
248
  <?php $nonce = wp_create_nonce("update_step3"); ?>
249
  <a href="javascript:;" id="sfsi_save3" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
250
  </div>
244
 
245
  <!-- SAVE BUTTON SECTION -->
246
  <div class="save_button tab_3_sav">
247
+ <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" alt="error" />
248
  <?php $nonce = wp_create_nonce("update_step3"); ?>
249
  <a href="javascript:;" id="sfsi_save3" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
250
  </div>
views/sfsi_option_view8.php CHANGED
@@ -413,7 +413,7 @@ $option8['sfsi_form_button_background'] = (isset($option8['sfsi_form_button_back
413
 
414
  <!-- SAVE BUTTON SECTION -->
415
  <div class="save_button">
416
- <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
417
  <?php $nonce = wp_create_nonce("update_step8"); ?>
418
  <a href="javascript:;" id="sfsi_save8" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
419
  </div>
413
 
414
  <!-- SAVE BUTTON SECTION -->
415
  <div class="save_button">
416
+ <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" alt="error" />
417
  <?php $nonce = wp_create_nonce("update_step8"); ?>
418
  <a href="javascript:;" id="sfsi_save8" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
419
  </div>
views/sfsi_options_view.php CHANGED
@@ -109,7 +109,7 @@
109
  <div class="supportforum">
110
  <div class="support-container">
111
  <div class="have-questions">
112
- <img src="<?php echo SFSI_PLUGURL ?>images/question.png">
113
  <p class="have-quest">Have questions?</p>
114
  <!-- <p class="ask-question">Ask them in the...</p> -->
115
  </div>
@@ -187,7 +187,7 @@
187
 
188
  <div class="tab10">
189
  <div class="save_button">
190
- <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
191
  <a href="javascript:;" id="save_all_settings" title="Save All Settings">Save All Settings</a>
192
  </div>
193
  <p class="red_txt errorMsg" style="display:none"> </p>
@@ -207,7 +207,7 @@
207
  <input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
208
  <input type="text" name="sfsi_domain_input_nonce" value="<?php echo wp_create_nonce('bannerOption'); ?>">
209
  <div class="save_button">
210
- <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
211
  <a href="javascript:;" id="sfsi_check_theme_of_domain_btn" title="Check">Check the Theme</a>
212
  </div>
213
  <script type="text/javascript">
109
  <div class="supportforum">
110
  <div class="support-container">
111
  <div class="have-questions">
112
+ <img src="<?php echo SFSI_PLUGURL ?>images/question.png" alt="error">
113
  <p class="have-quest">Have questions?</p>
114
  <!-- <p class="ask-question">Ask them in the...</p> -->
115
  </div>
187
 
188
  <div class="tab10">
189
  <div class="save_button">
190
+ <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" alt="error" />
191
  <a href="javascript:;" id="save_all_settings" title="Save All Settings">Save All Settings</a>
192
  </div>
193
  <p class="red_txt errorMsg" style="display:none"> </p>
207
  <input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
208
  <input type="text" name="sfsi_domain_input_nonce" value="<?php echo wp_create_nonce('bannerOption'); ?>">
209
  <div class="save_button">
210
+ <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" alt="error" />
211
  <a href="javascript:;" id="sfsi_check_theme_of_domain_btn" title="Check">Check the Theme</a>
212
  </div>
213
  <script type="text/javascript">
views/sfsi_pop_content.php CHANGED
@@ -15,7 +15,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
15
 
16
  <div class="pop-overlay read-overlay sfsi_feedClaimingOverlay" >
17
  <div class="pop_up_box sfsi_pop_up" >
18
- <img src="<?php echo SFSI_PLUGURL; ?>images/newclose.png" id="close_popup" class="sfsicloseBtn" />
19
  <center>
20
  <form id="calimingOptimizationForm" method="get" action="https://www.specificfeeds.com/wpclaimfeeds/getFullAccess" target="_blank">
21
  <h1>Enter the email you want to use</h1>
@@ -39,7 +39,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
39
 
40
  <div class="pop-overlay read-overlay" >
41
  <div class="pop_up_box sfsi_pop_up" >
42
- <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
43
  <h4 id="readmore_text">Note: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</h4>
44
  </div>
45
  </div>
@@ -49,7 +49,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
49
 
50
  <form id="customIconFrm" method="post" action="<?php echo admin_url( 'admin-ajax.php?action=UploadIcons' ); ?>" enctype="multipart/form-data" >
51
  <div class="pop_up_box upload_pop_up" id="tab1" style="min-height: 155px;">
52
- <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_Uploadpopup" class="sfsicloseBtn" />
53
  <div class="sfsi_uploader">
54
  <div class="sfsi_popupcntnr">
55
  <h3>Steps:</h3>
@@ -108,7 +108,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
108
  <!-- Facebook example pop up -->
109
  <div class="fb-overlay read-overlay fbex-s2" >
110
  <div class="pop_up_box_ex sfsi_pop_up adPopWidth" >
111
- <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
112
  <h4 id="readmore_text">Move over the Facebook-icon… </h4>
113
 
114
  <div class="adminTooltip" >
@@ -116,9 +116,9 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
116
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr fb_tool_bdr" style="width: 59px;margin-left: -48.5px;">
117
  <span class="bot_arow bot_fb_arow "></span>
118
  <div class="sfsi_inside fbb">
119
- <div class="fb_1"><img src="<?php echo $visit_iconsUrl."facebook.png"; ?>" /></div>
120
- <div class="fb_2"><img src="<?php echo $visit_iconsUrl."fblike_bck.png"; ?>" /></div>
121
- <div class="fb_3"><img src="<?php echo $visit_iconsUrl."fbshare_bck.png"; ?>" /></div>
122
  </div>
123
  </div>
124
 
@@ -143,7 +143,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
143
  <!-- twiiter example pop-up -->
144
  <div class="pop-overlay read-overlay twex-s2" >
145
  <div class="pop_up_box_ex sfsi_pop_up adPopWidth" >
146
- <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
147
  <h4 id="readmore_text">Move over the Twiiter-icon… </h4>
148
 
149
  <div class="adminTooltip" >
@@ -151,9 +151,9 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
151
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr twt_tool_bdr" style="width: 59px;margin-left: -48.5px;">
152
  <span class="bot_arow bot_twt_arow"></span>
153
  <div class="sfsi_inside" >
154
- <div class="twt_3"><img src="<?php echo $visit_iconsUrl."twitter.png"; ?>" /></div>
155
- <div class="twt_1"><img src="<?php echo $visit_iconsUrl."twfollow_bck.png"; ?>" /></div>
156
- <div class="twt_2"><img src="<?php echo $visit_iconsUrl."twtweet_bck.png"; ?>" /></div>
157
  </div>
158
  </div>
159
  </div>
@@ -174,9 +174,9 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
174
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr gpls_tool_bdr" style="display: block; margin-left: -76.5px; margin-left: -55.5px;">
175
  <span class="bot_arow bot_gpls_arow"></span>
176
  <div class="sfsi_inside">
177
- <div class="gpls_visit"><img src="<?php echo $visit_iconsUrl."google.png"; ?>" /></div>
178
- <div class="gtalk_2"><img src="<?php echo $visit_iconsUrl."gplus_like.png"; ?>" /></div>
179
- <div class="gtalk_3"><img src="<?php echo $visit_iconsUrl."gplus_share.png"; ?>" /></div>
180
  </div>
181
  </div>
182
  </div>
@@ -198,8 +198,8 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
198
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr utube_tool_bdr" style=" margin-left: -67px; width: 96px;" >
199
  <span class="bot_arow bot_utube_arow"></span>
200
  <div class="sfsi_inside">
201
- <div class="utub_visit"><img src="<?php echo $visit_iconsUrl."youtube.png"; ?>" /></div>
202
- <div class="utub_2"><img src="<?php echo $visit_iconsUrl."youtube_bck.png"; ?>" /></div>
203
  </div>
204
  </div>
205
  </div>
@@ -221,8 +221,8 @@ $pin_url= isset($option2['sfsi_pinterest_pageUrl']) && !empty($option2['sfsi_pin
221
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr printst_tool_bdr" style=" width: 73px; margin-left: -55.5px;" >
222
  <span class="bot_arow bot_pintst_arow"></span>
223
  <div class="sfsi_inside">
224
- <div class="prints_visit"><img src="<?php echo $visit_iconsUrl."pinterest.png"; ?>" /></div>
225
- <div class="prints_visit_1"><img src="<?php echo $visit_iconsUrl."pinit_bck.png"; ?>" /></div>
226
  </div>
227
  </div>
228
  </div>
@@ -245,9 +245,9 @@ $pin_url= isset($option2['sfsi_pinterest_pageUrl']) && !empty($option2['sfsi_pin
245
  <span class="bot_arow bot_linkedin_arow"></span>
246
  <div class="sfsi_inside">
247
  <div style="margin:1px 5px;" class="linkin_1"><img src="<?php echo $visit_iconsUrl."linkedIn.png"; ?>" /></div>
248
- <div class="linkin_2"><img src="<?php echo $visit_iconsUrl."linkinflw_bck.png"; ?>" /></div>
249
- <div class="linkin_3"><img src="<?php echo $visit_iconsUrl."lnkdin_share_bck.png"; ?>" /></div>
250
- <div class="linkin_4"><img src="<?php echo $visit_iconsUrl."lnkrecmd_bck.png"; ?>" /></div>
251
  </div>
252
  </div>
253
  </div>
@@ -259,7 +259,7 @@ $pin_url= isset($option2['sfsi_pinterest_pageUrl']) && !empty($option2['sfsi_pin
259
 
260
  <div class="pop-overlay read-overlay demail-1" >
261
  <div class="pop_up_box sfsi_pop_up " >
262
- <h4>Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you <span class="mediam_txt">more readers</span>, as explained <a href="http://www.specificfeeds.com/rss" target="_new" style="color:#5A6570;display: inline;text-decoration:underline">here</a>. </h4>
263
  <div class="button"><a href="javascript:;" class="hideemailpop" title="Ok, keep it active for the time being,I want to see how it works">Ok, keep it active for the time being, <br />
264
  I want to see how it works</a></div>
265
  <a href="javascript:;" id="deac_email2" title="Deactivate it">Deactivate it</a>
@@ -278,7 +278,7 @@ I want to see how it works</a></div>
278
  <div class="pop-overlay read-overlay demail-3" >
279
  <div class="pop_up_box sfsi_pop_up " >
280
  <h4>You’re a toughie. Last try: As a minimum, could you please review this plugin (with 5 stars)? It only takes a minute. Thank you! </h4>
281
- <div class="button"><a href="https://wordpress.org/support/plugin/ultimate-social-media-icons/reviews/" target="_new" class="hidePop activate" title="Ok, Review it" >Ok, Review it</a></div>
282
  <a href="javascript:;" class="hidePop" title="Don’t review and exit">Don’t review and exit</a>
283
  </div>
284
  </div> <!-- END email deactivate pop-ups -->
@@ -286,7 +286,7 @@ I want to see how it works</a></div>
286
  <!--Custom Skin popup {Monad}-->
287
  <div class="pop-overlay cstmskins-overlay" >
288
  <div class="cstmskin_popup" >
289
- <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="custmskin_clspop" class="sfsicloseBtn" />
290
 
291
  <div class="cstomskins_wrpr">
292
  <h3>Upload custom icons</h3>
@@ -309,13 +309,13 @@ I want to see how it works</a></div>
309
  if(get_option("rss_skin"))
310
  {
311
  $rss_skin = get_option("rss_skin");
312
- echo "<img src='".$rss_skin."' width='30px' height='30px' class='imgskin'>";
313
  echo '<a href="javascript:" onclick="upload_image(this);" title="rss_skin" class="cstmskin_btn">Update</a>';
314
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="rss_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
315
  }
316
  else
317
  {
318
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
319
  echo '<a href="javascript:" onclick="upload_image(this);" title="rss_skin" class="cstmskin_btn">Upload</a>';
320
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="rss_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
321
  }
@@ -329,13 +329,13 @@ I want to see how it works</a></div>
329
  if(get_option("email_skin"))
330
  {
331
  $email_skin = get_option("email_skin");
332
- echo "<img src='".$email_skin."' width='30px' height='30px' class='imgskin'>";
333
  echo '<a href="javascript:" onclick="upload_image(this);" title="email_skin" class="cstmskin_btn">Update</a>';
334
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="email_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
335
  }
336
  else
337
  {
338
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
339
  echo '<a href="javascript:" onclick="upload_image(this);" title="email_skin" class="cstmskin_btn">Upload</a>';
340
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="email_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
341
  }
@@ -349,13 +349,13 @@ I want to see how it works</a></div>
349
  if(get_option("facebook_skin"))
350
  {
351
  $facebook_skin = get_option("facebook_skin");
352
- echo "<img src='".$facebook_skin."' width='30px' height='30px' class='imgskin'>";
353
  echo '<a href="javascript:" onclick="upload_image(this);" title="facebook_skin" class="cstmskin_btn">Update</a>';
354
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="facebook_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
355
  }
356
  else
357
  {
358
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
359
  echo '<a href="javascript:" onclick="upload_image(this);" title="facebook_skin" class="cstmskin_btn">Upload</a>';
360
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="facebook_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
361
  }
@@ -369,13 +369,13 @@ I want to see how it works</a></div>
369
  if(get_option("twitter_skin"))
370
  {
371
  $twitter_skin = get_option("twitter_skin");
372
- echo "<img src='".$twitter_skin."' width='30px' height='30px' class='imgskin'>";
373
  echo '<a href="javascript:" onclick="upload_image(this);" title="twitter_skin" class="cstmskin_btn">Update</a>';
374
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="twitter_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
375
  }
376
  else
377
  {
378
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
379
  echo '<a href="javascript:" onclick="upload_image(this);" title="twitter_skin" class="cstmskin_btn">Upload</a>';
380
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="twitter_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
381
  }
@@ -389,13 +389,13 @@ I want to see how it works</a></div>
389
  if(get_option("google_skin"))
390
  {
391
  $google_skin = get_option("google_skin");
392
- echo "<img src='".$google_skin."' width='30px' height='30px' class='imgskin'>";
393
  echo '<a href="javascript:" onclick="upload_image(this);" title="google_skin" class="cstmskin_btn">Update</a>';
394
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
395
  }
396
  else
397
  {
398
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
399
  echo '<a href="javascript:" onclick="upload_image(this);" title="google_skin" class="cstmskin_btn">Upload</a>';
400
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
401
  }
@@ -409,13 +409,13 @@ I want to see how it works</a></div>
409
  if(get_option("share_skin"))
410
  {
411
  $share_skin = get_option("share_skin");
412
- echo "<img src='".$share_skin."' width='30px' height='30px' class='imgskin'>";
413
  echo '<a href="javascript:" onclick="upload_image(this);" title="share_skin" class="cstmskin_btn">Update</a>';
414
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="share_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
415
  }
416
  else
417
  {
418
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
419
  echo '<a href="javascript:" onclick="upload_image(this);" title="share_skin" class="cstmskin_btn">Upload</a>';
420
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="share_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
421
  }
@@ -429,13 +429,13 @@ I want to see how it works</a></div>
429
  if(get_option("youtube_skin"))
430
  {
431
  $youtube_skin = get_option("youtube_skin");
432
- echo "<img src='".$youtube_skin."' width='30px' height='30px' class='imgskin'>";
433
  echo '<a href="javascript:" onclick="upload_image(this);" title="youtube_skin" class="cstmskin_btn">Update</a>';
434
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="youtube_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
435
  }
436
  else
437
  {
438
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
439
  echo '<a href="javascript:" onclick="upload_image(this);" title="youtube_skin" class="cstmskin_btn">Upload</a>';
440
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="youtube_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
441
  }
@@ -449,13 +449,13 @@ I want to see how it works</a></div>
449
  if(get_option("linkedin_skin"))
450
  {
451
  $linkedin_skin = get_option("linkedin_skin");
452
- echo "<img src='".$linkedin_skin."' width='30px' height='30px' class='imgskin'>";
453
  echo '<a href="javascript:" onclick="upload_image(this);" title="linkedin_skin" class="cstmskin_btn">Update</a>';
454
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="linkedin_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
455
  }
456
  else
457
  {
458
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
459
  echo '<a href="javascript:" onclick="upload_image(this);" title="linkedin_skin" class="cstmskin_btn">Upload</a>';
460
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="linkedin_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
461
  }
@@ -469,13 +469,13 @@ I want to see how it works</a></div>
469
  if(get_option("pintrest_skin"))
470
  {
471
  $pintrest_skin = get_option("pintrest_skin");
472
- echo "<img src='".$pintrest_skin."' width='30px' height='30px' class='imgskin'>";
473
  echo '<a href="javascript:" onclick="upload_image(this);" title="pintrest_skin" class="cstmskin_btn">Update</a>';
474
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="pintrest_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
475
  }
476
  else
477
  {
478
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
479
  echo '<a href="javascript:" onclick="upload_image(this);" title="pintrest_skin" class="cstmskin_btn">Upload</a>';
480
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="pintrest_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
481
  }
@@ -489,13 +489,13 @@ I want to see how it works</a></div>
489
  if(get_option("instagram_skin"))
490
  {
491
  $instagram_skin = get_option("instagram_skin");
492
- echo "<img src='".$instagram_skin."' width='30px' height='30px' class='imgskin'>";
493
  echo '<a href="javascript:" onclick="upload_image(this);" title="instagram_skin" class="cstmskin_btn">Update</a>';
494
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="instagram_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
495
  }
496
  else
497
  {
498
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
499
  echo '<a href="javascript:" onclick="upload_image(this);" title="instagram_skin" class="cstmskin_btn">Upload</a>';
500
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="instagram_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
501
  }
@@ -509,13 +509,13 @@ I want to see how it works</a></div>
509
  if(get_option("telegram_skin"))
510
  {
511
  $telegram_skin = get_option("telegram_skin");
512
- echo "<img src='".$telegram_skin."' width='30px' height='30px' class='imgskin'>";
513
  echo '<a href="javascript:" onclick="upload_image(this);" title="telegram_skin" class="cstmskin_btn">Update</a>';
514
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="telegram_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
515
  }
516
  else
517
  {
518
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
519
  echo '<a href="javascript:" onclick="upload_image(this);" title="telegram_skin" class="cstmskin_btn">Upload</a>';
520
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="telegram_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
521
  }
@@ -529,13 +529,13 @@ I want to see how it works</a></div>
529
  if(get_option("vk_skin"))
530
  {
531
  $vk_skin = get_option("vk_skin");
532
- echo "<img src='".$vk_skin."' width='30px' height='30px' class='imgskin'>";
533
  echo '<a href="javascript:" onclick="upload_image(this);" title="vk_skin" class="cstmskin_btn">Update</a>';
534
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="vk_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
535
  }
536
  else
537
  {
538
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
539
  echo '<a href="javascript:" onclick="upload_image(this);" title="vk_skin" class="cstmskin_btn">Upload</a>';
540
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="vk_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
541
  }
@@ -549,13 +549,13 @@ I want to see how it works</a></div>
549
  if(get_option("ok_skin"))
550
  {
551
  $ok_skin = get_option("ok_skin");
552
- echo "<img src='".$ok_skin."' width='30px' height='30px' class='imgskin'>";
553
  echo '<a href="javascript:" onclick="upload_image(this);" title="ok_skin" class="cstmskin_btn">Update</a>';
554
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="ok_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
555
  }
556
  else
557
  {
558
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
559
  echo '<a href="javascript:" onclick="upload_image(this);" title="ok_skin" class="cstmskin_btn">Upload</a>';
560
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="ok_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
561
  }
@@ -569,13 +569,13 @@ I want to see how it works</a></div>
569
  if(get_option("weibo_skin"))
570
  {
571
  $weibo_skin = get_option("weibo_skin");
572
- echo "<img src='".$weibo_skin."' width='30px' height='30px' class='imgskin'>";
573
  echo '<a href="javascript:" onclick="upload_image(this);" title="weibo_skin" class="cstmskin_btn">Update</a>';
574
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="weibo_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
575
  }
576
  else
577
  {
578
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
579
  echo '<a href="javascript:" onclick="upload_image(this);" title="weibo_skin" class="cstmskin_btn">Upload</a>';
580
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="weibo_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
581
  }
@@ -589,13 +589,13 @@ I want to see how it works</a></div>
589
  if(get_option("wechat_skin"))
590
  {
591
  $wechat_skin = get_option("wechat_skin");
592
- echo "<img src='".$wechat_skin."' width='30px' height='30px' class='imgskin'>";
593
  echo '<a href="javascript:" onclick="upload_image(this);" title="wechat_skin" class="cstmskin_btn">Update</a>';
594
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="wechat_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
595
  }
596
  else
597
  {
598
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
599
  echo '<a href="javascript:" onclick="upload_image(this);" title="wechat_skin" class="cstmskin_btn">Upload</a>';
600
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="wechat_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
601
  }
@@ -643,8 +643,8 @@ I want to see how it works</a></div>
643
  <div class="sfsi_col_6" style="text-align: right; vertical-align: middle;">
644
  <div class="sellcodes-quick-purchase" onclick="sfsi_quickpay_container_click(event)" style="margin-right: 15px; padding: 18px 40px !important;cursor:pointer">
645
  <p class="sc-button" data-product-id="XdHlrQnc" data-option-id="ftHaa2zt" data-paymethod="0">
646
- <img src="<?php echo SFSI_PLUGURL; ?>images/visa.png" />
647
- <img src="<?php echo SFSI_PLUGURL; ?>images/mastercard.png" />
648
  </p>
649
 
650
  </div>
@@ -652,7 +652,7 @@ I want to see how it works</a></div>
652
  <div class="sfsi_col_6" style="text-align: left; vertical-align: middle;">
653
  <div class="sellcodes-quick-purchase" onclick="sfsi_quickpay_container_click(event)" style="margin-left: 0px;cursor:pointer">
654
  <p class="sc-button" data-product-id="XdHlrQnc" data-option-id="ftHaa2zt" data-paymethod="1">
655
- <img src="<?php echo SFSI_PLUGURL; ?>images/paypal-1.png"/>
656
  </p>
657
  </div>
658
  </div>
15
 
16
  <div class="pop-overlay read-overlay sfsi_feedClaimingOverlay" >
17
  <div class="pop_up_box sfsi_pop_up" >
18
+ <img src="<?php echo SFSI_PLUGURL; ?>images/newclose.png" id="close_popup" class="sfsicloseBtn" alt="error" />
19
  <center>
20
  <form id="calimingOptimizationForm" method="get" action="https://www.specificfeeds.com/wpclaimfeeds/getFullAccess" target="_blank">
21
  <h1>Enter the email you want to use</h1>
39
 
40
  <div class="pop-overlay read-overlay" >
41
  <div class="pop_up_box sfsi_pop_up" >
42
+ <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" alt="error" />
43
  <h4 id="readmore_text">Note: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</h4>
44
  </div>
45
  </div>
49
 
50
  <form id="customIconFrm" method="post" action="<?php echo admin_url( 'admin-ajax.php?action=UploadIcons' ); ?>" enctype="multipart/form-data" >
51
  <div class="pop_up_box upload_pop_up" id="tab1" style="min-height: 155px;">
52
+ <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_Uploadpopup" alt="error" class="sfsicloseBtn" />
53
  <div class="sfsi_uploader">
54
  <div class="sfsi_popupcntnr">
55
  <h3>Steps:</h3>
108
  <!-- Facebook example pop up -->
109
  <div class="fb-overlay read-overlay fbex-s2" >
110
  <div class="pop_up_box_ex sfsi_pop_up adPopWidth" >
111
+ <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" alt="error" class="sfsicloseBtn" />
112
  <h4 id="readmore_text">Move over the Facebook-icon… </h4>
113
 
114
  <div class="adminTooltip" >
116
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr fb_tool_bdr" style="width: 59px;margin-left: -48.5px;">
117
  <span class="bot_arow bot_fb_arow "></span>
118
  <div class="sfsi_inside fbb">
119
+ <div class="fb_1"><img src="<?php echo $visit_iconsUrl."facebook.png"; ?>" alt="error" /></div>
120
+ <div class="fb_2"><img src="<?php echo $visit_iconsUrl."fblike_bck.png"; ?>" alt="error"/></div>
121
+ <div class="fb_3"><img src="<?php echo $visit_iconsUrl."fbshare_bck.png"; ?>" alt="error"/></div>
122
  </div>
123
  </div>
124
 
143
  <!-- twiiter example pop-up -->
144
  <div class="pop-overlay read-overlay twex-s2" >
145
  <div class="pop_up_box_ex sfsi_pop_up adPopWidth" >
146
+ <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" alt="error" id="close_popup" class="sfsicloseBtn" />
147
  <h4 id="readmore_text">Move over the Twiiter-icon… </h4>
148
 
149
  <div class="adminTooltip" >
151
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr twt_tool_bdr" style="width: 59px;margin-left: -48.5px;">
152
  <span class="bot_arow bot_twt_arow"></span>
153
  <div class="sfsi_inside" >
154
+ <div class="twt_3"><img src="<?php echo $visit_iconsUrl."twitter.png"; ?>" alt="error" /></div>
155
+ <div class="twt_1"><img src="<?php echo $visit_iconsUrl."twfollow_bck.png"; ?>" alt="error"/></div>
156
+ <div class="twt_2"><img src="<?php echo $visit_iconsUrl."twtweet_bck.png"; ?>" alt="error"/></div>
157
  </div>
158
  </div>
159
  </div>
174
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr gpls_tool_bdr" style="display: block; margin-left: -76.5px; margin-left: -55.5px;">
175
  <span class="bot_arow bot_gpls_arow"></span>
176
  <div class="sfsi_inside">
177
+ <div class="gpls_visit"><img src="<?php echo $visit_iconsUrl."google.png"; ?>" alt="error" /></div>
178
+ <div class="gtalk_2"><img src="<?php echo $visit_iconsUrl."gplus_like.png"; ?>" alt="error"/></div>
179
+ <div class="gtalk_3"><img src="<?php echo $visit_iconsUrl."gplus_share.png"; ?>" alt="error"/></div>
180
  </div>
181
  </div>
182
  </div>
198
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr utube_tool_bdr" style=" margin-left: -67px; width: 96px;" >
199
  <span class="bot_arow bot_utube_arow"></span>
200
  <div class="sfsi_inside">
201
+ <div class="utub_visit"><img src="<?php echo $visit_iconsUrl."youtube.png"; ?>" alt="error" /></div>
202
+ <div class="utub_2"><img src="<?php echo $visit_iconsUrl."youtube_bck.png"; ?>"alt="error" /></div>
203
  </div>
204
  </div>
205
  </div>
221
  <div class="sfsi_tool_tip_2 sfsi_tool_tip_2_inr printst_tool_bdr" style=" width: 73px; margin-left: -55.5px;" >
222
  <span class="bot_arow bot_pintst_arow"></span>
223
  <div class="sfsi_inside">
224
+ <div class="prints_visit"><img src="<?php echo $visit_iconsUrl."pinterest.png"; ?>" alt="error"/></div>
225
+ <div class="prints_visit_1"><img src="<?php echo $visit_iconsUrl."pinit_bck.png"; ?>" alt="error"/></div>
226
  </div>
227
  </div>
228
  </div>
245
  <span class="bot_arow bot_linkedin_arow"></span>
246
  <div class="sfsi_inside">
247
  <div style="margin:1px 5px;" class="linkin_1"><img src="<?php echo $visit_iconsUrl."linkedIn.png"; ?>" /></div>
248
+ <div class="linkin_2"><img src="<?php echo $visit_iconsUrl."linkinflw_bck.png"; ?>" alt="error" /></div>
249
+ <div class="linkin_3"><img src="<?php echo $visit_iconsUrl."lnkdin_share_bck.png"; ?>" alt="error"/></div>
250
+ <div class="linkin_4"><img src="<?php echo $visit_iconsUrl."lnkrecmd_bck.png"; ?>" alt="error"/></div>
251
  </div>
252
  </div>
253
  </div>
259
 
260
  <div class="pop-overlay read-overlay demail-1" >
261
  <div class="pop_up_box sfsi_pop_up " >
262
+ <h4>Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you <span class="mediam_txt">more readers</span>, as explained <a href="http://www.specificfeeds.com/rss" target="new" style="color:#5A6570;display: inline;text-decoration:underline">here</a>. </h4>
263
  <div class="button"><a href="javascript:;" class="hideemailpop" title="Ok, keep it active for the time being,I want to see how it works">Ok, keep it active for the time being, <br />
264
  I want to see how it works</a></div>
265
  <a href="javascript:;" id="deac_email2" title="Deactivate it">Deactivate it</a>
278
  <div class="pop-overlay read-overlay demail-3" >
279
  <div class="pop_up_box sfsi_pop_up " >
280
  <h4>You’re a toughie. Last try: As a minimum, could you please review this plugin (with 5 stars)? It only takes a minute. Thank you! </h4>
281
+ <div class="button"><a href="https://wordpress.org/support/plugin/ultimate-social-media-icons/reviews/" target="new" class="hidePop activate" title="Ok, Review it" >Ok, Review it</a></div>
282
  <a href="javascript:;" class="hidePop" title="Don’t review and exit">Don’t review and exit</a>
283
  </div>
284
  </div> <!-- END email deactivate pop-ups -->
286
  <!--Custom Skin popup {Monad}-->
287
  <div class="pop-overlay cstmskins-overlay" >
288
  <div class="cstmskin_popup" >
289
+ <img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="custmskin_clspop" class="sfsicloseBtn" alt="error"/>
290
 
291
  <div class="cstomskins_wrpr">
292
  <h3>Upload custom icons</h3>
309
  if(get_option("rss_skin"))
310
  {
311
  $rss_skin = get_option("rss_skin");
312
+ echo "<img src='".$rss_skin."' width='30px' height='30px' class='imgskin' alt='Rs'>";
313
  echo '<a href="javascript:" onclick="upload_image(this);" title="rss_skin" class="cstmskin_btn">Update</a>';
314
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="rss_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
315
  }
316
  else
317
  {
318
+ echo "<img src='' width='30px' height='30px' class='imgskin skswrpr' alt='Rs'>";
319
  echo '<a href="javascript:" onclick="upload_image(this);" title="rss_skin" class="cstmskin_btn">Upload</a>';
320
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="rss_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
321
  }
329
  if(get_option("email_skin"))
330
  {
331
  $email_skin = get_option("email_skin");
332
+ echo "<img src='".$email_skin."' width='30px' height='30px' class='imgskin' alt='Email'>";
333
  echo '<a href="javascript:" onclick="upload_image(this);" title="email_skin" class="cstmskin_btn">Update</a>';
334
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="email_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
335
  }
336
  else
337
  {
338
+ echo "<img src='' width='30px' height='30px' class='imgskin skswrpr' alt='Email'>";
339
  echo '<a href="javascript:" onclick="upload_image(this);" title="email_skin" class="cstmskin_btn">Upload</a>';
340
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="email_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
341
  }
349
  if(get_option("facebook_skin"))
350
  {
351
  $facebook_skin = get_option("facebook_skin");
352
+ echo "<img src='".$facebook_skin."' width='30px' height='30px' class='imgskin' alt='Facebook'>";
353
  echo '<a href="javascript:" onclick="upload_image(this);" title="facebook_skin" class="cstmskin_btn">Update</a>';
354
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="facebook_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
355
  }
356
  else
357
  {
358
+ echo "<img src='' width='30px' height='30px' class='imgskin skswrpr' alt='Facebook'>";
359
  echo '<a href="javascript:" onclick="upload_image(this);" title="facebook_skin" class="cstmskin_btn">Upload</a>';
360
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="facebook_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
361
  }
369
  if(get_option("twitter_skin"))
370
  {
371
  $twitter_skin = get_option("twitter_skin");
372
+ echo "<img src='".$twitter_skin."' width='30px' height='30px' class='imgskin' alt='Twitter'>";
373
  echo '<a href="javascript:" onclick="upload_image(this);" title="twitter_skin" class="cstmskin_btn">Update</a>';
374
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="twitter_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
375
  }
376
  else
377
  {
378
+ echo "<img src='' width='30px' height='30px' class='imgskin skswrpr' alt='Twitter'>";
379
  echo '<a href="javascript:" onclick="upload_image(this);" title="twitter_skin" class="cstmskin_btn">Upload</a>';
380
  echo '<a href="javascript:" onclick="deleteskin_icon(this);" title="twitter_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
381