Version Description
- Added Whatsapp share
- Fixed Woocommerce banner dismiss
Download this release
Release Info
Developer | socialsharepro |
Plugin | Social Share Icons & Social Share Buttons |
Version | 3.4.5 |
Comparing to | |
See all releases |
Code changes from version 3.4.4 to 3.4.5
- css/sfsi-admin-style.css +292 -270
- css/sfsi-style.css +196 -2
- images/icons_theme/black/black_whatsapp.png +0 -0
- images/icons_theme/black2/black2_whatsapp.png +0 -0
- images/icons_theme/blackgrunge/blackgrunge_whatsapp.png +0 -0
- images/icons_theme/chrome_blue/chrome_blue_whatsapp.png +0 -0
- images/icons_theme/chrome_grey/chrome_grey_whatsapp.png +0 -0
- images/icons_theme/cool/cool_whatsapp.png +0 -0
- images/icons_theme/crystal/crystal_whatsapp.png +0 -0
- images/icons_theme/cubes/cubes_whatsapp.png +0 -0
- images/icons_theme/cute/cute_whatsapp.png +0 -0
- images/icons_theme/default/default_whatsapp.png +0 -0
- images/icons_theme/flat/flat_whatsapp.png +0 -0
- images/icons_theme/glossy/glossy_whatsapp.png +0 -0
- images/icons_theme/glossyblack/glossyblack_whatsapp.png +0 -0
- images/icons_theme/orange/orange_whatsapp.png +0 -0
- images/icons_theme/shaded_dark/shaded_dark_whatsapp.png +0 -0
- images/icons_theme/shaded_light/shaded_light_whatsapp.png +0 -0
- images/icons_theme/silver/silver_whatsapp.png +0 -0
- images/icons_theme/splash/splash_whatsapp.png +0 -0
- images/icons_theme/thin/thin_whatsapp.png +0 -0
- images/icons_theme/transparent/transparent_whatsapp.png +0 -0
- images/icons_theme/waxedwood/waxedwood_whatsapp.png +0 -0
- images/icons_theme/yellow/yellow_whatsapp.png +0 -0
- images/tab_3_icns.png +0 -0
- images/wpse1_6817_cdp.png +0 -0
- images/wpse1_6817_cdp_bg.png +0 -0
- images/wpse1_6817_cdp_button.png +0 -0
- js/custom-admin.js +158 -2
- js/custom.js +5 -2
- libs/controllers/sfsi_buttons_controller.php +30 -11
- libs/controllers/sfsi_class_theme_check.php +3 -2
- libs/controllers/sfsi_frontpopUp.php +7 -0
- libs/controllers/sfsi_socialhelper.php +1 -1
- libs/controllers/sfsiocns_OnPosts.php +1 -1
- libs/sfsi_gutenberg_block.php +0 -1
- libs/sfsi_install_uninstall.php +44 -11
- libs/sfsi_widget.php +1592 -1791
- readme.txt +7 -2
- ultimate_social_media_icons.php +67 -39
- views/sfsi_global_banners.php +48 -6
- views/sfsi_option_view1.php +6 -3
- views/sfsi_option_view2.php +26 -0
- views/sfsi_option_view3.php +18 -16
- views/sfsi_option_view4.php +41 -1
- views/sfsi_option_view5.php +21 -3
- views/sfsi_option_view7.php +26 -1
- views/sfsi_other_banners.php +2 -2
- views/sfsi_plugin_lists.php +7 -1
css/sfsi-admin-style.css
CHANGED
@@ -49,7 +49,8 @@ body {
|
|
49 |
.tab1 ul.plus_icn_listing li .sfsicls_share,
|
50 |
.tab1 ul.plus_icn_listing li .sfsicls_twt,
|
51 |
.tab1 ul.plus_icn_listing li .sfsicls_utube,
|
52 |
-
.tab1 ul.plus_icn_listing li .sfsicls_wechat
|
|
|
53 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
54 |
float: left;
|
55 |
padding: 0 0 0 59px;
|
@@ -134,6 +135,10 @@ body {
|
|
134 |
color: #369;
|
135 |
}
|
136 |
|
|
|
|
|
|
|
|
|
137 |
.tab1 ul.plus_icn_listing li .sfsicls_ok {
|
138 |
background-position: 0 -1810px;
|
139 |
color: #369;
|
@@ -802,6 +807,23 @@ ul.tab_2_email_sec li .radio {
|
|
802 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25,
|
803 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25,
|
804 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
805 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_26,
|
806 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_26,
|
807 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_26,
|
@@ -827,355 +849,355 @@ ul.tab_2_email_sec li .radio {
|
|
827 |
}
|
828 |
|
829 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_1 {
|
830 |
-
background-position: -
|
831 |
}
|
832 |
|
833 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_2 {
|
834 |
-
background-position: -
|
835 |
}
|
836 |
|
837 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_3 {
|
838 |
-
background-position: -
|
839 |
}
|
840 |
|
841 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_4 {
|
842 |
-
background-position: -
|
843 |
}
|
844 |
|
845 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_5 {
|
846 |
-
background-position: -
|
847 |
}
|
848 |
|
849 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_6 {
|
850 |
-
background-position: -
|
851 |
}
|
852 |
|
853 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_7 {
|
854 |
-
background-position: -
|
855 |
}
|
856 |
|
857 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_8 {
|
858 |
-
background-position: -
|
859 |
}
|
860 |
|
861 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_9 {
|
862 |
-
background-position: -
|
863 |
}
|
864 |
|
865 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_10 {
|
866 |
-
background-position: -
|
867 |
}
|
868 |
|
869 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_11 {
|
870 |
-
background-position: -
|
871 |
}
|
872 |
|
873 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_22 {
|
874 |
-
background-position: -
|
875 |
}
|
876 |
|
877 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_23 {
|
878 |
-
background-position: -
|
879 |
}
|
880 |
|
881 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_24 {
|
882 |
-
background-position: -
|
883 |
}
|
884 |
|
885 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_25 {
|
886 |
-
background-position: -
|
887 |
}
|
888 |
|
889 |
-
.sfsiplus_icns_tab_3 .
|
890 |
background-position: -1045px 0;
|
891 |
}
|
892 |
|
893 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_1 {
|
894 |
-
background-position:
|
895 |
}
|
896 |
|
897 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_2 {
|
898 |
-
background-position: -
|
899 |
}
|
900 |
|
901 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_3 {
|
902 |
-
background-position: -
|
903 |
}
|
904 |
|
905 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_4 {
|
906 |
-
background-position: -
|
907 |
}
|
908 |
|
909 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_5 {
|
910 |
-
background-position: -
|
911 |
}
|
912 |
|
913 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_6 {
|
914 |
-
background-position: -
|
915 |
}
|
916 |
|
917 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_7 {
|
918 |
-
background-position: -
|
919 |
}
|
920 |
|
921 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_8 {
|
922 |
-
background-position: -
|
923 |
}
|
924 |
|
925 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_9 {
|
926 |
-
background-position: -
|
927 |
}
|
928 |
|
929 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_10 {
|
930 |
-
background-position: -
|
931 |
}
|
932 |
|
933 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_11 {
|
934 |
-
background-position: -
|
935 |
}
|
936 |
|
937 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_22 {
|
938 |
-
background-position: -
|
939 |
}
|
940 |
|
941 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_23 {
|
942 |
-
background-position: -
|
943 |
}
|
944 |
|
945 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_24 {
|
946 |
-
background-position: -
|
947 |
}
|
948 |
|
949 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_25 {
|
950 |
-
background-position: -
|
951 |
}
|
952 |
|
953 |
-
.sfsiplus_icns_tab_3 .
|
954 |
-
background-position: -1045px
|
955 |
}
|
956 |
|
957 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_1 {
|
958 |
-
background-position:
|
959 |
}
|
960 |
|
961 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_2 {
|
962 |
-
background-position: -
|
963 |
}
|
964 |
|
965 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_3 {
|
966 |
-
background-position: -
|
967 |
}
|
968 |
|
969 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_4 {
|
970 |
-
background-position: -
|
971 |
}
|
972 |
|
973 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_5 {
|
974 |
-
background-position: -
|
975 |
}
|
976 |
|
977 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_6 {
|
978 |
-
background-position: -
|
979 |
}
|
980 |
|
981 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_7 {
|
982 |
-
background-position: -
|
983 |
}
|
984 |
|
985 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_8 {
|
986 |
-
background-position: -
|
987 |
}
|
988 |
|
989 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_9 {
|
990 |
-
background-position: -
|
991 |
}
|
992 |
|
993 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_10 {
|
994 |
-
background-position: -
|
995 |
}
|
996 |
|
997 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_11 {
|
998 |
-
background-position: -
|
999 |
}
|
1000 |
|
1001 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_22 {
|
1002 |
-
background-position: -
|
1003 |
}
|
1004 |
|
1005 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_23 {
|
1006 |
-
background-position: -
|
1007 |
}
|
1008 |
|
1009 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_24 {
|
1010 |
-
background-position: -
|
1011 |
}
|
1012 |
|
1013 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_25 {
|
1014 |
-
background-position: -
|
1015 |
}
|
1016 |
|
1017 |
-
.sfsiplus_icns_tab_3 .
|
1018 |
-
background-position: -1045px
|
1019 |
}
|
1020 |
|
1021 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_1 {
|
1022 |
-
background-position:
|
1023 |
}
|
1024 |
|
1025 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_2 {
|
1026 |
-
background-position: -
|
1027 |
}
|
1028 |
|
1029 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_3 {
|
1030 |
-
background-position: -
|
1031 |
}
|
1032 |
|
1033 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_4 {
|
1034 |
-
background-position: -
|
1035 |
}
|
1036 |
|
1037 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_5 {
|
1038 |
-
background-position: -
|
1039 |
}
|
1040 |
|
1041 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_6 {
|
1042 |
-
background-position: -
|
1043 |
}
|
1044 |
|
1045 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_7 {
|
1046 |
-
background-position: -
|
1047 |
}
|
1048 |
|
1049 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_8 {
|
1050 |
-
background-position: -
|
1051 |
}
|
1052 |
|
1053 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_9 {
|
1054 |
-
background-position: -
|
1055 |
}
|
1056 |
|
1057 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_10 {
|
1058 |
-
background-position: -
|
1059 |
}
|
1060 |
|
1061 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_11 {
|
1062 |
-
background-position: -
|
1063 |
}
|
1064 |
|
1065 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_22 {
|
1066 |
-
background-position: -
|
1067 |
}
|
1068 |
|
1069 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_23 {
|
1070 |
-
background-position: -
|
1071 |
}
|
1072 |
|
1073 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_24 {
|
1074 |
-
background-position: -
|
1075 |
}
|
1076 |
|
1077 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_25 {
|
1078 |
-
background-position: -
|
1079 |
}
|
1080 |
|
1081 |
-
.sfsiplus_icns_tab_3 .
|
1082 |
-
background-position: -1045px
|
1083 |
}
|
1084 |
|
1085 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_1 {
|
1086 |
-
background-position:
|
1087 |
}
|
1088 |
|
1089 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_2 {
|
1090 |
-
background-position: -
|
1091 |
}
|
1092 |
|
1093 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_3 {
|
1094 |
-
background-position: -
|
1095 |
}
|
1096 |
|
1097 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_4 {
|
1098 |
-
background-position: -
|
1099 |
}
|
1100 |
|
1101 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_5 {
|
1102 |
-
background-position: -
|
1103 |
}
|
1104 |
|
1105 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_6 {
|
1106 |
-
background-position: -
|
1107 |
}
|
1108 |
|
1109 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_7 {
|
1110 |
-
background-position: -
|
1111 |
}
|
1112 |
|
1113 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_8 {
|
1114 |
-
background-position: -
|
1115 |
}
|
1116 |
|
1117 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_9 {
|
1118 |
-
background-position: -
|
1119 |
}
|
1120 |
|
1121 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_10 {
|
1122 |
-
background-position: -
|
1123 |
}
|
1124 |
|
1125 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_11 {
|
1126 |
-
background-position: -
|
1127 |
}
|
1128 |
|
1129 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_22 {
|
1130 |
-
background-position: -
|
1131 |
}
|
1132 |
|
1133 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_23 {
|
1134 |
-
background-position: -
|
1135 |
}
|
1136 |
|
1137 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_24 {
|
1138 |
-
background-position: -
|
1139 |
}
|
1140 |
|
1141 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_25 {
|
1142 |
-
background-position: -
|
1143 |
}
|
1144 |
|
1145 |
-
.sfsiplus_icns_tab_3 .
|
1146 |
-
background-position: -1045px
|
1147 |
}
|
1148 |
|
1149 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_1 {
|
1150 |
-
background-position:
|
1151 |
}
|
1152 |
|
1153 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_2 {
|
1154 |
-
background-position: -
|
1155 |
}
|
1156 |
|
1157 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_3 {
|
1158 |
-
background-position: -
|
1159 |
}
|
1160 |
|
1161 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_4 {
|
1162 |
-
background-position: -
|
1163 |
}
|
1164 |
|
1165 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_5 {
|
1166 |
-
background-position: -
|
1167 |
}
|
1168 |
|
1169 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_6 {
|
1170 |
-
background-position: -
|
1171 |
}
|
1172 |
|
1173 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_7 {
|
1174 |
-
background-position: -
|
1175 |
}
|
1176 |
|
1177 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_8 {
|
1178 |
-
background-position: -
|
1179 |
}
|
1180 |
|
1181 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_9 {
|
@@ -1183,63 +1205,63 @@ ul.tab_2_email_sec li .radio {
|
|
1183 |
}
|
1184 |
|
1185 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_10 {
|
1186 |
-
background-position: -
|
1187 |
}
|
1188 |
|
1189 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_11 {
|
1190 |
-
background-position: -
|
1191 |
}
|
1192 |
|
1193 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_22 {
|
1194 |
-
background-position: -
|
1195 |
}
|
1196 |
|
1197 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_23 {
|
1198 |
-
background-position: -
|
1199 |
}
|
1200 |
|
1201 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_24 {
|
1202 |
-
background-position: -
|
1203 |
}
|
1204 |
|
1205 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_25 {
|
1206 |
-
background-position: -
|
1207 |
}
|
1208 |
|
1209 |
-
.sfsiplus_icns_tab_3 .
|
1210 |
-
background-position: -1045px
|
1211 |
}
|
1212 |
|
1213 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_1 {
|
1214 |
-
background-position:
|
1215 |
}
|
1216 |
|
1217 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_2 {
|
1218 |
-
background-position: -
|
1219 |
}
|
1220 |
|
1221 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_3 {
|
1222 |
-
background-position: -
|
1223 |
}
|
1224 |
|
1225 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_4 {
|
1226 |
-
background-position: -
|
1227 |
}
|
1228 |
|
1229 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_5 {
|
1230 |
-
background-position: -
|
1231 |
}
|
1232 |
|
1233 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_6 {
|
1234 |
-
background-position: -
|
1235 |
}
|
1236 |
|
1237 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_7 {
|
1238 |
-
background-position: -
|
1239 |
}
|
1240 |
|
1241 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_8 {
|
1242 |
-
background-position: -
|
1243 |
}
|
1244 |
|
1245 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_9 {
|
@@ -1247,607 +1269,607 @@ ul.tab_2_email_sec li .radio {
|
|
1247 |
}
|
1248 |
|
1249 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_10 {
|
1250 |
-
background-position: -
|
1251 |
}
|
1252 |
|
1253 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_11 {
|
1254 |
-
background-position: -
|
1255 |
}
|
1256 |
|
1257 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_22 {
|
1258 |
-
background-position: -
|
1259 |
}
|
1260 |
|
1261 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_23 {
|
1262 |
-
background-position: -
|
1263 |
}
|
1264 |
|
1265 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_24 {
|
1266 |
-
background-position: -
|
1267 |
}
|
1268 |
|
1269 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_25 {
|
1270 |
-
background-position: -
|
1271 |
}
|
1272 |
|
1273 |
-
.sfsiplus_icns_tab_3 .
|
1274 |
-
background-position: -1045px
|
1275 |
}
|
1276 |
|
1277 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_1 {
|
1278 |
-
background-position:
|
1279 |
}
|
1280 |
|
1281 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_2 {
|
1282 |
-
background-position: -
|
1283 |
}
|
1284 |
|
1285 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_3 {
|
1286 |
-
background-position: -
|
1287 |
}
|
1288 |
|
1289 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_4 {
|
1290 |
-
background-position: -
|
1291 |
}
|
1292 |
|
1293 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_5 {
|
1294 |
-
background-position: -
|
1295 |
}
|
1296 |
|
1297 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_6 {
|
1298 |
-
background-position: -
|
1299 |
}
|
1300 |
|
1301 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_7 {
|
1302 |
-
background-position: -
|
1303 |
}
|
1304 |
|
1305 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_8 {
|
1306 |
-
background-position: -
|
1307 |
}
|
1308 |
|
1309 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_9 {
|
1310 |
-
background-position: -
|
1311 |
}
|
1312 |
|
1313 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_10 {
|
1314 |
-
background-position: -
|
1315 |
}
|
1316 |
|
1317 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_11 {
|
1318 |
-
background-position: -
|
1319 |
}
|
1320 |
|
1321 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_22 {
|
1322 |
-
background-position: -
|
1323 |
}
|
1324 |
|
1325 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_23 {
|
1326 |
-
background-position: -
|
1327 |
}
|
1328 |
|
1329 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_24 {
|
1330 |
-
background-position: -
|
1331 |
}
|
1332 |
|
1333 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_25 {
|
1334 |
-
background-position: -
|
1335 |
}
|
1336 |
|
1337 |
-
.sfsiplus_icns_tab_3 .
|
1338 |
-
background-position: -1045px
|
1339 |
}
|
1340 |
|
1341 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_1 {
|
1342 |
-
background-position:
|
1343 |
}
|
1344 |
|
1345 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_2 {
|
1346 |
-
background-position: -
|
1347 |
}
|
1348 |
|
1349 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_3 {
|
1350 |
-
background-position: -
|
1351 |
}
|
1352 |
|
1353 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_4 {
|
1354 |
-
background-position: -
|
1355 |
}
|
1356 |
|
1357 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_5 {
|
1358 |
-
background-position: -
|
1359 |
}
|
1360 |
|
1361 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_6 {
|
1362 |
-
background-position: -
|
1363 |
}
|
1364 |
|
1365 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_7 {
|
1366 |
-
background-position: -
|
1367 |
}
|
1368 |
|
1369 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_8 {
|
1370 |
-
background-position: -
|
1371 |
}
|
1372 |
|
1373 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_9 {
|
1374 |
-
background-position: -
|
1375 |
}
|
1376 |
|
1377 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_10 {
|
1378 |
-
background-position: -
|
1379 |
}
|
1380 |
|
1381 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_11 {
|
1382 |
-
background-position: -
|
1383 |
}
|
1384 |
|
1385 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_22 {
|
1386 |
-
background-position: -
|
1387 |
}
|
1388 |
|
1389 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_23 {
|
1390 |
-
background-position: -
|
1391 |
}
|
1392 |
|
1393 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_24 {
|
1394 |
-
background-position: -
|
1395 |
}
|
1396 |
|
1397 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_25 {
|
1398 |
-
background-position: -
|
1399 |
}
|
1400 |
|
1401 |
-
.sfsiplus_icns_tab_3 .
|
1402 |
-
background-position: -1045px
|
1403 |
}
|
1404 |
|
1405 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1 {
|
1406 |
-
background-position:
|
1407 |
}
|
1408 |
|
1409 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_2 {
|
1410 |
-
background-position: -
|
1411 |
}
|
1412 |
|
1413 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_3 {
|
1414 |
-
background-position: -
|
1415 |
}
|
1416 |
|
1417 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_4 {
|
1418 |
-
background-position: -
|
1419 |
}
|
1420 |
|
1421 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_5 {
|
1422 |
-
background-position: -
|
1423 |
}
|
1424 |
|
1425 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_6 {
|
1426 |
-
background-position: -
|
1427 |
}
|
1428 |
|
1429 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_7 {
|
1430 |
-
background-position: -
|
1431 |
}
|
1432 |
|
1433 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_8 {
|
1434 |
-
background-position: -
|
1435 |
}
|
1436 |
|
1437 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_9 {
|
1438 |
-
background-position: -
|
1439 |
}
|
1440 |
|
1441 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_10 {
|
1442 |
-
background-position: -
|
1443 |
}
|
1444 |
|
1445 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_11 {
|
1446 |
-
background-position: -
|
1447 |
}
|
1448 |
|
1449 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_22 {
|
1450 |
-
background-position: -
|
1451 |
}
|
1452 |
|
1453 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_23 {
|
1454 |
-
background-position: -
|
1455 |
}
|
1456 |
|
1457 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_24 {
|
1458 |
-
background-position: -
|
1459 |
}
|
1460 |
|
1461 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_25 {
|
1462 |
-
background-position: -
|
1463 |
}
|
1464 |
|
1465 |
-
.sfsiplus_icns_tab_3 .
|
1466 |
-
background-position: -1045px
|
1467 |
}
|
1468 |
|
1469 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_1 {
|
1470 |
-
background-position:
|
1471 |
}
|
1472 |
|
1473 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_2 {
|
1474 |
-
background-position: -
|
1475 |
}
|
1476 |
|
1477 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_3 {
|
1478 |
-
background-position: -
|
1479 |
}
|
1480 |
|
1481 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_4 {
|
1482 |
-
background-position: -
|
1483 |
}
|
1484 |
|
1485 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_5 {
|
1486 |
-
background-position: -
|
1487 |
}
|
1488 |
|
1489 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_6 {
|
1490 |
-
background-position: -
|
1491 |
}
|
1492 |
|
1493 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_7 {
|
1494 |
-
background-position: -
|
1495 |
}
|
1496 |
|
1497 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_8 {
|
1498 |
-
background-position: -
|
1499 |
}
|
1500 |
|
1501 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_9 {
|
1502 |
-
background-position: -
|
1503 |
}
|
1504 |
|
1505 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_10 {
|
1506 |
-
background-position: -
|
1507 |
}
|
1508 |
|
1509 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_11 {
|
1510 |
-
background-position: -
|
1511 |
}
|
1512 |
|
1513 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_22 {
|
1514 |
-
background-position: -
|
1515 |
}
|
1516 |
|
1517 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_23 {
|
1518 |
-
background-position: -
|
1519 |
}
|
1520 |
|
1521 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_24 {
|
1522 |
-
background-position: -
|
1523 |
}
|
1524 |
|
1525 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_25 {
|
1526 |
-
background-position: -
|
1527 |
}
|
1528 |
|
1529 |
-
.sfsiplus_icns_tab_3 .
|
1530 |
-
background-position: -1045px
|
1531 |
}
|
1532 |
|
1533 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_1 {
|
1534 |
-
background-position:
|
1535 |
}
|
1536 |
|
1537 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_2 {
|
1538 |
-
background-position: -
|
1539 |
}
|
1540 |
|
1541 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_3 {
|
1542 |
-
background-position: -
|
1543 |
}
|
1544 |
|
1545 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_4 {
|
1546 |
-
background-position: -
|
1547 |
}
|
1548 |
|
1549 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_5 {
|
1550 |
-
background-position: -
|
1551 |
}
|
1552 |
|
1553 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_6 {
|
1554 |
-
background-position: -
|
1555 |
}
|
1556 |
|
1557 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_7 {
|
1558 |
-
background-position: -
|
1559 |
}
|
1560 |
|
1561 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_8 {
|
1562 |
-
background-position: -
|
1563 |
}
|
1564 |
|
1565 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_9 {
|
1566 |
-
background-position: -
|
1567 |
}
|
1568 |
|
1569 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_10 {
|
1570 |
-
background-position: -
|
1571 |
}
|
1572 |
|
1573 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_11 {
|
1574 |
-
background-position: -
|
1575 |
}
|
1576 |
|
1577 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_22 {
|
1578 |
-
background-position: -
|
1579 |
}
|
1580 |
|
1581 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_23 {
|
1582 |
-
background-position: -
|
1583 |
}
|
1584 |
|
1585 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_24 {
|
1586 |
-
background-position: -
|
1587 |
}
|
1588 |
|
1589 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_25 {
|
1590 |
-
background-position: -
|
1591 |
}
|
1592 |
|
1593 |
-
.sfsiplus_icns_tab_3 .
|
1594 |
-
background-position: -1045px
|
1595 |
}
|
1596 |
|
1597 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_1 {
|
1598 |
-
background-position:
|
1599 |
}
|
1600 |
|
1601 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_2 {
|
1602 |
-
background-position: -
|
1603 |
}
|
1604 |
|
1605 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_3 {
|
1606 |
-
background-position: -
|
1607 |
}
|
1608 |
|
1609 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_4 {
|
1610 |
-
background-position: -
|
1611 |
}
|
1612 |
|
1613 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_5 {
|
1614 |
-
background-position: -
|
1615 |
}
|
1616 |
|
1617 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_6 {
|
1618 |
-
background-position: -
|
1619 |
}
|
1620 |
|
1621 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_7 {
|
1622 |
-
background-position: -
|
1623 |
}
|
1624 |
|
1625 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_8 {
|
1626 |
-
background-position: -
|
1627 |
}
|
1628 |
|
1629 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_9 {
|
1630 |
-
background-position: -
|
1631 |
}
|
1632 |
|
1633 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_10 {
|
1634 |
-
background-position: -
|
1635 |
}
|
1636 |
|
1637 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_11 {
|
1638 |
-
background-position: -
|
1639 |
}
|
1640 |
|
1641 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_22 {
|
1642 |
-
background-position: -
|
1643 |
}
|
1644 |
|
1645 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_23 {
|
1646 |
-
background-position: -
|
1647 |
}
|
1648 |
|
1649 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_24 {
|
1650 |
-
background-position: -
|
1651 |
}
|
1652 |
|
1653 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_25 {
|
1654 |
-
background-position: -
|
1655 |
}
|
1656 |
|
1657 |
-
.sfsiplus_icns_tab_3 .
|
1658 |
-
background-position: -1045px
|
1659 |
}
|
1660 |
|
1661 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_1 {
|
1662 |
-
background-position:
|
1663 |
}
|
1664 |
|
1665 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_2 {
|
1666 |
-
background-position: -
|
1667 |
}
|
1668 |
|
1669 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_3 {
|
1670 |
-
background-position: -
|
1671 |
}
|
1672 |
|
1673 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_4 {
|
1674 |
-
background-position: -
|
1675 |
}
|
1676 |
|
1677 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_5 {
|
1678 |
-
background-position: -
|
1679 |
}
|
1680 |
|
1681 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_6 {
|
1682 |
-
background-position: -
|
1683 |
}
|
1684 |
|
1685 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_7 {
|
1686 |
-
background-position: -
|
1687 |
}
|
1688 |
|
1689 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_8 {
|
1690 |
-
background-position: -
|
1691 |
}
|
1692 |
|
1693 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_9 {
|
1694 |
-
background-position: -
|
1695 |
}
|
1696 |
|
1697 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_10 {
|
1698 |
-
background-position: -
|
1699 |
}
|
1700 |
|
1701 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_11 {
|
1702 |
-
background-position: -
|
1703 |
}
|
1704 |
|
1705 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_22 {
|
1706 |
-
background-position: -
|
1707 |
}
|
1708 |
|
1709 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_23 {
|
1710 |
-
background-position: -
|
1711 |
}
|
1712 |
|
1713 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_24 {
|
1714 |
-
background-position: -
|
1715 |
}
|
1716 |
|
1717 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_25 {
|
1718 |
-
background-position: -
|
1719 |
}
|
1720 |
|
1721 |
-
.sfsiplus_icns_tab_3 .
|
1722 |
-
background-position: -1045px
|
1723 |
}
|
1724 |
|
1725 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_1 {
|
1726 |
-
background-position:
|
1727 |
}
|
1728 |
|
1729 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_2 {
|
1730 |
-
background-position: -
|
1731 |
}
|
1732 |
|
1733 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_3 {
|
1734 |
-
background-position: -
|
1735 |
}
|
1736 |
|
1737 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_4 {
|
1738 |
-
background-position: -
|
1739 |
}
|
1740 |
|
1741 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_5 {
|
1742 |
-
background-position: -
|
1743 |
}
|
1744 |
|
1745 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_6 {
|
1746 |
-
background-position: -
|
1747 |
}
|
1748 |
|
1749 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_7 {
|
1750 |
-
background-position: -
|
1751 |
}
|
1752 |
|
1753 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_8 {
|
1754 |
-
background-position: -
|
1755 |
}
|
1756 |
|
1757 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_9 {
|
1758 |
-
background-position: -
|
1759 |
}
|
1760 |
|
1761 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_10 {
|
1762 |
-
background-position: -
|
1763 |
}
|
1764 |
|
1765 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_11 {
|
1766 |
-
background-position: -
|
1767 |
}
|
1768 |
|
1769 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_22 {
|
1770 |
-
background-position: -
|
1771 |
}
|
1772 |
|
1773 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_23 {
|
1774 |
-
background-position: -
|
1775 |
}
|
1776 |
|
1777 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_24 {
|
1778 |
-
background-position: -
|
1779 |
}
|
1780 |
|
1781 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25 {
|
1782 |
-
background-position: -
|
1783 |
}
|
1784 |
|
1785 |
-
.sfsiplus_icns_tab_3 .
|
1786 |
-
background-position: -1045px
|
1787 |
}
|
1788 |
|
1789 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_1 {
|
1790 |
-
background-position:
|
1791 |
}
|
1792 |
|
1793 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_2 {
|
1794 |
-
background-position: -
|
1795 |
}
|
1796 |
|
1797 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_3 {
|
1798 |
-
background-position: -
|
1799 |
}
|
1800 |
|
1801 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_4 {
|
1802 |
-
background-position: -
|
1803 |
}
|
1804 |
|
1805 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_5 {
|
1806 |
-
background-position: -
|
1807 |
}
|
1808 |
|
1809 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_6 {
|
1810 |
-
background-position: -
|
1811 |
}
|
1812 |
|
1813 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_7 {
|
1814 |
-
background-position: -
|
1815 |
}
|
1816 |
|
1817 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_8 {
|
1818 |
-
background-position: -
|
1819 |
}
|
1820 |
|
1821 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_9 {
|
1822 |
-
background-position: -
|
1823 |
}
|
1824 |
|
1825 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_10 {
|
1826 |
-
background-position: -
|
1827 |
}
|
1828 |
|
1829 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_11 {
|
1830 |
-
background-position: -
|
1831 |
}
|
1832 |
|
1833 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_22 {
|
1834 |
-
background-position: -
|
1835 |
}
|
1836 |
|
1837 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_23 {
|
1838 |
-
background-position: -
|
1839 |
}
|
1840 |
|
1841 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_24 {
|
1842 |
-
background-position: -
|
1843 |
}
|
1844 |
|
1845 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25 {
|
1846 |
-
background-position: -
|
1847 |
}
|
1848 |
|
1849 |
-
.sfsiplus_icns_tab_3 .
|
1850 |
-
background-position: -1045px
|
1851 |
}
|
1852 |
|
1853 |
/*Admin menu*/
|
49 |
.tab1 ul.plus_icn_listing li .sfsicls_share,
|
50 |
.tab1 ul.plus_icn_listing li .sfsicls_twt,
|
51 |
.tab1 ul.plus_icn_listing li .sfsicls_utube,
|
52 |
+
.tab1 ul.plus_icn_listing li .sfsicls_wechat,
|
53 |
+
.tab1 ul.plus_icn_listing li .sfsicls_whatsapp {
|
54 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
55 |
float: left;
|
56 |
padding: 0 0 0 59px;
|
135 |
color: #369;
|
136 |
}
|
137 |
|
138 |
+
.tab1 ul.plus_icn_listing li .sfsicls_whatsapp{
|
139 |
+
background-position: 0 -1099px;
|
140 |
+
}
|
141 |
+
|
142 |
.tab1 ul.plus_icn_listing li .sfsicls_ok {
|
143 |
background-position: 0 -1810px;
|
144 |
color: #369;
|
807 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25,
|
808 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25,
|
809 |
|
810 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_27,
|
811 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_27,
|
812 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_27,
|
813 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_27,
|
814 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_27,
|
815 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_27,
|
816 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_27,
|
817 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_27,
|
818 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_27,
|
819 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_27,
|
820 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_27,
|
821 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_27,
|
822 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_27,
|
823 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_27,
|
824 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_27,
|
825 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_27,
|
826 |
+
|
827 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_26,
|
828 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_26,
|
829 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_26,
|
849 |
}
|
850 |
|
851 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_1 {
|
852 |
+
background-position: -6px 0;
|
853 |
}
|
854 |
|
855 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_2 {
|
856 |
+
background-position: -65px 0 !important;
|
857 |
}
|
858 |
|
859 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_3 {
|
860 |
+
background-position: -123px 0;
|
861 |
}
|
862 |
|
863 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_4 {
|
864 |
+
background-position: -181px 0;
|
865 |
}
|
866 |
|
867 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_5 {
|
868 |
+
background-position: -240px 0;
|
869 |
}
|
870 |
|
871 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_6 {
|
872 |
+
background-position: -297px 0;
|
873 |
}
|
874 |
|
875 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_7 {
|
876 |
+
background-position: -356px 0;
|
877 |
}
|
878 |
|
879 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_8 {
|
880 |
+
background-position: -415px 0;
|
881 |
}
|
882 |
|
883 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_9 {
|
884 |
+
background-position: -473px 0;
|
885 |
}
|
886 |
|
887 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_10 {
|
888 |
+
background-position: -532px 0;
|
889 |
}
|
890 |
|
891 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_11 {
|
892 |
+
background-position: -717px 0;
|
893 |
}
|
894 |
|
895 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_22 {
|
896 |
+
background-position: -778px 0;
|
897 |
}
|
898 |
|
899 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_23 {
|
900 |
+
background-position: -845px 0;
|
901 |
}
|
902 |
|
903 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_24 {
|
904 |
+
background-position: -917px 0;
|
905 |
}
|
906 |
|
907 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_25 {
|
908 |
+
background-position: -982px 0;
|
909 |
}
|
910 |
|
911 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_27 {
|
912 |
background-position: -1045px 0;
|
913 |
}
|
914 |
|
915 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_1 {
|
916 |
+
background-position: -6px -74px;
|
917 |
}
|
918 |
|
919 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_2 {
|
920 |
+
background-position: -65px -74px !important;
|
921 |
}
|
922 |
|
923 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_3 {
|
924 |
+
background-position: -123px -74px;
|
925 |
}
|
926 |
|
927 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_4 {
|
928 |
+
background-position: -181px -74px;
|
929 |
}
|
930 |
|
931 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_5 {
|
932 |
+
background-position: -240px -74px;
|
933 |
}
|
934 |
|
935 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_6 {
|
936 |
+
background-position: -297px -74px;
|
937 |
}
|
938 |
|
939 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_7 {
|
940 |
+
background-position: -356px -74px;
|
941 |
}
|
942 |
|
943 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_8 {
|
944 |
+
background-position: -415px -74px;
|
945 |
}
|
946 |
|
947 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_9 {
|
948 |
+
background-position: -473px -74px;
|
949 |
}
|
950 |
|
951 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_10 {
|
952 |
+
background-position: -532px -74px;
|
953 |
}
|
954 |
|
955 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_11 {
|
956 |
+
background-position: -717px -74px;
|
957 |
}
|
958 |
|
959 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_22 {
|
960 |
+
background-position: -778px -74px;
|
961 |
}
|
962 |
|
963 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_23 {
|
964 |
+
background-position: -845px -74px;
|
965 |
}
|
966 |
|
967 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_24 {
|
968 |
+
background-position: -917px -74px;
|
969 |
}
|
970 |
|
971 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_25 {
|
972 |
+
background-position: -982px -74px;
|
973 |
}
|
974 |
|
975 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_27 {
|
976 |
+
background-position: -1045px -74px;
|
977 |
}
|
978 |
|
979 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_1 {
|
980 |
+
background-position: -6px -146px;
|
981 |
}
|
982 |
|
983 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_2 {
|
984 |
+
background-position: -65px -146px !important;
|
985 |
}
|
986 |
|
987 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_3 {
|
988 |
+
background-position: -123px -146px;
|
989 |
}
|
990 |
|
991 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_4 {
|
992 |
+
background-position: -181px -146px;
|
993 |
}
|
994 |
|
995 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_5 {
|
996 |
+
background-position: -240px -146px;
|
997 |
}
|
998 |
|
999 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_6 {
|
1000 |
+
background-position: -297px -146px;
|
1001 |
}
|
1002 |
|
1003 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_7 {
|
1004 |
+
background-position: -356px -146px;
|
1005 |
}
|
1006 |
|
1007 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_8 {
|
1008 |
+
background-position: -415px -146px;
|
1009 |
}
|
1010 |
|
1011 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_9 {
|
1012 |
+
background-position: -473px -146px;
|
1013 |
}
|
1014 |
|
1015 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_10 {
|
1016 |
+
background-position: -532px -146px;
|
1017 |
}
|
1018 |
|
1019 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_11 {
|
1020 |
+
background-position: -717px -147px;
|
1021 |
}
|
1022 |
|
1023 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_22 {
|
1024 |
+
background-position: -778px -147px;
|
1025 |
}
|
1026 |
|
1027 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_23 {
|
1028 |
+
background-position: -845px -147px;
|
1029 |
}
|
1030 |
|
1031 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_24 {
|
1032 |
+
background-position: -917px -147px;
|
1033 |
}
|
1034 |
|
1035 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_25 {
|
1036 |
+
background-position: -982px -147px;
|
1037 |
}
|
1038 |
|
1039 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_27 {
|
1040 |
+
background-position: -1045px -147px;
|
1041 |
}
|
1042 |
|
1043 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_1 {
|
1044 |
+
background-position: -6px -222px;
|
1045 |
}
|
1046 |
|
1047 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_2 {
|
1048 |
+
background-position: -65px -222px !important;
|
1049 |
}
|
1050 |
|
1051 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_3 {
|
1052 |
+
background-position: -123px -222px;
|
1053 |
}
|
1054 |
|
1055 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_4 {
|
1056 |
+
background-position: -181px -222px;
|
1057 |
}
|
1058 |
|
1059 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_5 {
|
1060 |
+
background-position: -240px -222px;
|
1061 |
}
|
1062 |
|
1063 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_6 {
|
1064 |
+
background-position: -297px -222px;
|
1065 |
}
|
1066 |
|
1067 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_7 {
|
1068 |
+
background-position: -356px -222px;
|
1069 |
}
|
1070 |
|
1071 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_8 {
|
1072 |
+
background-position: -415px -222px;
|
1073 |
}
|
1074 |
|
1075 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_9 {
|
1076 |
+
background-position: -473px -222px;
|
1077 |
}
|
1078 |
|
1079 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_10 {
|
1080 |
+
background-position: -532px -222px;
|
1081 |
}
|
1082 |
|
1083 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_11 {
|
1084 |
+
background-position: -717px -222px;
|
1085 |
}
|
1086 |
|
1087 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_22 {
|
1088 |
+
background-position: -778px -222px;
|
1089 |
}
|
1090 |
|
1091 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_23 {
|
1092 |
+
background-position: -845px -222px;
|
1093 |
}
|
1094 |
|
1095 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_24 {
|
1096 |
+
background-position: -917px -222px;
|
1097 |
}
|
1098 |
|
1099 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_25 {
|
1100 |
+
background-position: -982px -222px;
|
1101 |
}
|
1102 |
|
1103 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_27 {
|
1104 |
+
background-position: -1045px -222px;
|
1105 |
}
|
1106 |
|
1107 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_1 {
|
1108 |
+
background-position: -6px -296px;
|
1109 |
}
|
1110 |
|
1111 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_2 {
|
1112 |
+
background-position: -65px -296px !important;
|
1113 |
}
|
1114 |
|
1115 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_3 {
|
1116 |
+
background-position: -123px -296px;
|
1117 |
}
|
1118 |
|
1119 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_4 {
|
1120 |
+
background-position: -181px -296px;
|
1121 |
}
|
1122 |
|
1123 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_5 {
|
1124 |
+
background-position: -240px -296px;
|
1125 |
}
|
1126 |
|
1127 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_6 {
|
1128 |
+
background-position: -297px -296px;
|
1129 |
}
|
1130 |
|
1131 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_7 {
|
1132 |
+
background-position: -356px -296px;
|
1133 |
}
|
1134 |
|
1135 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_8 {
|
1136 |
+
background-position: -415px -296px;
|
1137 |
}
|
1138 |
|
1139 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_9 {
|
1140 |
+
background-position: -473px -296px;
|
1141 |
}
|
1142 |
|
1143 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_10 {
|
1144 |
+
background-position: -532px -296px;
|
1145 |
}
|
1146 |
|
1147 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_11 {
|
1148 |
+
background-position: -717px -296px;
|
1149 |
}
|
1150 |
|
1151 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_22 {
|
1152 |
+
background-position: -778px -296px;
|
1153 |
}
|
1154 |
|
1155 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_23 {
|
1156 |
+
background-position: -845px -296px;
|
1157 |
}
|
1158 |
|
1159 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_24 {
|
1160 |
+
background-position: -917px -296px;
|
1161 |
}
|
1162 |
|
1163 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_25 {
|
1164 |
+
background-position: -982px -296px;
|
1165 |
}
|
1166 |
|
1167 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_27 {
|
1168 |
+
background-position: -1045px -296px;
|
1169 |
}
|
1170 |
|
1171 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_1 {
|
1172 |
+
background-position: -6px -370px;
|
1173 |
}
|
1174 |
|
1175 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_2 {
|
1176 |
+
background-position: -65px -370px !important;
|
1177 |
}
|
1178 |
|
1179 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_3 {
|
1180 |
+
background-position: -123px -370px;
|
1181 |
}
|
1182 |
|
1183 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_4 {
|
1184 |
+
background-position: -181px -370px;
|
1185 |
}
|
1186 |
|
1187 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_5 {
|
1188 |
+
background-position: -240px -370px;
|
1189 |
}
|
1190 |
|
1191 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_6 {
|
1192 |
+
background-position: -297px -370px;
|
1193 |
}
|
1194 |
|
1195 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_7 {
|
1196 |
+
background-position: -356px -370px;
|
1197 |
}
|
1198 |
|
1199 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_8 {
|
1200 |
+
background-position: -415px -370px;
|
1201 |
}
|
1202 |
|
1203 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_9 {
|
1205 |
}
|
1206 |
|
1207 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_10 {
|
1208 |
+
background-position: -532px -370px;
|
1209 |
}
|
1210 |
|
1211 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_11 {
|
1212 |
+
background-position: -717px -370px;
|
1213 |
}
|
1214 |
|
1215 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_22 {
|
1216 |
+
background-position: -778px -370px;
|
1217 |
}
|
1218 |
|
1219 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_23 {
|
1220 |
+
background-position: -845px -370px;
|
1221 |
}
|
1222 |
|
1223 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_24 {
|
1224 |
+
background-position: -917px -370px;
|
1225 |
}
|
1226 |
|
1227 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_25 {
|
1228 |
+
background-position: -982px -370px;
|
1229 |
}
|
1230 |
|
1231 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_27 {
|
1232 |
+
background-position: -1045px -370px;
|
1233 |
}
|
1234 |
|
1235 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_1 {
|
1236 |
+
background-position: -6px -444px;
|
1237 |
}
|
1238 |
|
1239 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_2 {
|
1240 |
+
background-position: -65px -444px !important;
|
1241 |
}
|
1242 |
|
1243 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_3 {
|
1244 |
+
background-position: -123px -444px;
|
1245 |
}
|
1246 |
|
1247 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_4 {
|
1248 |
+
background-position: -181px -444px;
|
1249 |
}
|
1250 |
|
1251 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_5 {
|
1252 |
+
background-position: -240px -444px;
|
1253 |
}
|
1254 |
|
1255 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_6 {
|
1256 |
+
background-position: -297px -444px;
|
1257 |
}
|
1258 |
|
1259 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_7 {
|
1260 |
+
background-position: -356px -444px;
|
1261 |
}
|
1262 |
|
1263 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_8 {
|
1264 |
+
background-position: -415px -444px;
|
1265 |
}
|
1266 |
|
1267 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_9 {
|
1269 |
}
|
1270 |
|
1271 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_10 {
|
1272 |
+
background-position: -532px -444px;
|
1273 |
}
|
1274 |
|
1275 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_11 {
|
1276 |
+
background-position: -717px -444px;
|
1277 |
}
|
1278 |
|
1279 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_22 {
|
1280 |
+
background-position: -778px -444px;
|
1281 |
}
|
1282 |
|
1283 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_23 {
|
1284 |
+
background-position: -845px -444px;
|
1285 |
}
|
1286 |
|
1287 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_24 {
|
1288 |
+
background-position: -917px -444px;
|
1289 |
}
|
1290 |
|
1291 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_25 {
|
1292 |
+
background-position: -982px -444px;
|
1293 |
}
|
1294 |
|
1295 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_27 {
|
1296 |
+
background-position: -1045px -444px;
|
1297 |
}
|
1298 |
|
1299 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_1 {
|
1300 |
+
background-position: -6px -518px;
|
1301 |
}
|
1302 |
|
1303 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_2 {
|
1304 |
+
background-position: -65px -518px !important;
|
1305 |
}
|
1306 |
|
1307 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_3 {
|
1308 |
+
background-position: -123px -518px;
|
1309 |
}
|
1310 |
|
1311 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_4 {
|
1312 |
+
background-position: -181px -518px;
|
1313 |
}
|
1314 |
|
1315 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_5 {
|
1316 |
+
background-position: -240px -518px;
|
1317 |
}
|
1318 |
|
1319 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_6 {
|
1320 |
+
background-position: -297px -518px;
|
1321 |
}
|
1322 |
|
1323 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_7 {
|
1324 |
+
background-position: -356px -518px;
|
1325 |
}
|
1326 |
|
1327 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_8 {
|
1328 |
+
background-position: -415px -518px;
|
1329 |
}
|
1330 |
|
1331 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_9 {
|
1332 |
+
background-position: -473px -518px;
|
1333 |
}
|
1334 |
|
1335 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_10 {
|
1336 |
+
background-position: -532px -518px;
|
1337 |
}
|
1338 |
|
1339 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_11 {
|
1340 |
+
background-position: -717px -518px;
|
1341 |
}
|
1342 |
|
1343 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_22 {
|
1344 |
+
background-position: -778px -518px;
|
1345 |
}
|
1346 |
|
1347 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_23 {
|
1348 |
+
background-position: -845px -518px;
|
1349 |
}
|
1350 |
|
1351 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_24 {
|
1352 |
+
background-position: -917px -518px;
|
1353 |
}
|
1354 |
|
1355 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_25 {
|
1356 |
+
background-position: -982px -518px;
|
1357 |
}
|
1358 |
|
1359 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_27 {
|
1360 |
+
background-position: -1045px -518px;
|
1361 |
}
|
1362 |
|
1363 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_1 {
|
1364 |
+
background-position: -6px -592px;
|
1365 |
}
|
1366 |
|
1367 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_2 {
|
1368 |
+
background-position: -65px -592px !important;
|
1369 |
}
|
1370 |
|
1371 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_3 {
|
1372 |
+
background-position: -123px -592px;
|
1373 |
}
|
1374 |
|
1375 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_4 {
|
1376 |
+
background-position: -181px -592px;
|
1377 |
}
|
1378 |
|
1379 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_5 {
|
1380 |
+
background-position: -240px -592px;
|
1381 |
}
|
1382 |
|
1383 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_6 {
|
1384 |
+
background-position: -297px -592px;
|
1385 |
}
|
1386 |
|
1387 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_7 {
|
1388 |
+
background-position: -356px -592px;
|
1389 |
}
|
1390 |
|
1391 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_8 {
|
1392 |
+
background-position: -415px -592px;
|
1393 |
}
|
1394 |
|
1395 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_9 {
|
1396 |
+
background-position: -473px -592px;
|
1397 |
}
|
1398 |
|
1399 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_10 {
|
1400 |
+
background-position: -532px -592px;
|
1401 |
}
|
1402 |
|
1403 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_11 {
|
1404 |
+
background-position: -717px -592px;
|
1405 |
}
|
1406 |
|
1407 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_22 {
|
1408 |
+
background-position: -778px -592px;
|
1409 |
}
|
1410 |
|
1411 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_23 {
|
1412 |
+
background-position: -845px -592px;
|
1413 |
}
|
1414 |
|
1415 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_24 {
|
1416 |
+
background-position: -917px -592px;
|
1417 |
}
|
1418 |
|
1419 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_25 {
|
1420 |
+
background-position: -982px -592px;
|
1421 |
}
|
1422 |
|
1423 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_27 {
|
1424 |
+
background-position: -1045px -592px;
|
1425 |
}
|
1426 |
|
1427 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1 {
|
1428 |
+
background-position: -6px -666px;
|
1429 |
}
|
1430 |
|
1431 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_2 {
|
1432 |
+
background-position: -65px -666px !important;
|
1433 |
}
|
1434 |
|
1435 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_3 {
|
1436 |
+
background-position: -123px -666px;
|
1437 |
}
|
1438 |
|
1439 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_4 {
|
1440 |
+
background-position: -181px -666px;
|
1441 |
}
|
1442 |
|
1443 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_5 {
|
1444 |
+
background-position: -240px -666px;
|
1445 |
}
|
1446 |
|
1447 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_6 {
|
1448 |
+
background-position: -297px -666px;
|
1449 |
}
|
1450 |
|
1451 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_7 {
|
1452 |
+
background-position: -356px -666px;
|
1453 |
}
|
1454 |
|
1455 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_8 {
|
1456 |
+
background-position: -415px -666px;
|
1457 |
}
|
1458 |
|
1459 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_9 {
|
1460 |
+
background-position: -473px -666px;
|
1461 |
}
|
1462 |
|
1463 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_10 {
|
1464 |
+
background-position: -532px -666px;
|
1465 |
}
|
1466 |
|
1467 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_11 {
|
1468 |
+
background-position: -717px -666px;
|
1469 |
}
|
1470 |
|
1471 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_22 {
|
1472 |
+
background-position: -778px -666px;
|
1473 |
}
|
1474 |
|
1475 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_23 {
|
1476 |
+
background-position: -845px -666px;
|
1477 |
}
|
1478 |
|
1479 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_24 {
|
1480 |
+
background-position: -917px -666px;
|
1481 |
}
|
1482 |
|
1483 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_25 {
|
1484 |
+
background-position: -982px -666px;
|
1485 |
}
|
1486 |
|
1487 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_27 {
|
1488 |
+
background-position: -1045px -666px;
|
1489 |
}
|
1490 |
|
1491 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_1 {
|
1492 |
+
background-position: -6px -740px;
|
1493 |
}
|
1494 |
|
1495 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_2 {
|
1496 |
+
background-position: -65px -740px !important;
|
1497 |
}
|
1498 |
|
1499 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_3 {
|
1500 |
+
background-position: -123px -740px;
|
1501 |
}
|
1502 |
|
1503 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_4 {
|
1504 |
+
background-position: -181px -740px;
|
1505 |
}
|
1506 |
|
1507 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_5 {
|
1508 |
+
background-position: -240px -740px;
|
1509 |
}
|
1510 |
|
1511 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_6 {
|
1512 |
+
background-position: -297px -740px;
|
1513 |
}
|
1514 |
|
1515 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_7 {
|
1516 |
+
background-position: -356px -740px;
|
1517 |
}
|
1518 |
|
1519 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_8 {
|
1520 |
+
background-position: -415px -740px;
|
1521 |
}
|
1522 |
|
1523 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_9 {
|
1524 |
+
background-position: -473px -740px;
|
1525 |
}
|
1526 |
|
1527 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_10 {
|
1528 |
+
background-position: -532px -740px;
|
1529 |
}
|
1530 |
|
1531 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_11 {
|
1532 |
+
background-position: -717px -740px;
|
1533 |
}
|
1534 |
|
1535 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_22 {
|
1536 |
+
background-position: -778px -740px;
|
1537 |
}
|
1538 |
|
1539 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_23 {
|
1540 |
+
background-position: -845px -740px;
|
1541 |
}
|
1542 |
|
1543 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_24 {
|
1544 |
+
background-position: -917px -740px;
|
1545 |
}
|
1546 |
|
1547 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_25 {
|
1548 |
+
background-position: -982px -740px;
|
1549 |
}
|
1550 |
|
1551 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_27 {
|
1552 |
+
background-position: -1045px -740px;
|
1553 |
}
|
1554 |
|
1555 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_1 {
|
1556 |
+
background-position: -6px -814px;
|
1557 |
}
|
1558 |
|
1559 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_2 {
|
1560 |
+
background-position: -65px -814px !important;
|
1561 |
}
|
1562 |
|
1563 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_3 {
|
1564 |
+
background-position: -123px -814px;
|
1565 |
}
|
1566 |
|
1567 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_4 {
|
1568 |
+
background-position: -181px -814px;
|
1569 |
}
|
1570 |
|
1571 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_5 {
|
1572 |
+
background-position: -240px -814px;
|
1573 |
}
|
1574 |
|
1575 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_6 {
|
1576 |
+
background-position: -297px -814px;
|
1577 |
}
|
1578 |
|
1579 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_7 {
|
1580 |
+
background-position: -356px -814px;
|
1581 |
}
|
1582 |
|
1583 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_8 {
|
1584 |
+
background-position: -415px -814px;
|
1585 |
}
|
1586 |
|
1587 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_9 {
|
1588 |
+
background-position: -473px -814px;
|
1589 |
}
|
1590 |
|
1591 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_10 {
|
1592 |
+
background-position: -532px -814px;
|
1593 |
}
|
1594 |
|
1595 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_11 {
|
1596 |
+
background-position: -717px -814px;
|
1597 |
}
|
1598 |
|
1599 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_22 {
|
1600 |
+
background-position: -778px -814px;
|
1601 |
}
|
1602 |
|
1603 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_23 {
|
1604 |
+
background-position: -845px -814px;
|
1605 |
}
|
1606 |
|
1607 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_24 {
|
1608 |
+
background-position: -917px -814px;
|
1609 |
}
|
1610 |
|
1611 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_25 {
|
1612 |
+
background-position: -982px -814px;
|
1613 |
}
|
1614 |
|
1615 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_27 {
|
1616 |
+
background-position: -1045px -814px;
|
1617 |
}
|
1618 |
|
1619 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_1 {
|
1620 |
+
background-position: -6px -888px;
|
1621 |
}
|
1622 |
|
1623 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_2 {
|
1624 |
+
background-position: -65px -888px !important;
|
1625 |
}
|
1626 |
|
1627 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_3 {
|
1628 |
+
background-position: -123px -888px;
|
1629 |
}
|
1630 |
|
1631 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_4 {
|
1632 |
+
background-position: -181px -888px;
|
1633 |
}
|
1634 |
|
1635 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_5 {
|
1636 |
+
background-position: -240px -888px;
|
1637 |
}
|
1638 |
|
1639 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_6 {
|
1640 |
+
background-position: -297px -888px;
|
1641 |
}
|
1642 |
|
1643 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_7 {
|
1644 |
+
background-position: -356px -888px;
|
1645 |
}
|
1646 |
|
1647 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_8 {
|
1648 |
+
background-position: -415px -888px;
|
1649 |
}
|
1650 |
|
1651 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_9 {
|
1652 |
+
background-position: -473px -888px;
|
1653 |
}
|
1654 |
|
1655 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_10 {
|
1656 |
+
background-position: -532px -888px;
|
1657 |
}
|
1658 |
|
1659 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_11 {
|
1660 |
+
background-position: -717px -888px;
|
1661 |
}
|
1662 |
|
1663 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_22 {
|
1664 |
+
background-position: -778px -888px;
|
1665 |
}
|
1666 |
|
1667 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_23 {
|
1668 |
+
background-position: -845px -888px;
|
1669 |
}
|
1670 |
|
1671 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_24 {
|
1672 |
+
background-position: -917px -888px;
|
1673 |
}
|
1674 |
|
1675 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_25 {
|
1676 |
+
background-position: -982px -888px;
|
1677 |
}
|
1678 |
|
1679 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_27 {
|
1680 |
+
background-position: -1045px -888px;
|
1681 |
}
|
1682 |
|
1683 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_1 {
|
1684 |
+
background-position: -6px -962px;
|
1685 |
}
|
1686 |
|
1687 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_2 {
|
1688 |
+
background-position: -65px -962px !important;
|
1689 |
}
|
1690 |
|
1691 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_3 {
|
1692 |
+
background-position: -123px -962px;
|
1693 |
}
|
1694 |
|
1695 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_4 {
|
1696 |
+
background-position: -181px -962px;
|
1697 |
}
|
1698 |
|
1699 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_5 {
|
1700 |
+
background-position: -240px -962px;
|
1701 |
}
|
1702 |
|
1703 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_6 {
|
1704 |
+
background-position: -297px -962px;
|
1705 |
}
|
1706 |
|
1707 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_7 {
|
1708 |
+
background-position: -356px -962px;
|
1709 |
}
|
1710 |
|
1711 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_8 {
|
1712 |
+
background-position: -415px -962px;
|
1713 |
}
|
1714 |
|
1715 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_9 {
|
1716 |
+
background-position: -473px -962px;
|
1717 |
}
|
1718 |
|
1719 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_10 {
|
1720 |
+
background-position: -532px -962px;
|
1721 |
}
|
1722 |
|
1723 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_11 {
|
1724 |
+
background-position: -717px -962px;
|
1725 |
}
|
1726 |
|
1727 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_22 {
|
1728 |
+
background-position: -778px -962px;
|
1729 |
}
|
1730 |
|
1731 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_23 {
|
1732 |
+
background-position: -845px -962px;
|
1733 |
}
|
1734 |
|
1735 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_24 {
|
1736 |
+
background-position: -917px -962px;
|
1737 |
}
|
1738 |
|
1739 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_25 {
|
1740 |
+
background-position: -982px -962px;
|
1741 |
}
|
1742 |
|
1743 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_27 {
|
1744 |
+
background-position: -1045px -962px;
|
1745 |
}
|
1746 |
|
1747 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_1 {
|
1748 |
+
background-position: -6px -1036px;
|
1749 |
}
|
1750 |
|
1751 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_2 {
|
1752 |
+
background-position: -65px -1036px !important;
|
1753 |
}
|
1754 |
|
1755 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_3 {
|
1756 |
+
background-position: -123px -1036px;
|
1757 |
}
|
1758 |
|
1759 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_4 {
|
1760 |
+
background-position: -181px -1036px;
|
1761 |
}
|
1762 |
|
1763 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_5 {
|
1764 |
+
background-position: -240px -1036px;
|
1765 |
}
|
1766 |
|
1767 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_6 {
|
1768 |
+
background-position: -297px -1036px;
|
1769 |
}
|
1770 |
|
1771 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_7 {
|
1772 |
+
background-position: -356px -1036px;
|
1773 |
}
|
1774 |
|
1775 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_8 {
|
1776 |
+
background-position: -415px -1036px;
|
1777 |
}
|
1778 |
|
1779 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_9 {
|
1780 |
+
background-position: -473px -1036px;
|
1781 |
}
|
1782 |
|
1783 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_10 {
|
1784 |
+
background-position: -532px -1036px;
|
1785 |
}
|
1786 |
|
1787 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_11 {
|
1788 |
+
background-position: -717px -1036px;
|
1789 |
}
|
1790 |
|
1791 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_22 {
|
1792 |
+
background-position: -778px -1036px;
|
1793 |
}
|
1794 |
|
1795 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_23 {
|
1796 |
+
background-position: -845px -1036px;
|
1797 |
}
|
1798 |
|
1799 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_24 {
|
1800 |
+
background-position: -917px -1036px;
|
1801 |
}
|
1802 |
|
1803 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25 {
|
1804 |
+
background-position: -982px -1036px;
|
1805 |
}
|
1806 |
|
1807 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_27 {
|
1808 |
+
background-position: -1045px -1036px;
|
1809 |
}
|
1810 |
|
1811 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_1 {
|
1812 |
+
background-position: -6px -1109px;
|
1813 |
}
|
1814 |
|
1815 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_2 {
|
1816 |
+
background-position: -65px -1109px !important;
|
1817 |
}
|
1818 |
|
1819 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_3 {
|
1820 |
+
background-position: -123px -1109px;
|
1821 |
}
|
1822 |
|
1823 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_4 {
|
1824 |
+
background-position: -181px -1109px;
|
1825 |
}
|
1826 |
|
1827 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_5 {
|
1828 |
+
background-position: -240px -1109px;
|
1829 |
}
|
1830 |
|
1831 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_6 {
|
1832 |
+
background-position: -297px -1109px;
|
1833 |
}
|
1834 |
|
1835 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_7 {
|
1836 |
+
background-position: -356px -1109px;
|
1837 |
}
|
1838 |
|
1839 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_8 {
|
1840 |
+
background-position: -415px -1109px;
|
1841 |
}
|
1842 |
|
1843 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_9 {
|
1844 |
+
background-position: -473px -1109px;
|
1845 |
}
|
1846 |
|
1847 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_10 {
|
1848 |
+
background-position: -532px -1109px;
|
1849 |
}
|
1850 |
|
1851 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_11 {
|
1852 |
+
background-position: -717px -1109px;
|
1853 |
}
|
1854 |
|
1855 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_22 {
|
1856 |
+
background-position: -778px -1109px;
|
1857 |
}
|
1858 |
|
1859 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_23 {
|
1860 |
+
background-position: -845px -1109px;
|
1861 |
}
|
1862 |
|
1863 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_24 {
|
1864 |
+
background-position: -917px -1109px;
|
1865 |
}
|
1866 |
|
1867 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25 {
|
1868 |
+
background-position: -982px -1109px;
|
1869 |
}
|
1870 |
|
1871 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_27 {
|
1872 |
+
background-position: -1045px -1109px;
|
1873 |
}
|
1874 |
|
1875 |
/*Admin menu*/
|
css/sfsi-style.css
CHANGED
@@ -2059,7 +2059,7 @@ ul.tab_3_list li span {
|
|
2059 |
}
|
2060 |
|
2061 |
.tab7 .pop_up_show label {
|
2062 |
-
font-family: helveticaneue-light!important;
|
2063 |
}
|
2064 |
|
2065 |
.tab7 .save_button {
|
@@ -2806,6 +2806,7 @@ h2.optional {
|
|
2806 |
.sfsi_mainContainer textarea {
|
2807 |
color: #5a6570 !important;
|
2808 |
}
|
|
|
2809 |
.sfsi_mainContainer input[type=email],
|
2810 |
.sfsi_mainContainer input[type=number],
|
2811 |
.sfsi_mainContainer input[type=password],
|
@@ -2953,7 +2954,7 @@ h2.optional {
|
|
2953 |
.sfsi_plus_Sicons .sf_twiter {
|
2954 |
margin: 1px 4px 0 2px;
|
2955 |
line-height: 19px;
|
2956 |
-
height:32px;
|
2957 |
}
|
2958 |
|
2959 |
.sfsi_plus_Sicons.left .sf_subscrbe {
|
@@ -4973,3 +4974,196 @@ a.pop-up .radio {
|
|
4973 |
margin-bottom: -15px;
|
4974 |
}
|
4975 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2059 |
}
|
2060 |
|
2061 |
.tab7 .pop_up_show label {
|
2062 |
+
font-family: helveticaneue-light !important;
|
2063 |
}
|
2064 |
|
2065 |
.tab7 .save_button {
|
2806 |
.sfsi_mainContainer textarea {
|
2807 |
color: #5a6570 !important;
|
2808 |
}
|
2809 |
+
|
2810 |
.sfsi_mainContainer input[type=email],
|
2811 |
.sfsi_mainContainer input[type=number],
|
2812 |
.sfsi_mainContainer input[type=password],
|
2954 |
.sfsi_plus_Sicons .sf_twiter {
|
2955 |
margin: 1px 4px 0 2px;
|
2956 |
line-height: 19px;
|
2957 |
+
height: 32px;
|
2958 |
}
|
2959 |
|
2960 |
.sfsi_plus_Sicons.left .sf_subscrbe {
|
4974 |
margin-bottom: -15px;
|
4975 |
}
|
4976 |
|
4977 |
+
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,600&display=swap');
|
4978 |
+
|
4979 |
+
#wpse1_6817 * {
|
4980 |
+
font-family: 'helveticaneue-light';
|
4981 |
+
font-weight: 300;
|
4982 |
+
font-size: 17px;
|
4983 |
+
-webkit-touch-callout: none;
|
4984 |
+
-webkit-user-select: none;
|
4985 |
+
-khtml-user-select: none;
|
4986 |
+
-moz-user-select: none;
|
4987 |
+
-ms-user-select: none;
|
4988 |
+
user-select: none;
|
4989 |
+
}
|
4990 |
+
|
4991 |
+
#wpse1_6817 b,
|
4992 |
+
#wpse1_6817_who b {
|
4993 |
+
font-family: 'helveticaneue-light';
|
4994 |
+
font-weight: 600 !important;
|
4995 |
+
}
|
4996 |
+
|
4997 |
+
#wpse1_6817_who {
|
4998 |
+
font-family: 'helveticaneue-light';
|
4999 |
+
text-align: right;
|
5000 |
+
max-width: 1169px;
|
5001 |
+
margin-left: 2px;
|
5002 |
+
margin-top: 1px;
|
5003 |
+
}
|
5004 |
+
|
5005 |
+
#wpse1_6817 {
|
5006 |
+
background: #fff;
|
5007 |
+
border: 2px solid #4fbe99;
|
5008 |
+
border-radius: 3px;
|
5009 |
+
max-width: 1413px;
|
5010 |
+
margin-top: 20px;
|
5011 |
+
padding: 15px 20px;
|
5012 |
+
margin-right: 20px;
|
5013 |
+
background: url('../images/wpse1_6817_cdp_bg.png');
|
5014 |
+
background-repeat: no-repeat;
|
5015 |
+
background-position: center;
|
5016 |
+
background-size: cover;
|
5017 |
+
}
|
5018 |
+
|
5019 |
+
#wpse1_6817_container {
|
5020 |
+
position: relative;
|
5021 |
+
line-height: 20px;
|
5022 |
+
display: flex;
|
5023 |
+
align-items: center;
|
5024 |
+
justify-content: space-between;
|
5025 |
+
}
|
5026 |
+
|
5027 |
+
/* #wpse1_6817_container::after {
|
5028 |
+
content: '';
|
5029 |
+
display: block;
|
5030 |
+
clear: both;
|
5031 |
+
} */
|
5032 |
+
|
5033 |
+
#wpse1_6817_text {
|
5034 |
+
float: left;
|
5035 |
+
line-height: 22px;
|
5036 |
+
padding-left: 70px;
|
5037 |
+
padding-top: 2px;
|
5038 |
+
}
|
5039 |
+
|
5040 |
+
#wpse1_6817_img {
|
5041 |
+
position: absolute;
|
5042 |
+
pointer-events: none;
|
5043 |
+
}
|
5044 |
+
|
5045 |
+
#wpse1_6817_btns {
|
5046 |
+
float: right;
|
5047 |
+
top: 4px;
|
5048 |
+
position: relative;
|
5049 |
+
}
|
5050 |
+
|
5051 |
+
#wpse1_6817_other {
|
5052 |
+
float: left;
|
5053 |
+
white-space: nowrap;
|
5054 |
+
overflow: hidden;
|
5055 |
+
text-overflow: clip;
|
5056 |
+
display: flex;
|
5057 |
+
}
|
5058 |
+
|
5059 |
+
#wpse1_6817_btns::after {
|
5060 |
+
content: '';
|
5061 |
+
display: block;
|
5062 |
+
clear: both;
|
5063 |
+
}
|
5064 |
+
|
5065 |
+
#wpse1_6817_install {
|
5066 |
+
float: left;
|
5067 |
+
}
|
5068 |
+
|
5069 |
+
#wpse1_6817_show {
|
5070 |
+
display: inline-block;
|
5071 |
+
padding-left: 20px;
|
5072 |
+
white-space: nowrap;
|
5073 |
+
overflow: hidden;
|
5074 |
+
text-overflow: clip;
|
5075 |
+
}
|
5076 |
+
|
5077 |
+
#wpse1_6817_dismiss {
|
5078 |
+
display: inline-block;
|
5079 |
+
padding-left: 29px;
|
5080 |
+
white-space: nowrap;
|
5081 |
+
overflow: hidden;
|
5082 |
+
text-overflow: clip;
|
5083 |
+
}
|
5084 |
+
|
5085 |
+
#wpse1_6817_dismiss span {
|
5086 |
+
transition: all .3s;
|
5087 |
+
}
|
5088 |
+
|
5089 |
+
#wpse1_6817_show a {
|
5090 |
+
line-height: 48px;
|
5091 |
+
color: #000;
|
5092 |
+
text-decoration: none !important;
|
5093 |
+
cursor: pointer;
|
5094 |
+
}
|
5095 |
+
|
5096 |
+
#wpse1_6817_dismiss input {
|
5097 |
+
line-height: 48px;
|
5098 |
+
color: #c5c5c5;
|
5099 |
+
text-decoration: none !important;
|
5100 |
+
cursor: pointer;
|
5101 |
+
border: 0px #000 solid;
|
5102 |
+
background-color: inherit;
|
5103 |
+
cursor: pointer;
|
5104 |
+
}
|
5105 |
+
|
5106 |
+
#wpse1_6817_show a,
|
5107 |
+
#wpse1_6817_dismiss a {
|
5108 |
+
opacity: 1;
|
5109 |
+
transition: all .3s;
|
5110 |
+
}
|
5111 |
+
|
5112 |
+
#wpse1_6817_show a:hover,
|
5113 |
+
#wpse1_6817_dismiss a:hover {
|
5114 |
+
opacity: .6;
|
5115 |
+
}
|
5116 |
+
|
5117 |
+
#wpse1_6817_install button {
|
5118 |
+
border: 0;
|
5119 |
+
outline: none;
|
5120 |
+
width: 238px;
|
5121 |
+
max-width: 238px;
|
5122 |
+
height: 48px;
|
5123 |
+
max-height: 48px;
|
5124 |
+
cursor: pointer;
|
5125 |
+
background: url('../images/wpse1_6817_cdp_button.png');
|
5126 |
+
background-repeat: no-repeat;
|
5127 |
+
background-position: center;
|
5128 |
+
background-size: cover;
|
5129 |
+
border-radius: 30px;
|
5130 |
+
opacity: 1;
|
5131 |
+
transition: all .3s;
|
5132 |
+
}
|
5133 |
+
|
5134 |
+
#wpse1_6817_install button:hover {
|
5135 |
+
opacity: .8;
|
5136 |
+
}
|
5137 |
+
|
5138 |
+
@media screen and (max-width: 1375px) {
|
5139 |
+
#wpse1_6817_who {
|
5140 |
+
max-width: calc(100% - 25px);
|
5141 |
+
margin-left: 2px;
|
5142 |
+
margin-top: 1px;
|
5143 |
+
}
|
5144 |
+
}
|
5145 |
+
|
5146 |
+
@media screen and (max-width: 1320px) {
|
5147 |
+
#wpse1_6817_btns {
|
5148 |
+
float: left;
|
5149 |
+
}
|
5150 |
+
|
5151 |
+
#wpse1_6817_btns:not(.wpse1_6817_btns_installing) {
|
5152 |
+
padding-left: 69px;
|
5153 |
+
}
|
5154 |
+
|
5155 |
+
#wpse1_6817_text {
|
5156 |
+
float: none !important;
|
5157 |
+
padding-bottom: 10px;
|
5158 |
+
}
|
5159 |
+
|
5160 |
+
#wpse1_6817_text br {
|
5161 |
+
display: none;
|
5162 |
+
}
|
5163 |
+
}
|
5164 |
+
|
5165 |
+
@media screen and (max-width: 600px) {
|
5166 |
+
#wpse1_6817_complete {
|
5167 |
+
display: none;
|
5168 |
+
}
|
5169 |
+
}
|
images/icons_theme/black/black_whatsapp.png
ADDED
Binary file
|
images/icons_theme/black2/black2_whatsapp.png
ADDED
Binary file
|
images/icons_theme/blackgrunge/blackgrunge_whatsapp.png
ADDED
Binary file
|
images/icons_theme/chrome_blue/chrome_blue_whatsapp.png
ADDED
Binary file
|
images/icons_theme/chrome_grey/chrome_grey_whatsapp.png
ADDED
Binary file
|
images/icons_theme/cool/cool_whatsapp.png
ADDED
Binary file
|
images/icons_theme/crystal/crystal_whatsapp.png
ADDED
Binary file
|
images/icons_theme/cubes/cubes_whatsapp.png
ADDED
Binary file
|
images/icons_theme/cute/cute_whatsapp.png
ADDED
Binary file
|
images/icons_theme/default/default_whatsapp.png
ADDED
Binary file
|
images/icons_theme/flat/flat_whatsapp.png
ADDED
Binary file
|
images/icons_theme/glossy/glossy_whatsapp.png
ADDED
Binary file
|
images/icons_theme/glossyblack/glossyblack_whatsapp.png
ADDED
Binary file
|
images/icons_theme/orange/orange_whatsapp.png
ADDED
Binary file
|
images/icons_theme/shaded_dark/shaded_dark_whatsapp.png
ADDED
Binary file
|
images/icons_theme/shaded_light/shaded_light_whatsapp.png
ADDED
Binary file
|
images/icons_theme/silver/silver_whatsapp.png
ADDED
Binary file
|
images/icons_theme/splash/splash_whatsapp.png
ADDED
Binary file
|
images/icons_theme/thin/thin_whatsapp.png
ADDED
Binary file
|
images/icons_theme/transparent/transparent_whatsapp.png
ADDED
Binary file
|
images/icons_theme/waxedwood/waxedwood_whatsapp.png
ADDED
Binary file
|
images/icons_theme/yellow/yellow_whatsapp.png
ADDED
Binary file
|
images/tab_3_icns.png
CHANGED
Binary file
|
images/wpse1_6817_cdp.png
ADDED
Binary file
|
images/wpse1_6817_cdp_bg.png
ADDED
Binary file
|
images/wpse1_6817_cdp_button.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -199,7 +199,7 @@ function sfsi_plus_depened_sections() {
|
|
199 |
SFSI("input[name='sfsi_plus_vk_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_vk_section", "show") : sfsi_plus_section_Display("sfsiplus_vk_section", "hide"),
|
200 |
SFSI("input[name='sfsi_plus_ok_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_ok_section", "show") : sfsi_plus_section_Display("sfsiplus_ok_section", "hide"),
|
201 |
SFSI("input[name='sfsi_plus_wechat_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_wechat_section", "show") : sfsi_plus_section_Display("sfsiplus_wechat_section", "hide"),
|
202 |
-
SFSI("input[name='
|
203 |
SFSI("input[name='sfsi_plus_weibo_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_weibo_section", "show") : sfsi_plus_section_Display("sfsiplus_weibo_section", "hide"),
|
204 |
SFSI("input[element-type='sfsiplus-cusotm-icon']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_custom_section", "show") : sfsi_plus_section_Display("sfsiplus_custom_section", "hide");
|
205 |
}
|
@@ -321,6 +321,7 @@ function sfsi_plus_update_step1() {
|
|
321 |
ok = SFSI("input[name='sfsi_plus_ok_display']:checked").val(),
|
322 |
weibo = SFSI("input[name='sfsi_plus_weibo_display']:checked").val(),
|
323 |
wechat = SFSI("input[name='sfsi_plus_wechat_display']:checked").val(),
|
|
|
324 |
houzz = SFSI("input[name='sfsi_plus_houzz_display']:checked").val(),
|
325 |
l = SFSI("input[name='sfsi_custom1_display']:checked").val(),
|
326 |
S = SFSI("input[name='sfsi_custom2_display']:checked").val(),
|
@@ -347,7 +348,7 @@ function sfsi_plus_update_step1() {
|
|
347 |
sfsi_custom2_display: S,
|
348 |
sfsi_custom3_display: u,
|
349 |
sfsi_custom4_display: f,
|
350 |
-
|
351 |
sfsi_custom5_display: d,
|
352 |
nonce: nonce
|
353 |
};
|
@@ -680,6 +681,8 @@ function sfsi_plus_update_step4() {
|
|
680 |
ric = SFSI("input[name='sfsi_plus_round_counts']:checked").val() || 'no',
|
681 |
oic = SFSI("input[name='sfsi_plus_original_counts']:checked").val() || 'no',
|
682 |
rpic = SFSI("input[name='sfsi_plus_responsive_share_count']:checked").val() || 'no',
|
|
|
|
|
683 |
|
684 |
$ = {
|
685 |
action: "plus_updateSrcn4",
|
@@ -744,6 +747,8 @@ function sfsi_plus_update_step4() {
|
|
744 |
sfsi_plus_round_counts:ric,
|
745 |
sfsi_plus_original_counts: oic,
|
746 |
sfsi_plus_responsive_share_count: rpic,
|
|
|
|
|
747 |
nonce: nonce
|
748 |
};
|
749 |
console.log( $,'sc');
|
@@ -800,6 +805,7 @@ function sfsi_plus_update_step5() {
|
|
800 |
ok = SFSI("#sfsi_plus_okIcon_order").attr("data-index"),
|
801 |
weibo = SFSI("#sfsi_plus_weiboIcon_order").attr("data-index"),
|
802 |
wechat = SFSI("#sfsi_plus_wechatIcon_order").attr("data-index"),
|
|
|
803 |
F = SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"),
|
804 |
houzzOrder = SFSI("#sfsi_plus_houzzIcon_order").attr("data-index"),
|
805 |
h = new Array();
|
@@ -827,6 +833,7 @@ function sfsi_plus_update_step5() {
|
|
827 |
});
|
828 |
|
829 |
var sfsi_plus_custom_social_hide = SFSI("input[name='sfsi_plus_custom_social_hide']").val();
|
|
|
830 |
var se = SFSI("input[name='sfsi_pplus_icons_suppress_errors']:checked").val();
|
831 |
st = SFSI("input[name='sfsi_plus_icons_sharing_and_traffic_tips']:checked").val();
|
832 |
|
@@ -876,6 +883,8 @@ function sfsi_plus_update_step5() {
|
|
876 |
sfsi_plus_custom_social_hide: sfsi_plus_custom_social_hide,
|
877 |
sfsi_pplus_icons_suppress_errors: se,
|
878 |
sfsi_plus_icons_sharing_and_traffic_tips:st,
|
|
|
|
|
879 |
nonce: nonce
|
880 |
};
|
881 |
SFSI.ajax({
|
@@ -4064,3 +4073,150 @@ function sfsi_plus_banner_global_upgrade_save(){
|
|
4064 |
}
|
4065 |
});
|
4066 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
SFSI("input[name='sfsi_plus_vk_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_vk_section", "show") : sfsi_plus_section_Display("sfsiplus_vk_section", "hide"),
|
200 |
SFSI("input[name='sfsi_plus_ok_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_ok_section", "show") : sfsi_plus_section_Display("sfsiplus_ok_section", "hide"),
|
201 |
SFSI("input[name='sfsi_plus_wechat_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_wechat_section", "show") : sfsi_plus_section_Display("sfsiplus_wechat_section", "hide"),
|
202 |
+
SFSI("input[name='sfsi_plus_whatsapp_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_whatsapp_section", "show") : sfsi_plus_section_Display("sfsiplus_whatsapp_section", "hide"),
|
203 |
SFSI("input[name='sfsi_plus_weibo_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_weibo_section", "show") : sfsi_plus_section_Display("sfsiplus_weibo_section", "hide"),
|
204 |
SFSI("input[element-type='sfsiplus-cusotm-icon']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_custom_section", "show") : sfsi_plus_section_Display("sfsiplus_custom_section", "hide");
|
205 |
}
|
321 |
ok = SFSI("input[name='sfsi_plus_ok_display']:checked").val(),
|
322 |
weibo = SFSI("input[name='sfsi_plus_weibo_display']:checked").val(),
|
323 |
wechat = SFSI("input[name='sfsi_plus_wechat_display']:checked").val(),
|
324 |
+
whatsapp = SFSI("input[name='sfsi_plus_whatsapp_display']:checked").val(),
|
325 |
houzz = SFSI("input[name='sfsi_plus_houzz_display']:checked").val(),
|
326 |
l = SFSI("input[name='sfsi_custom1_display']:checked").val(),
|
327 |
S = SFSI("input[name='sfsi_custom2_display']:checked").val(),
|
348 |
sfsi_custom2_display: S,
|
349 |
sfsi_custom3_display: u,
|
350 |
sfsi_custom4_display: f,
|
351 |
+
sfsi_plus_whatsapp_display: whatsapp,
|
352 |
sfsi_custom5_display: d,
|
353 |
nonce: nonce
|
354 |
};
|
681 |
ric = SFSI("input[name='sfsi_plus_round_counts']:checked").val() || 'no',
|
682 |
oic = SFSI("input[name='sfsi_plus_original_counts']:checked").val() || 'no',
|
683 |
rpic = SFSI("input[name='sfsi_plus_responsive_share_count']:checked").val() || 'no',
|
684 |
+
whatsapp = SFSI("input[name='sfsi_plus_whatsapp_countsDisplay']:checked").val() || 'no',
|
685 |
+
whatsapp_manual = SFSI("input[name='sfsi_plus_whatsapp_manualCounts']").val(),
|
686 |
|
687 |
$ = {
|
688 |
action: "plus_updateSrcn4",
|
747 |
sfsi_plus_round_counts:ric,
|
748 |
sfsi_plus_original_counts: oic,
|
749 |
sfsi_plus_responsive_share_count: rpic,
|
750 |
+
sfsi_plus_whatsapp_countsDisplay: whatsapp,
|
751 |
+
sfsi_plus_whatsapp_manualCounts: whatsapp_manual,
|
752 |
nonce: nonce
|
753 |
};
|
754 |
console.log( $,'sc');
|
805 |
ok = SFSI("#sfsi_plus_okIcon_order").attr("data-index"),
|
806 |
weibo = SFSI("#sfsi_plus_weiboIcon_order").attr("data-index"),
|
807 |
wechat = SFSI("#sfsi_plus_wechatIcon_order").attr("data-index"),
|
808 |
+
whatsapp = SFSI("#sfsi_plus_whatsappIcon_order").attr("data-index"),
|
809 |
F = SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"),
|
810 |
houzzOrder = SFSI("#sfsi_plus_houzzIcon_order").attr("data-index"),
|
811 |
h = new Array();
|
833 |
});
|
834 |
|
835 |
var sfsi_plus_custom_social_hide = SFSI("input[name='sfsi_plus_custom_social_hide']").val();
|
836 |
+
var sfsi_plus_featured_image_rss = SFSI("input[name='sfsi_plus_featured_image_rss']:checked").val() || 'no';
|
837 |
var se = SFSI("input[name='sfsi_pplus_icons_suppress_errors']:checked").val();
|
838 |
st = SFSI("input[name='sfsi_plus_icons_sharing_and_traffic_tips']:checked").val();
|
839 |
|
883 |
sfsi_plus_custom_social_hide: sfsi_plus_custom_social_hide,
|
884 |
sfsi_pplus_icons_suppress_errors: se,
|
885 |
sfsi_plus_icons_sharing_and_traffic_tips:st,
|
886 |
+
sfsi_plus_whatsappIcon_order: whatsapp,
|
887 |
+
sfsi_plus_featured_image_rss: sfsi_plus_featured_image_rss,
|
888 |
nonce: nonce
|
889 |
};
|
890 |
SFSI.ajax({
|
4073 |
}
|
4074 |
});
|
4075 |
}
|
4076 |
+
|
4077 |
+
|
4078 |
+
jQuery(document).ready(function($) {
|
4079 |
+
console.log('ksdlfsd');
|
4080 |
+
let entered = false, interval = null;
|
4081 |
+
|
4082 |
+
SFSI('#wpse1_6817_btn').on('click', wpse1_6817_btn);
|
4083 |
+
SFSI('#wpse1_6817_install_btn').on('click', wpse1_6817_btn_install);
|
4084 |
+
SFSI('#wpse1_6817_btn').on('mouseenter', wpse1_6817_show);
|
4085 |
+
SFSI('#wpse1_6817_btn').on('mouseleave', wpse1_6817_hide);
|
4086 |
+
function hideIt() {
|
4087 |
+
SFSI('#wpse1_6817_who').hide(300);
|
4088 |
+
SFSI('#wpse1_6817').css({
|
4089 |
+
'overflow': 'hidden',
|
4090 |
+
'max-height': SFSI('#wpse1_6817').height(),
|
4091 |
+
'max-width': SFSI('#wpse1_6817').width(),
|
4092 |
+
'opacity': 1
|
4093 |
+
});
|
4094 |
+
|
4095 |
+
SFSI('#wpse1_6817').animate({'max-height': '0px', 'opacity': '0', 'padding-top': '0', 'padding-bottom': '0', 'margin-top': '0'}, 300, function () {
|
4096 |
+
setTimeout(() => { SFSI('#wpse1_6817').remove(); }, 10);
|
4097 |
+
});
|
4098 |
+
}
|
4099 |
+
function wpse1_6817_btn() {
|
4100 |
+
setTimeout(() => { hideIt(); }, 100);
|
4101 |
+
SFSI.post(ajaxurl, { action: 'wpse1_6817_btn' });
|
4102 |
+
}
|
4103 |
+
function wpse1_6817_btn_install() {
|
4104 |
+
|
4105 |
+
SFSI('#wpse1_6817_install_btn').css({'pointer-events': 'none', 'opacity': '.8'});
|
4106 |
+
SFSI('#wpse1_6817_btns').addClass('wpse1_6817_btns_installing');
|
4107 |
+
SFSI('#wpse1_6817_other').css({'max-width': `${SFSI('#wpse1_6817_other').width()}px`, 'max-height': `${SFSI('#wpse1_6817_other').height()}px`, 'overflow': 'hidden'});
|
4108 |
+
SFSI('#wpse1_6817_show').css({'max-width': `${SFSI('#wpse1_6817_show').width()}px`, 'overflow': 'hidden'});
|
4109 |
+
SFSI('#wpse1_6817_dismiss').css({'max-width': `${SFSI('#wpse1_6817_dismiss').width()}px`, 'overflow': 'hidden'});
|
4110 |
+
SFSI('#wpse1_6817_other').animate({'padding-left': '0', 'max-width': '0'}, 500, function () {
|
4111 |
+
SFSI('#wpse1_6817_btns, #wpse1_6817_install').css({'float': 'right'});
|
4112 |
+
});
|
4113 |
+
|
4114 |
+
SFSI('#wpse1_6817_text').css({'opacity': '1'});
|
4115 |
+
SFSI('#wpse1_6817_text').animate({'opacity': '0'}, 500, function () {
|
4116 |
+
SFSI('#wpse1_6817_text').html(`We\'re downloading this awesome plugin!<br>We will redirect you soon, please wait<span id="wpse1_6817_dots">...</span> :)`);
|
4117 |
+
SFSI('#wpse1_6817_text').animate({'opacity': '1'}, 500, function () {
|
4118 |
+
let dox = '..', predox = '...';
|
4119 |
+
interval = setInterval(() => {
|
4120 |
+
SFSI('#wpse1_6817_dots').text(dox);
|
4121 |
+
|
4122 |
+
// I named it DOXPARADOX <3
|
4123 |
+
if (dox == '..' && predox == '...') { dox = '.'; predox = '..' }
|
4124 |
+
else if (dox == '.' && predox == '...') { dox = '..'; predox = '.' }
|
4125 |
+
else if (dox == '..' && predox == '..') { dox = '...'; predox = '..' }
|
4126 |
+
else if (dox == '.' && predox == '..') { dox = '..'; predox = '.' }
|
4127 |
+
else if (dox == '..' && predox == '.') { dox = '...'; predox = '..' }
|
4128 |
+
else { dox = '..'; predox = '...' }
|
4129 |
+
}, 700);
|
4130 |
+
});
|
4131 |
+
});
|
4132 |
+
|
4133 |
+
SFSI('#wpse1_6817_btns, #wpse1_6817_install').css({'text-align': 'right'});
|
4134 |
+
SFSI('#wpse1_6817_show, #wpse1_6817_dismiss').css({'overflow': 'hidden', 'text-align': 'right'});
|
4135 |
+
|
4136 |
+
$.post(ajaxurl, { action: 'wpse1_6817_install' }).done((res) => {
|
4137 |
+
if (isJsonString(res)) res = cdpParse(res);
|
4138 |
+
let url = SFSI('#wpse1_6817').data('url');
|
4139 |
+
if (res.status == 'success') window.location.reload();
|
4140 |
+
else if (typeof res.url != 'undefined') handleIssue();
|
4141 |
+
else handleIssue();
|
4142 |
+
}).fail(() => { handleIssue(); });
|
4143 |
+
|
4144 |
+
function handleIssue() {
|
4145 |
+
clearInterval(interval);
|
4146 |
+
|
4147 |
+
SFSI('#wpse1_6817_text').animate({'opacity': '0'}, 500, function () {
|
4148 |
+
SFSI('#wpse1_6817_text').html(`There was an error during plugin download :(<br>Please try to do it manualy, we will redirect you in <span id="wpse1_6817_dots">3</span>s.`);
|
4149 |
+
SFSI('#wpse1_6817_text').animate({'opacity': '1'}, 500, function () {
|
4150 |
+
let i = 3;
|
4151 |
+
interval = setInterval(() => {
|
4152 |
+
i--;
|
4153 |
+
SFSI('#wpse1_6817_dots').text(i);
|
4154 |
+
if (i == 0) {
|
4155 |
+
let url = SFSI('#wpse1_6817').data('url');
|
4156 |
+
window.location.href = `${url}/wp-admin/plugin-install.php?s=CopyDeletePosts&tab=search&type=author`;
|
4157 |
+
}
|
4158 |
+
}, 1050);
|
4159 |
+
});
|
4160 |
+
});
|
4161 |
+
|
4162 |
+
}
|
4163 |
+
|
4164 |
+
}
|
4165 |
+
function wpse1_6817_show() {
|
4166 |
+
$('#wpse1_6817_smile').css({'opacity': 1});
|
4167 |
+
}
|
4168 |
+
function wpse1_6817_hide() {
|
4169 |
+
$('#wpse1_6817_smile').css({'opacity': 0});
|
4170 |
+
}
|
4171 |
+
|
4172 |
+
function isJsonString(str) {
|
4173 |
+
try { JSON.parse(str); }
|
4174 |
+
catch (e) {
|
4175 |
+
if (typeof str === 'string') {
|
4176 |
+
let reversed = cdpReverseString(str);
|
4177 |
+
let lastcorrect = reversed.indexOf('}');
|
4178 |
+
if (lastcorrect == 0) lastcorrect = str.length;
|
4179 |
+
else lastcorrect = -lastcorrect;
|
4180 |
+
|
4181 |
+
str = str.slice(str.indexOf('{'), lastcorrect);
|
4182 |
+
|
4183 |
+
try {
|
4184 |
+
JSON.parse(str);
|
4185 |
+
} catch (e) {
|
4186 |
+
return false;
|
4187 |
+
}
|
4188 |
+
return true;
|
4189 |
+
} else return false;
|
4190 |
+
}
|
4191 |
+
return true;
|
4192 |
+
}
|
4193 |
+
|
4194 |
+
function cdpReverseString(str) {
|
4195 |
+
if (typeof str === 'string')
|
4196 |
+
return (str === '') ? '' : cdpReverseString(str.substr(1)) + str.charAt(0);
|
4197 |
+
else
|
4198 |
+
return str;
|
4199 |
+
}
|
4200 |
+
|
4201 |
+
function cdpParse(str) {
|
4202 |
+
try { JSON.parse(str); }
|
4203 |
+
catch (e) {
|
4204 |
+
if (typeof str === 'string') {
|
4205 |
+
let reversed = cdpReverseString(str);
|
4206 |
+
let lastcorrect = reversed.indexOf('}');
|
4207 |
+
if (lastcorrect == 0) lastcorrect = str.length;
|
4208 |
+
else lastcorrect = -lastcorrect;
|
4209 |
+
str = str.slice(str.indexOf('{'), lastcorrect);
|
4210 |
+
try {
|
4211 |
+
JSON.parse(str);
|
4212 |
+
} catch (e) {
|
4213 |
+
return false;
|
4214 |
+
}
|
4215 |
+
return JSON.parse(str);
|
4216 |
+
} else return false;
|
4217 |
+
}
|
4218 |
+
return JSON.parse(str);
|
4219 |
+
}
|
4220 |
+
|
4221 |
+
});
|
4222 |
+
|
js/custom.js
CHANGED
@@ -315,6 +315,8 @@ SFSI(document).ready(function (s) {
|
|
315 |
var align = jQuery(actual_target).attr('data-align');
|
316 |
var maxPerRow = jQuery(actual_target).attr('data-count');
|
317 |
var iconType = jQuery(actual_target).attr('data-icon-type');
|
|
|
|
|
318 |
jQuery.ajax({
|
319 |
'url': '/wp-json/ultimate-social-media-plus/v1/icons/?url=' + encodeURI(decodeURI(window.location.href)) + '&ractangle_icon=' + ('round' == iconType ? 0 : 1),
|
320 |
'method': 'GET'
|
@@ -585,7 +587,8 @@ function sfsi_plus_pinterest_modal_images(event,url,title) {
|
|
585 |
if(undefined == meta_img){
|
586 |
meta_img ="";
|
587 |
}
|
588 |
-
SFSI('.sfsi_plus_flex_container').
|
|
|
589 |
}else{
|
590 |
|
591 |
// console.log(imgSrc);
|
@@ -614,4 +617,4 @@ function sfsi_plus_pinterest_modal(imgs) {
|
|
614 |
"</div>" +
|
615 |
"</div>"
|
616 |
);
|
617 |
-
}
|
315 |
var align = jQuery(actual_target).attr('data-align');
|
316 |
var maxPerRow = jQuery(actual_target).attr('data-count');
|
317 |
var iconType = jQuery(actual_target).attr('data-icon-type');
|
318 |
+
console.log('fskodfl');
|
319 |
+
|
320 |
jQuery.ajax({
|
321 |
'url': '/wp-json/ultimate-social-media-plus/v1/icons/?url=' + encodeURI(decodeURI(window.location.href)) + '&ractangle_icon=' + ('round' == iconType ? 0 : 1),
|
322 |
'method': 'GET'
|
587 |
if(undefined == meta_img){
|
588 |
meta_img ="";
|
589 |
}
|
590 |
+
SFSI('.sfsi_plus_flex_container').app
|
591 |
+
end('<div><a href="http://www.pinterest.com/pin/create/button/?url=' + url + '&media=&description=' + encodeURIComponent(page_title).replace('+', '%20').replace("#", "%23") + '"><div style="width:140px;height:90px;display:inline-block;" ></div><span class="sfsi_plus_pinterest_overlay"><img data-pin-nopin="true" height="30" width="30" src="' + window.sfsi_plus_ajax_object.plugin_url + '/images/pinterest.png" /></span></a></div>')
|
592 |
}else{
|
593 |
|
594 |
// console.log(imgSrc);
|
617 |
"</div>" +
|
618 |
"</div>"
|
619 |
);
|
620 |
+
}
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -28,6 +28,7 @@ function sfsi_plus_options_updater1()
|
|
28 |
$sfsi_plus_wechat_display = isset($_POST["sfsi_plus_wechat_display"]) ? sanitize_text_field($_POST["sfsi_plus_wechat_display"]) : 'no';
|
29 |
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_display"]) : 'no';
|
30 |
$sfsi_plus_linkedin_display = isset($_POST["sfsi_plus_linkedin_display"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_display"]) : 'no';
|
|
|
31 |
|
32 |
$sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
|
33 |
$up_option1 = array(
|
@@ -45,6 +46,7 @@ function sfsi_plus_options_updater1()
|
|
45 |
'sfsi_plus_wechat_display' => sanitize_text_field($sfsi_plus_wechat_display),
|
46 |
'sfsi_plus_weibo_display' => sanitize_text_field($sfsi_plus_weibo_display),
|
47 |
'sfsi_plus_houzz_display' => sanitize_text_field($sfsi_plus_houzz_display),
|
|
|
48 |
'sfsi_custom_files' => $sfsi_custom_icons
|
49 |
);
|
50 |
|
@@ -414,6 +416,8 @@ function sfsi_plus_options_updater4()
|
|
414 |
$sfsi_plus_round_counts = isset($_POST["sfsi_plus_round_counts"]) ? sanitize_text_field($_POST["sfsi_plus_round_counts"]) : 'no';
|
415 |
$sfsi_plus_original_counts = isset($_POST["sfsi_plus_original_counts"]) ? sanitize_text_field($_POST["sfsi_plus_original_counts"]) : 'no';
|
416 |
$sfsi_plus_responsive_share_count = isset($_POST["sfsi_plus_responsive_share_count"]) ? sanitize_text_field($_POST["sfsi_plus_responsive_share_count"]) : 'no';
|
|
|
|
|
417 |
$up_option4 = array(
|
418 |
'sfsi_plus_display_counts' => sanitize_text_field($sfsi_plus_display_counts),
|
419 |
|
@@ -487,6 +491,9 @@ function sfsi_plus_options_updater4()
|
|
487 |
'sfsi_plus_round_counts' => sanitize_text_field($sfsi_plus_round_counts),
|
488 |
'sfsi_plus_original_counts' => sanitize_text_field($sfsi_plus_original_counts),
|
489 |
'sfsi_plus_responsive_share_count' => sanitize_text_field($sfsi_plus_responsive_share_count),
|
|
|
|
|
|
|
490 |
);
|
491 |
update_option('sfsi_plus_section4_options', serialize($up_option4));
|
492 |
|
@@ -554,7 +561,7 @@ function sfsi_plus_options_updater5()
|
|
554 |
$sfsi_plus_okIcon_order = isset($_POST["sfsi_plus_okIcon_order"]) ? intval($_POST["sfsi_plus_okIcon_order"]) : '24';
|
555 |
$sfsi_plus_weiboIcon_order = isset($_POST["sfsi_plus_weiboIcon_order"]) ? intval($_POST["sfsi_plus_weiboIcon_order"]) : '25';
|
556 |
$sfsi_plus_wechatIcon_order = isset($_POST["sfsi_plus_wechatIcon_order"]) ? intval($_POST["sfsi_plus_wechatIcon_order"]) : '26';
|
557 |
-
|
558 |
if (isset($_POST["sfsi_plus_custom_MouseOverTexts"])) {
|
559 |
$sfsi_plus_custom_MouseOverTexts = array();
|
560 |
foreach ($_POST['sfsi_plus_custom_MouseOverTexts'] as $index => $a) {
|
@@ -581,7 +588,7 @@ function sfsi_plus_options_updater5()
|
|
581 |
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? sanitize_text_field($_POST["sfsi_pplus_icons_suppress_errors"]) : 'no';
|
582 |
|
583 |
$sfsi_plus_icons_sharing_and_traffic_tips = isset($_POST["sfsi_plus_icons_sharing_and_traffic_tips"]) ? sanitize_text_field($_POST["sfsi_plus_icons_sharing_and_traffic_tips"]) : 'yes';
|
584 |
-
|
585 |
/* size and spacing of icons */
|
586 |
$up_option5 = array(
|
587 |
'sfsi_plus_icons_size' => intval($sfsi_plus_icons_size),
|
@@ -622,12 +629,15 @@ function sfsi_plus_options_updater5()
|
|
622 |
'sfsi_plus_vkIcon_order' => intval($sfsi_plus_vkIcon_order),
|
623 |
'sfsi_plus_weiboIcon_order' => intval($sfsi_plus_weiboIcon_order),
|
624 |
'sfsi_plus_wechatIcon_order' => intval($sfsi_plus_wechatIcon_order),
|
|
|
625 |
'sfsi_plus_linkedinIcon_order' => intval($sfsi_plus_linkedinIcon_order),
|
626 |
'sfsi_plus_custom_MouseOverTexts' => $sfsi_plus_custom_MouseOverTexts,
|
627 |
'sfsi_plus_custom_social_hide' => $sfsi_plus_custom_social_hide,
|
628 |
'sfsi_pplus_icons_suppress_errors' => sanitize_text_field($sfsi_pplus_icons_suppress_errors),
|
629 |
-
'sfsi_plus_icons_sharing_and_traffic_tips' => sanitize_text_field($sfsi_plus_icons_sharing_and_traffic_tips)
|
|
|
630 |
);
|
|
|
631 |
|
632 |
update_option('sfsi_plus_section5_options', serialize($up_option5));
|
633 |
header('Content-Type: application/json');
|
@@ -1004,6 +1014,7 @@ function sfsi_plus_getCounts($for_resposive = false)
|
|
1004 |
'ok_count' => '',
|
1005 |
'weibo_count' => '',
|
1006 |
'wechat_count' => '',
|
|
|
1007 |
|
1008 |
);
|
1009 |
/* get rss count */
|
@@ -1149,6 +1160,9 @@ function sfsi_plus_getCounts($for_resposive = false)
|
|
1149 |
if (isset($option4['sfsi_plus_wechat_manualCounts']) && !empty($option4['sfsi_plus_wechat_manualCounts'])) {
|
1150 |
$scounts['wechat_count'] = $option4['sfsi_plus_wechat_manualCounts'];
|
1151 |
}
|
|
|
|
|
|
|
1152 |
}
|
1153 |
return $scounts;
|
1154 |
exit;
|
@@ -1325,6 +1339,7 @@ function sfsi_plus_bannerOption()
|
|
1325 |
$themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
|
1326 |
// var_dump($themeDataArr);die();
|
1327 |
$matchFound = false;
|
|
|
1328 |
foreach ($themeDataArr as $themeDataObj) :
|
1329 |
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1330 |
$themeName = $themeDataObj->themeName;
|
@@ -1336,16 +1351,17 @@ function sfsi_plus_bannerOption()
|
|
1336 |
$matchFound = true;
|
1337 |
|
1338 |
$themeName = strtolower($themeName);
|
|
|
1339 |
|
1340 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1341 |
$themeDataObj->headline,
|
1342 |
-
|
1343 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1344 |
$themeDataObj->bottomtext
|
1345 |
);
|
1346 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
1347 |
-
$themeDataObj->headline,
|
1348 |
$themeName,
|
|
|
1349 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1350 |
$themeDataObj->bottomtext
|
1351 |
);
|
@@ -1371,16 +1387,17 @@ function sfsi_plus_bannerOption()
|
|
1371 |
$matchFound = true;
|
1372 |
|
1373 |
$themeName = strtolower($themeName);
|
|
|
1374 |
|
1375 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1376 |
$themeDataObj->headline,
|
1377 |
-
$
|
1378 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1379 |
$themeDataObj->bottomtext
|
1380 |
);
|
1381 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
1382 |
-
$themeDataObj->headline,
|
1383 |
$themeName,
|
|
|
1384 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1385 |
$themeDataObj->bottomtext
|
1386 |
);
|
@@ -1405,16 +1422,17 @@ function sfsi_plus_bannerOption()
|
|
1405 |
$matchFound = true;
|
1406 |
|
1407 |
$themeName = strtolower($themeName);
|
|
|
1408 |
|
1409 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1410 |
$themeDataObj->headline,
|
1411 |
-
$
|
1412 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1413 |
$themeDataObj->bottomtext
|
1414 |
);
|
1415 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
1416 |
-
$themeDataObj->headline,
|
1417 |
$themeName,
|
|
|
1418 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1419 |
$themeDataObj->bottomtext
|
1420 |
);
|
@@ -1439,16 +1457,17 @@ function sfsi_plus_bannerOption()
|
|
1439 |
$matchFound = true;
|
1440 |
|
1441 |
$themeName = strtolower($themeName);
|
|
|
1442 |
|
1443 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1444 |
$themeDataObj->headline,
|
1445 |
-
$
|
1446 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1447 |
$themeDataObj->bottomtext
|
1448 |
);
|
1449 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
1450 |
-
$themeDataObj->headline,
|
1451 |
$themeName,
|
|
|
1452 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1453 |
$themeDataObj->bottomtext
|
1454 |
);
|
28 |
$sfsi_plus_wechat_display = isset($_POST["sfsi_plus_wechat_display"]) ? sanitize_text_field($_POST["sfsi_plus_wechat_display"]) : 'no';
|
29 |
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_display"]) : 'no';
|
30 |
$sfsi_plus_linkedin_display = isset($_POST["sfsi_plus_linkedin_display"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_display"]) : 'no';
|
31 |
+
$sfsi_plus_whatsapp_display = isset($_POST["sfsi_plus_whatsapp_display"]) ? sanitize_text_field($_POST["sfsi_plus_whatsapp_display"]) : 'no';
|
32 |
|
33 |
$sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
|
34 |
$up_option1 = array(
|
46 |
'sfsi_plus_wechat_display' => sanitize_text_field($sfsi_plus_wechat_display),
|
47 |
'sfsi_plus_weibo_display' => sanitize_text_field($sfsi_plus_weibo_display),
|
48 |
'sfsi_plus_houzz_display' => sanitize_text_field($sfsi_plus_houzz_display),
|
49 |
+
'sfsi_plus_whatsapp_display' => sanitize_text_field($sfsi_plus_whatsapp_display),
|
50 |
'sfsi_custom_files' => $sfsi_custom_icons
|
51 |
);
|
52 |
|
416 |
$sfsi_plus_round_counts = isset($_POST["sfsi_plus_round_counts"]) ? sanitize_text_field($_POST["sfsi_plus_round_counts"]) : 'no';
|
417 |
$sfsi_plus_original_counts = isset($_POST["sfsi_plus_original_counts"]) ? sanitize_text_field($_POST["sfsi_plus_original_counts"]) : 'no';
|
418 |
$sfsi_plus_responsive_share_count = isset($_POST["sfsi_plus_responsive_share_count"]) ? sanitize_text_field($_POST["sfsi_plus_responsive_share_count"]) : 'no';
|
419 |
+
$sfsi_plus_whatsapp_countsDisplay = isset($_POST["sfsi_plus_whatsapp_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_whatsapp_countsDisplay"]) : 'no';
|
420 |
+
$sfsi_plus_whatsapp_manualCounts = isset($_POST["sfsi_plus_whatsapp_manualCounts"]) ? intval(trim($_POST["sfsi_plus_whatsapp_manualCounts"])) : '';
|
421 |
$up_option4 = array(
|
422 |
'sfsi_plus_display_counts' => sanitize_text_field($sfsi_plus_display_counts),
|
423 |
|
491 |
'sfsi_plus_round_counts' => sanitize_text_field($sfsi_plus_round_counts),
|
492 |
'sfsi_plus_original_counts' => sanitize_text_field($sfsi_plus_original_counts),
|
493 |
'sfsi_plus_responsive_share_count' => sanitize_text_field($sfsi_plus_responsive_share_count),
|
494 |
+
|
495 |
+
'sfsi_plus_whatsapp_countsDisplay' => sanitize_text_field($sfsi_plus_whatsapp_countsDisplay),
|
496 |
+
'sfsi_plus_whatsapp_manualCounts' => intval($sfsi_plus_whatsapp_manualCounts)
|
497 |
);
|
498 |
update_option('sfsi_plus_section4_options', serialize($up_option4));
|
499 |
|
561 |
$sfsi_plus_okIcon_order = isset($_POST["sfsi_plus_okIcon_order"]) ? intval($_POST["sfsi_plus_okIcon_order"]) : '24';
|
562 |
$sfsi_plus_weiboIcon_order = isset($_POST["sfsi_plus_weiboIcon_order"]) ? intval($_POST["sfsi_plus_weiboIcon_order"]) : '25';
|
563 |
$sfsi_plus_wechatIcon_order = isset($_POST["sfsi_plus_wechatIcon_order"]) ? intval($_POST["sfsi_plus_wechatIcon_order"]) : '26';
|
564 |
+
$sfsi_plus_whatsappIcon_order = isset($_POST["sfsi_plus_whatsappIcon_order"]) ? intval($_POST["sfsi_plus_whatsappIcon_order"]) : '27';
|
565 |
if (isset($_POST["sfsi_plus_custom_MouseOverTexts"])) {
|
566 |
$sfsi_plus_custom_MouseOverTexts = array();
|
567 |
foreach ($_POST['sfsi_plus_custom_MouseOverTexts'] as $index => $a) {
|
588 |
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? sanitize_text_field($_POST["sfsi_pplus_icons_suppress_errors"]) : 'no';
|
589 |
|
590 |
$sfsi_plus_icons_sharing_and_traffic_tips = isset($_POST["sfsi_plus_icons_sharing_and_traffic_tips"]) ? sanitize_text_field($_POST["sfsi_plus_icons_sharing_and_traffic_tips"]) : 'yes';
|
591 |
+
$sfsi_plus_featured_image_rss = isset($_POST["sfsi_plus_featured_image_rss"]) ? sanitize_text_field($_POST["sfsi_plus_featured_image_rss"]) : 'no';
|
592 |
/* size and spacing of icons */
|
593 |
$up_option5 = array(
|
594 |
'sfsi_plus_icons_size' => intval($sfsi_plus_icons_size),
|
629 |
'sfsi_plus_vkIcon_order' => intval($sfsi_plus_vkIcon_order),
|
630 |
'sfsi_plus_weiboIcon_order' => intval($sfsi_plus_weiboIcon_order),
|
631 |
'sfsi_plus_wechatIcon_order' => intval($sfsi_plus_wechatIcon_order),
|
632 |
+
'sfsi_plus_whatsappIcon_order' => intval($sfsi_plus_whatsappIcon_order),
|
633 |
'sfsi_plus_linkedinIcon_order' => intval($sfsi_plus_linkedinIcon_order),
|
634 |
'sfsi_plus_custom_MouseOverTexts' => $sfsi_plus_custom_MouseOverTexts,
|
635 |
'sfsi_plus_custom_social_hide' => $sfsi_plus_custom_social_hide,
|
636 |
'sfsi_pplus_icons_suppress_errors' => sanitize_text_field($sfsi_pplus_icons_suppress_errors),
|
637 |
+
'sfsi_plus_icons_sharing_and_traffic_tips' => sanitize_text_field($sfsi_plus_icons_sharing_and_traffic_tips),
|
638 |
+
'sfsi_plus_featured_image_rss' => $sfsi_plus_featured_image_rss,
|
639 |
);
|
640 |
+
// var_dump($up_option5);
|
641 |
|
642 |
update_option('sfsi_plus_section5_options', serialize($up_option5));
|
643 |
header('Content-Type: application/json');
|
1014 |
'ok_count' => '',
|
1015 |
'weibo_count' => '',
|
1016 |
'wechat_count' => '',
|
1017 |
+
'whatsapp_count' => '',
|
1018 |
|
1019 |
);
|
1020 |
/* get rss count */
|
1160 |
if (isset($option4['sfsi_plus_wechat_manualCounts']) && !empty($option4['sfsi_plus_wechat_manualCounts'])) {
|
1161 |
$scounts['wechat_count'] = $option4['sfsi_plus_wechat_manualCounts'];
|
1162 |
}
|
1163 |
+
if (isset($option4['sfsi_plus_whatsapp_manualCounts']) && !empty($option4['sfsi_plus_whatsapp_manualCounts'])) {
|
1164 |
+
$scounts['whatsapp_count'] = $option4['sfsi_plus_whatsapp_manualCounts'];
|
1165 |
+
}
|
1166 |
}
|
1167 |
return $scounts;
|
1168 |
exit;
|
1339 |
$themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
|
1340 |
// var_dump($themeDataArr);die();
|
1341 |
$matchFound = false;
|
1342 |
+
$sfsi_icons_url = " https://www.ultimatelysocial.com/";
|
1343 |
foreach ($themeDataArr as $themeDataObj) :
|
1344 |
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1345 |
$themeName = $themeDataObj->themeName;
|
1351 |
$matchFound = true;
|
1352 |
|
1353 |
$themeName = strtolower($themeName);
|
1354 |
+
$themeUrl = $sfsi_icons_url . $themeName;
|
1355 |
|
1356 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1357 |
$themeDataObj->headline,
|
1358 |
+
$$themeUrl,
|
1359 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1360 |
$themeDataObj->bottomtext
|
1361 |
);
|
1362 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
|
|
1363 |
$themeName,
|
1364 |
+
$$themeUrl,
|
1365 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1366 |
$themeDataObj->bottomtext
|
1367 |
);
|
1387 |
$matchFound = true;
|
1388 |
|
1389 |
$themeName = strtolower($themeName);
|
1390 |
+
$themeUrl = $sfsi_icons_url . $themeName;
|
1391 |
|
1392 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1393 |
$themeDataObj->headline,
|
1394 |
+
$themeUrl,
|
1395 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1396 |
$themeDataObj->bottomtext
|
1397 |
);
|
1398 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
|
|
1399 |
$themeName,
|
1400 |
+
$themeUrl,
|
1401 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1402 |
$themeDataObj->bottomtext
|
1403 |
);
|
1422 |
$matchFound = true;
|
1423 |
|
1424 |
$themeName = strtolower($themeName);
|
1425 |
+
$themeUrl = $sfsi_icons_url . $themeName;
|
1426 |
|
1427 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1428 |
$themeDataObj->headline,
|
1429 |
+
$themeUrl,
|
1430 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1431 |
$themeDataObj->bottomtext
|
1432 |
);
|
1433 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
|
|
1434 |
$themeName,
|
1435 |
+
$themeUrl,
|
1436 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1437 |
$themeDataObj->bottomtext
|
1438 |
);
|
1457 |
$matchFound = true;
|
1458 |
|
1459 |
$themeName = strtolower($themeName);
|
1460 |
+
$themeUrl = $sfsi_icons_url . $themeName;
|
1461 |
|
1462 |
$objThemeCheck->sfsi_plus_bannereHtml(
|
1463 |
$themeDataObj->headline,
|
1464 |
+
$themeUrl,
|
1465 |
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1466 |
$themeDataObj->bottomtext
|
1467 |
);
|
1468 |
$objThemeCheck->sfsi_plus_bannereHtml_main(
|
|
|
1469 |
$themeName,
|
1470 |
+
$themeUrl,
|
1471 |
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1472 |
$themeDataObj->bottomtext
|
1473 |
);
|
libs/controllers/sfsi_class_theme_check.php
CHANGED
@@ -515,8 +515,9 @@ class sfsi_plus_ThemeCheck
|
|
515 |
{
|
516 |
echo '<script type="text/javascript">
|
517 |
SFSI(".sfsi_webtheme").show();
|
|
|
518 |
SFSI(".icns_tab_3.sfsi_premium_ad span ").css("background-image", \'url('.$bannerImage.')\');
|
519 |
-
SFSI(".sfsi_premium_ad_lable").text(\''.$
|
520 |
</script>';
|
521 |
}
|
522 |
|
@@ -538,7 +539,7 @@ class sfsi_plus_ThemeCheck
|
|
538 |
</div>
|
539 |
</a>
|
540 |
<div class="sfsiplus_bottom_text">
|
541 |
-
<a href="'.$siteLink.'">
|
542 |
'.$buttonTitle.' >
|
543 |
</a>
|
544 |
</div>
|
515 |
{
|
516 |
echo '<script type="text/javascript">
|
517 |
SFSI(".sfsi_webtheme").show();
|
518 |
+
SFSI(".sfsi_webtheme a").attr("href", "'.$siteLink.'");
|
519 |
SFSI(".icns_tab_3.sfsi_premium_ad span ").css("background-image", \'url('.$bannerImage.')\');
|
520 |
+
SFSI(".sfsi_premium_ad_lable").text(\''.$title.'\');
|
521 |
</script>';
|
522 |
}
|
523 |
|
539 |
</div>
|
540 |
</a>
|
541 |
<div class="sfsiplus_bottom_text">
|
542 |
+
<a href="'.$siteLink.'" target="_blank">
|
543 |
'.$buttonTitle.' >
|
544 |
</a>
|
545 |
</div>
|
libs/controllers/sfsi_frontpopUp.php
CHANGED
@@ -151,6 +151,9 @@ function sfsi_plus_FrontPopupDiv()
|
|
151 |
if (!isset($sfsi_section5['sfsi_plus_weiboIcon_order'])) {
|
152 |
$sfsi_section5['sfsi_plus_weiboIcon_order'] = 25;
|
153 |
}
|
|
|
|
|
|
|
154 |
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
155 |
$icons_order = array(
|
156 |
$sfsi_section5['sfsi_plus_rssIcon_order'] => 'rss',
|
@@ -166,6 +169,7 @@ function sfsi_plus_FrontPopupDiv()
|
|
166 |
$sfsi_section5['sfsi_plus_vkIcon_order'] => 'vk',
|
167 |
$sfsi_section5['sfsi_plus_weiboIcon_order'] => 'weibo',
|
168 |
$sfsi_section5['sfsi_plus_wechatIcon_order'] => 'wechat',
|
|
|
169 |
(isset($sfsi_section5['sfsi_plus_houzzIcon_order']))
|
170 |
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
171 |
: 11 => 'houzz'
|
@@ -262,6 +266,9 @@ function sfsi_plus_FrontPopupDiv()
|
|
262 |
case 'wechat':
|
263 |
if (isset($sfsi_plus_section1_options['sfsi_plus_wechat_display']) && $sfsi_plus_section1_options['sfsi_plus_wechat_display'] == 'yes') $icons .= "<li>" . sfsi_plus_prepairIcons('wechat', 1) . "</li>";
|
264 |
break;
|
|
|
|
|
|
|
265 |
case 'custom':
|
266 |
$icons .= "<li>" . sfsi_plus_prepairIcons($icon_arry['ele'], 1) . "</li>";
|
267 |
break;
|
151 |
if (!isset($sfsi_section5['sfsi_plus_weiboIcon_order'])) {
|
152 |
$sfsi_section5['sfsi_plus_weiboIcon_order'] = 25;
|
153 |
}
|
154 |
+
if (!isset($sfsi_section5['sfsi_plus_whatsappIcon_order'])) {
|
155 |
+
$sfsi_section5['sfsi_plus_whatsappIcon_order'] = 27;
|
156 |
+
}
|
157 |
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
158 |
$icons_order = array(
|
159 |
$sfsi_section5['sfsi_plus_rssIcon_order'] => 'rss',
|
169 |
$sfsi_section5['sfsi_plus_vkIcon_order'] => 'vk',
|
170 |
$sfsi_section5['sfsi_plus_weiboIcon_order'] => 'weibo',
|
171 |
$sfsi_section5['sfsi_plus_wechatIcon_order'] => 'wechat',
|
172 |
+
$sfsi_section5['sfsi_plus_whatsappIcon_order'] => 'whatsapp',
|
173 |
(isset($sfsi_section5['sfsi_plus_houzzIcon_order']))
|
174 |
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
175 |
: 11 => 'houzz'
|
266 |
case 'wechat':
|
267 |
if (isset($sfsi_plus_section1_options['sfsi_plus_wechat_display']) && $sfsi_plus_section1_options['sfsi_plus_wechat_display'] == 'yes') $icons .= "<li>" . sfsi_plus_prepairIcons('wechat', 1) . "</li>";
|
268 |
break;
|
269 |
+
case 'whatsapp':
|
270 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_whatsapp_display']) && $sfsi_plus_section1_options['sfsi_plus_whatsapp_display'] == 'yes') $icons .= "<li>" . sfsi_plus_prepairIcons('whatsapp', 1) . "</li>";
|
271 |
+
break;
|
272 |
case 'custom':
|
273 |
$icons .= "<li>" . sfsi_plus_prepairIcons($icon_arry['ele'], 1) . "</li>";
|
274 |
break;
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -348,7 +348,7 @@ class sfsi_plus_SocialHelper
|
|
348 |
{
|
349 |
$pinit_html = 'https://www.pinterest.com/pin/create/button/?url=&media=&description';
|
350 |
|
351 |
-
$pinit_html = "<a href='#' onclick='sfsi_plus_pinterest_modal_images(event)' style='display:inline-block;' > <img class='sfsi_wicon' data-pin-nopin='true' width='auto' height='auto' alt='
|
352 |
return $pinit_html;
|
353 |
}
|
354 |
|
348 |
{
|
349 |
$pinit_html = 'https://www.pinterest.com/pin/create/button/?url=&media=&description';
|
350 |
|
351 |
+
$pinit_html = "<a href='#' onclick='sfsi_plus_pinterest_modal_images(event)' style='display:inline-block;' > <img class='sfsi_wicon' data-pin-nopin='true' width='auto' height='auto' alt='Pin Share' title='Pin Share' src='" . SFSI_PLUS_PLUGURL . "images/share_icons/en_US_save.svg" . "' /></a>";
|
352 |
return $pinit_html;
|
353 |
}
|
354 |
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -284,7 +284,7 @@ function sfsi_plus_pinterest_Custom($permalink, $show_count = false)
|
|
284 |
{
|
285 |
$pinit_html = 'https://www.pinterest.com/pin/create/button/?url=&media=&description';
|
286 |
|
287 |
-
$pinit_html = "<a href='" . $pinit_html . "' style='display:inline-block;' > <img class='sfsi_wicon' data-pin-nopin='true' width='auto' height='auto' alt='
|
288 |
return $pinit_html;
|
289 |
}
|
290 |
|
284 |
{
|
285 |
$pinit_html = 'https://www.pinterest.com/pin/create/button/?url=&media=&description';
|
286 |
|
287 |
+
$pinit_html = "<a href='" . $pinit_html . "' style='display:inline-block;' > <img class='sfsi_wicon' data-pin-nopin='true' width='auto' height='auto' alt='Pin Share' title='Pin Share' src='" . SFSI_PLUS_PLUGURL . "images/share_icons/en_US_save.svg" . "' /></a>";
|
288 |
return $pinit_html;
|
289 |
}
|
290 |
|
libs/sfsi_gutenberg_block.php
CHANGED
@@ -157,7 +157,6 @@ function sfsi_plus_render_gutenberg_rectangle($args = null, $content = null,$sha
|
|
157 |
|
158 |
// $sfsi_plus_show_item_onposts = $sfsi_section8['sfsi_plus_show_item_onposts'];
|
159 |
//new options that are added on the third questions
|
160 |
-
|
161 |
//checking for standard icons
|
162 |
if(!isset($sfsi_section8['sfsi_plus_rectsub']))
|
163 |
{
|
157 |
|
158 |
// $sfsi_plus_show_item_onposts = $sfsi_section8['sfsi_plus_show_item_onposts'];
|
159 |
//new options that are added on the third questions
|
|
|
160 |
//checking for standard icons
|
161 |
if(!isset($sfsi_section8['sfsi_plus_rectsub']))
|
162 |
{
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -20,7 +20,7 @@ function sfsi_plus_update_plugin()
|
|
20 |
$sfsi_banner_error_version = ['3.39','3.40','3.41'];
|
21 |
|
22 |
//Install version
|
23 |
-
update_option("sfsi_plus_pluginVersion", "3.
|
24 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
25 |
{
|
26 |
add_option("sfsi_plus_serverphpVersionnotification", "yes");
|
@@ -233,7 +233,15 @@ function sfsi_plus_update_plugin()
|
|
233 |
'timestamp' => ""
|
234 |
);
|
235 |
update_option("sfsi_plus_dismiss_twitter", serialize($sfsi_plus_dismiss_twitter));
|
236 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
$sfsi_plus_banner_global_upgrade = unserialize(get_option('sfsi_plus_banner_global_upgrade'));
|
239 |
if (!isset($sfsi_plus_banner_global_upgrade) || empty($sfsi_plus_banner_global_upgrade) || !isset($sfsi_plus_banner_global_upgrade["is_active"])) {
|
@@ -304,7 +312,11 @@ function sfsi_plus_update_plugin()
|
|
304 |
'timestamp' => ""
|
305 |
);
|
306 |
update_option("sfsi_plus_banner_global_pinterest", serialize($sfsi_plus_banner_global_pinterest));
|
307 |
-
|
|
|
|
|
|
|
|
|
308 |
}
|
309 |
|
310 |
/* subscription form */
|
@@ -419,7 +431,9 @@ function sfsi_plus_update_plugin()
|
|
419 |
if(!isset($option5['sfsi_plus_wechatIcon_order'])){
|
420 |
$option5['sfsi_plus_wechatIcon_order'] = '26';
|
421 |
}
|
422 |
-
|
|
|
|
|
423 |
if(!isset($option5['sfsi_icons_suppress_errors'])){
|
424 |
|
425 |
$sup_errors = "no";
|
@@ -432,7 +446,10 @@ function sfsi_plus_update_plugin()
|
|
432 |
|
433 |
$option5['sfsi_icons_suppress_errors'] = $sup_errors;
|
434 |
update_option('sfsi_error_reporting_notice_dismissed',$sup_errors_banner_dismissed);
|
435 |
-
|
|
|
|
|
|
|
436 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
437 |
}
|
438 |
|
@@ -472,6 +489,9 @@ function sfsi_plus_update_plugin()
|
|
472 |
if(!isset($option1['sfsi_plus_wechat_display'])){
|
473 |
$option1['sfsi_plus_wechat_display'] = 'no';
|
474 |
}
|
|
|
|
|
|
|
475 |
|
476 |
|
477 |
update_option('sfsi_plus_section1_options', serialize($option1));
|
@@ -662,7 +682,9 @@ function sfsi_plus_activate_plugin()
|
|
662 |
'sfsi_plus_wechat_display'=>'no',
|
663 |
'sfsi_custom_display'=>'',
|
664 |
'sfsi_custom_files'=>'',
|
665 |
-
|
|
|
|
|
666 |
);
|
667 |
add_option('sfsi_plus_section1_options', serialize($options1));
|
668 |
|
@@ -797,6 +819,7 @@ function sfsi_plus_activate_plugin()
|
|
797 |
'sfsi_plus_telegram_manualCounts' => '20',
|
798 |
'sfsi_plus_weibo_manualCounts' => '20',
|
799 |
'sfsi_plus_wechat_manualCounts' => '20',
|
|
|
800 |
'sfsi_plus_premium_count_box'=>'yes',
|
801 |
'sfsi_plus_responsive_share_count' => 'yes',
|
802 |
'sfsi_plus_original_counts' => 'yes',
|
@@ -832,6 +855,7 @@ function sfsi_plus_activate_plugin()
|
|
832 |
'sfsi_plus_okIcon_order'=>'24',
|
833 |
'sfsi_plus_weiboIcon_order'=>'25',
|
834 |
'sfsi_plus_wechatIcon_order'=>'26',
|
|
|
835 |
'sfsi_plus_CustomIcons_order'=>'',
|
836 |
'sfsi_plus_rss_MouseOverText'=>'RSS',
|
837 |
'sfsi_plus_email_MouseOverText'=>'Follow by Email',
|
@@ -853,7 +877,8 @@ function sfsi_plus_activate_plugin()
|
|
853 |
'sfsi_plus_premium_size_box'=>'yes',
|
854 |
'sfsi_plus_custom_social_hide'=>'no',
|
855 |
'sfsi_pplus_icons_suppress_errors'=>'no',
|
856 |
-
'sfsi_plus_icons_sharing_and_traffic_tips'=> "yes"
|
|
|
857 |
);
|
858 |
add_option('sfsi_plus_section5_options', serialize($options5));
|
859 |
|
@@ -1006,7 +1031,13 @@ function sfsi_plus_activate_plugin()
|
|
1006 |
'show_banner' => "yes",
|
1007 |
'timestamp' => ""
|
1008 |
);
|
1009 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1010 |
|
1011 |
$sfsi_plus_banner_global_upgrade = array(
|
1012 |
'met_criteria' => "no",
|
@@ -1062,7 +1093,9 @@ function sfsi_plus_activate_plugin()
|
|
1062 |
'is_active' => "no",
|
1063 |
'timestamp' => ""
|
1064 |
);
|
1065 |
-
|
|
|
|
|
1066 |
|
1067 |
/*Changes in option 2*/
|
1068 |
$get_option2 = unserialize(get_option('sfsi_plus_section2_options',false));
|
@@ -1262,13 +1295,13 @@ function sfsi_plus_Unistall_plugin()
|
|
1262 |
delete_option("sfsi_plus_banner_global_shares");
|
1263 |
delete_option("sfsi_plus_banner_global_http");
|
1264 |
delete_option("sfsi_plus_banner_global_upgrade");
|
1265 |
-
|
1266 |
delete_option("sfsi_plus_currentDate");
|
1267 |
delete_option("sfsi_plus_showNextBannerDate");
|
1268 |
delete_option("sfsi_plus_cycleDate");
|
1269 |
delete_option("sfsi_plus_loyaltyDate");
|
1270 |
delete_option("sfsi_plus_fb_count");
|
1271 |
-
|
1272 |
}
|
1273 |
/* end function */
|
1274 |
/* check CUrl */
|
20 |
$sfsi_banner_error_version = ['3.39','3.40','3.41'];
|
21 |
|
22 |
//Install version
|
23 |
+
update_option("sfsi_plus_pluginVersion", "3.45");
|
24 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
25 |
{
|
26 |
add_option("sfsi_plus_serverphpVersionnotification", "yes");
|
233 |
'timestamp' => ""
|
234 |
);
|
235 |
update_option("sfsi_plus_dismiss_twitter", serialize($sfsi_plus_dismiss_twitter));
|
236 |
+
}
|
237 |
+
$sfsi_plus_dismiss_copy_delete_post = unserialize(get_option('sfsi_plus_dismiss_copy_delete_post'));
|
238 |
+
if (!isset($sfsi_plus_dismiss_copy_delete_post) || empty($sfsi_plus_dismiss_copy_delete_post)) {
|
239 |
+
$sfsi_plus_dismiss_copy_delete_post = array(
|
240 |
+
'show_banner' => "yes",
|
241 |
+
'timestamp' => ""
|
242 |
+
);
|
243 |
+
update_option("sfsi_plus_dismiss_copy_delete_post", serialize($sfsi_plus_dismiss_copy_delete_post));
|
244 |
+
}
|
245 |
|
246 |
$sfsi_plus_banner_global_upgrade = unserialize(get_option('sfsi_plus_banner_global_upgrade'));
|
247 |
if (!isset($sfsi_plus_banner_global_upgrade) || empty($sfsi_plus_banner_global_upgrade) || !isset($sfsi_plus_banner_global_upgrade["is_active"])) {
|
312 |
'timestamp' => ""
|
313 |
);
|
314 |
update_option("sfsi_plus_banner_global_pinterest", serialize($sfsi_plus_banner_global_pinterest));
|
315 |
+
}
|
316 |
+
$sfsi_plus_banner_popups = get_option('sfsi_plus_banner_popups');
|
317 |
+
if (!isset($sfsi_plus_banner_popups)|| empty($sfsi_plus_banner_popups)) {
|
318 |
+
update_option('sfsi_plus_banner_popups', "yes");
|
319 |
+
}
|
320 |
}
|
321 |
|
322 |
/* subscription form */
|
431 |
if(!isset($option5['sfsi_plus_wechatIcon_order'])){
|
432 |
$option5['sfsi_plus_wechatIcon_order'] = '26';
|
433 |
}
|
434 |
+
if(!isset($option5['sfsi_plus_whatsappIcon_order'])){
|
435 |
+
$option5['sfsi_plus_whatsappIcon_order'] = '27';
|
436 |
+
}
|
437 |
if(!isset($option5['sfsi_icons_suppress_errors'])){
|
438 |
|
439 |
$sup_errors = "no";
|
446 |
|
447 |
$option5['sfsi_icons_suppress_errors'] = $sup_errors;
|
448 |
update_option('sfsi_error_reporting_notice_dismissed',$sup_errors_banner_dismissed);
|
449 |
+
}
|
450 |
+
if(!isset($option5['sfsi_plus_featured_image_rss'])){
|
451 |
+
$option5['sfsi_plus_featured_image_rss'] = 'no';
|
452 |
+
}
|
453 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
454 |
}
|
455 |
|
489 |
if(!isset($option1['sfsi_plus_wechat_display'])){
|
490 |
$option1['sfsi_plus_wechat_display'] = 'no';
|
491 |
}
|
492 |
+
if(!isset($option1['sfsi_plus_whatsapp_display'])){
|
493 |
+
$option1['sfsi_plus_whatsapp_display'] = 'no';
|
494 |
+
}
|
495 |
|
496 |
|
497 |
update_option('sfsi_plus_section1_options', serialize($option1));
|
682 |
'sfsi_plus_wechat_display'=>'no',
|
683 |
'sfsi_custom_display'=>'',
|
684 |
'sfsi_custom_files'=>'',
|
685 |
+
'sfsi_plus_premium_icons_box' =>'yes',
|
686 |
+
'sfsi_plus_whatsapp_display'=>'no',
|
687 |
+
|
688 |
);
|
689 |
add_option('sfsi_plus_section1_options', serialize($options1));
|
690 |
|
819 |
'sfsi_plus_telegram_manualCounts' => '20',
|
820 |
'sfsi_plus_weibo_manualCounts' => '20',
|
821 |
'sfsi_plus_wechat_manualCounts' => '20',
|
822 |
+
'sfsi_plus_whatsapp_manualCounts' => '20',
|
823 |
'sfsi_plus_premium_count_box'=>'yes',
|
824 |
'sfsi_plus_responsive_share_count' => 'yes',
|
825 |
'sfsi_plus_original_counts' => 'yes',
|
855 |
'sfsi_plus_okIcon_order'=>'24',
|
856 |
'sfsi_plus_weiboIcon_order'=>'25',
|
857 |
'sfsi_plus_wechatIcon_order'=>'26',
|
858 |
+
'sfsi_plus_whatsappIcon_order'=>'27',
|
859 |
'sfsi_plus_CustomIcons_order'=>'',
|
860 |
'sfsi_plus_rss_MouseOverText'=>'RSS',
|
861 |
'sfsi_plus_email_MouseOverText'=>'Follow by Email',
|
877 |
'sfsi_plus_premium_size_box'=>'yes',
|
878 |
'sfsi_plus_custom_social_hide'=>'no',
|
879 |
'sfsi_pplus_icons_suppress_errors'=>'no',
|
880 |
+
'sfsi_plus_icons_sharing_and_traffic_tips'=> "yes",
|
881 |
+
'sfsi_plus_featured_image_rss'=>'no',
|
882 |
);
|
883 |
add_option('sfsi_plus_section5_options', serialize($options5));
|
884 |
|
1031 |
'show_banner' => "yes",
|
1032 |
'timestamp' => ""
|
1033 |
);
|
1034 |
+
update_option("sfsi_plus_dismiss_twitter", serialize($sfsi_plus_dismiss_twitter));
|
1035 |
+
|
1036 |
+
$sfsi_plus_dismiss_copy_delete_post = array(
|
1037 |
+
'show_banner' => "yes",
|
1038 |
+
'timestamp' => ""
|
1039 |
+
);
|
1040 |
+
update_option("sfsi_plus_dismiss_copy_delete_post", serialize($sfsi_plus_dismiss_copy_delete_post));
|
1041 |
|
1042 |
$sfsi_plus_banner_global_upgrade = array(
|
1043 |
'met_criteria' => "no",
|
1093 |
'is_active' => "no",
|
1094 |
'timestamp' => ""
|
1095 |
);
|
1096 |
+
update_option("sfsi_plus_banner_global_pinterest", serialize($sfsi_plus_banner_global_pinterest));
|
1097 |
+
|
1098 |
+
add_option('sfsi_plus_banner_popups', "yes");
|
1099 |
|
1100 |
/*Changes in option 2*/
|
1101 |
$get_option2 = unserialize(get_option('sfsi_plus_section2_options',false));
|
1295 |
delete_option("sfsi_plus_banner_global_shares");
|
1296 |
delete_option("sfsi_plus_banner_global_http");
|
1297 |
delete_option("sfsi_plus_banner_global_upgrade");
|
1298 |
+
delete_option("sfsi_plus_dismiss_copy_delete_post");
|
1299 |
delete_option("sfsi_plus_currentDate");
|
1300 |
delete_option("sfsi_plus_showNextBannerDate");
|
1301 |
delete_option("sfsi_plus_cycleDate");
|
1302 |
delete_option("sfsi_plus_loyaltyDate");
|
1303 |
delete_option("sfsi_plus_fb_count");
|
1304 |
+
delete_option("sfsi_plus_banner_popups");
|
1305 |
}
|
1306 |
/* end function */
|
1307 |
/* check CUrl */
|
libs/sfsi_widget.php
CHANGED
@@ -1,452 +1,428 @@
|
|
1 |
-
<?php
|
2 |
/* create SFSI widget */
|
3 |
-
class Sfsi_Plus_Widget extends WP_Widget
|
4 |
{
|
5 |
function __construct()
|
6 |
{
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
parent::__construct(
|
11 |
// Base ID of your widget
|
12 |
-
'sfsi-plus-widget',
|
13 |
-
|
14 |
// Widget name will appear in UI
|
15 |
-
'Ultimate Social Media PLUS',
|
16 |
-
|
17 |
// Widget description
|
18 |
$widget_ops,
|
19 |
-
|
20 |
$control_ops
|
21 |
);
|
22 |
}
|
23 |
-
|
24 |
-
function widget(
|
25 |
{
|
26 |
-
$before_title = isset($args["before_title"])
|
27 |
-
$after_title = isset($args["after_title"])
|
28 |
-
$before_widget = isset($args["before_widget"])
|
29 |
-
$after_widget = isset($args["after_widget"])
|
30 |
//if show via widget is checked
|
31 |
$sfsi_plus_section8_options = get_option("sfsi_plus_section8_options");
|
32 |
$sfsi_plus_section8_options = unserialize($sfsi_plus_section8_options);
|
33 |
$sfsi_plus_show_via_widget = $sfsi_plus_section8_options['sfsi_plus_show_via_widget'];
|
34 |
-
if($sfsi_plus_show_via_widget == "yes")
|
35 |
-
{
|
36 |
/*Our variables from the widget settings. */
|
37 |
-
$title = apply_filters('widget_title', $instance['title']
|
38 |
-
$show_info = isset(
|
39 |
-
global $is_floter;
|
40 |
echo $before_widget;
|
41 |
/* Display the widget title */
|
42 |
-
if (
|
43 |
?>
|
44 |
<div class="sfsi_plus_widget" data-position="widget">
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
</div>
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
//echo 'Kindly go to setting page and check the option "show them via a widget"';
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
/*Update the widget */
|
63 |
-
function update( $new_instance, $old_instance )
|
64 |
-
{
|
65 |
-
$instance = $old_instance;
|
66 |
-
//Strip tags from title and name to remove HTML
|
67 |
-
if($new_instance['showf']==0)
|
68 |
-
{
|
69 |
-
$instance['showf']=1;
|
70 |
-
}
|
71 |
-
else
|
72 |
-
{
|
73 |
-
$instance['showf']=0;
|
74 |
-
}
|
75 |
-
$instance['title'] = strip_tags( $new_instance['title'] );
|
76 |
-
return $instance;
|
77 |
-
}
|
78 |
-
|
79 |
-
/* Set up some default widget settings. */
|
80 |
-
function form( $instance )
|
81 |
-
{
|
82 |
-
$defaults = array( 'title' =>"" );
|
83 |
-
$instance = wp_parse_args( (array) $instance, $defaults );
|
84 |
-
if(isset($instance['showf']))
|
85 |
-
{
|
86 |
-
if( $instance['showf'] == 0 && empty($instance['title']))
|
87 |
-
{
|
88 |
-
$instance['title']='Please follow & like us :)';
|
89 |
}
|
90 |
-
|
|
|
|
|
91 |
{
|
92 |
-
$instance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
-
else
|
96 |
-
{
|
97 |
-
$instance['title']='Please follow & like us :)';
|
98 |
-
}
|
99 |
-
?>
|
100 |
-
<p>
|
101 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>">
|
102 |
-
<?php _e('Title', SFSI_PLUS_DOMAIN); ?>:
|
103 |
-
</label>
|
104 |
-
<input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>"
|
105 |
-
value="<?php echo $instance['title']; ?>" style="width:100%;" />
|
106 |
-
<input type="hidden" value="<?php echo isset($instance['showf'])?$instance['showf']:''; ?>"
|
107 |
-
id="<?php echo $this->get_field_id( 'showf' ); ?>" name="<?php echo $this->get_field_name( 'showf' ); ?>" />
|
108 |
-
</p>
|
109 |
-
<p>
|
110 |
-
<?php _e('Please go to the plugin page to set your preferences:',SFSI_PLUS_DOMAIN); ?>
|
111 |
-
<a href="admin.php?page=sfsi-plus-options"><?php _e('Click here', SFSI_PLUS_DOMAIN); ?></a>
|
112 |
-
</p>
|
113 |
-
<?php
|
114 |
}
|
115 |
-
|
116 |
-
/* END OF widget Class */
|
117 |
|
118 |
-
/* register widget to wordpress */
|
119 |
-
function register_sfsi_plus_widgets()
|
120 |
-
{
|
121 |
-
|
122 |
-
}
|
123 |
-
add_action(
|
124 |
|
125 |
-
/* check the icons visiblity */
|
126 |
-
function sfsi_plus_check_visiblity($isFloter=0
|
127 |
-
{
|
128 |
-
global $wpdb;
|
129 |
-
/* Access the saved settings in database */
|
130 |
-
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options',false));
|
131 |
-
$sfsi_section3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
132 |
-
$sfsi_section5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
133 |
-
//options that are added on the third question
|
134 |
-
$sfsi_section8 = unserialize(get_option('sfsi_plus_section8_options',false));
|
135 |
-
|
136 |
-
/* calculate the width and icons display alignments */
|
137 |
-
$icons_space = $sfsi_section5['sfsi_plus_icons_spacing'];
|
138 |
-
$icons_size = $sfsi_section5['sfsi_plus_icons_size'];
|
139 |
-
$icons_per_row = ($sfsi_section5['sfsi_plus_icons_perRow'])? $sfsi_section5['sfsi_plus_icons_perRow'] : '';
|
140 |
-
$icons_alignment = $sfsi_section5['sfsi_plus_icons_Alignment'];
|
141 |
-
$position = 'position:absolute;';
|
142 |
-
$position1 = 'position:'.$container_position.';';
|
143 |
-
$jquery='<script>';
|
144 |
-
|
145 |
-
// $jquery .= 'jQuery(".sfsi_plus_widget").each(function( index ) {
|
146 |
-
// if(jQuery(this).attr("data-position") == "widget")
|
147 |
-
// {
|
148 |
-
// var wdgt_hght = jQuery(this).children(".sfsiplus_norm_row.sfsi_plus_wDiv").height();
|
149 |
-
// var title_hght = jQuery(this).parent(".widget.sfsi_plus").children(".widget-title").height();
|
150 |
-
// var totl_hght = parseInt( title_hght ) + parseInt( wdgt_hght );
|
151 |
-
// jQuery(this).parent(".widget.sfsi_plus").css("min-height", totl_hght+"px");
|
152 |
-
// }
|
153 |
-
// });';
|
154 |
-
if($shortcode_listener):
|
155 |
-
?>
|
156 |
-
<script>
|
157 |
-
window.addEventListener('sfsi_plus_functions_loaded', function() {
|
158 |
-
if (typeof sfsi_plus_widget_set == 'function') {
|
159 |
-
sfsi_plus_widget_set();
|
160 |
-
}
|
161 |
-
})
|
162 |
-
</script>
|
163 |
-
<?php
|
164 |
-
endif;
|
165 |
-
/* check if icons shuffling is activated in admin or not */
|
166 |
-
if($sfsi_section5['sfsi_plus_icons_stick']=="yes")
|
167 |
{
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
var pos = window.sfsi_plsu_s.position();
|
178 |
jQuery(window).scroll(function(){
|
179 |
-
sfsi_plus_stick_widget("'
|
180 |
}); })';
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
-
|
228 |
-
|
229 |
-
$position .= "left:50%;top:10px;"; $top="10";
|
230 |
-
}
|
231 |
-
break;
|
232 |
-
case "center-bottom" :
|
233 |
-
$position .= "left:50%;bottom:0px"; $top="bottom";
|
234 |
-
break;
|
235 |
-
}
|
236 |
-
if($sfsi_section8['sfsi_plus_float_page_position'] == 'center-right' || $sfsi_section8['sfsi_plus_float_page_position'] == 'center-left')
|
237 |
-
{
|
238 |
-
$jquery.="window.addEventListener('sfsi_plus_functions_loaded',function( totwith=".(isset($totwith)?$totwith:0)." )
|
239 |
{
|
240 |
var topalign = ( jQuery(window).height() - jQuery('#sfsi_plus_floater').height() ) / 2;
|
241 |
jQuery('#sfsi_plus_floater').css('top',topalign);
|
242 |
-
sfsi_plus_float_widget('"
|
243 |
});";
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
$jquery.="window.addEventListener('sfsi_plus_functions_loaded',function( totwith=".(isset($totwith)?$totwith:0)." ) { sfsi_plus_float_widget('".$top."')});";
|
248 |
-
}
|
249 |
-
}
|
250 |
-
|
251 |
-
$extra=0;
|
252 |
-
if($sfsi_section3['sfsi_plus_shuffle_icons']=="yes")
|
253 |
-
{
|
254 |
-
if($sfsi_section3['sfsi_plus_shuffle_Firstload']=="yes" && $sfsi_section3['sfsi_plus_shuffle_interval']=="yes")
|
255 |
-
{
|
256 |
-
$shuffle_time=(isset($sfsi_section3['sfsi_plus_shuffle_intervalTime'])) ? $sfsi_section3['sfsi_plus_shuffle_intervalTime'] : 3;
|
257 |
-
$shuffle_time=$shuffle_time*1000;
|
258 |
-
$jquery.="window.addEventListener('sfsi_plus_functions_loaded',function( totwith=".(isset($totwith)?$totwith:0)." ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setTimeout(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},2000); setInterval(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},".$shuffle_time."); });";
|
259 |
-
}
|
260 |
-
else if($sfsi_section3['sfsi_plus_shuffle_Firstload']=="no" && $sfsi_section3['sfsi_plus_shuffle_interval']=="yes")
|
261 |
-
{
|
262 |
-
$shuffle_time=(isset($sfsi_section3['sfsi_plus_shuffle_intervalTime'])) ? $sfsi_section3['sfsi_plus_shuffle_intervalTime'] : 3;
|
263 |
-
$shuffle_time=$shuffle_time*1000;
|
264 |
-
$jquery.="window.addEventListener('sfsi_plus_functions_loaded',function( totwith=".(isset($totwith)?$totwith:0)." ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setInterval(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},".$shuffle_time."); });";
|
265 |
-
}
|
266 |
-
else
|
267 |
-
{
|
268 |
-
$jquery.="window.addEventListener('sfsi_plus_functions_loaded',function( totwith=".(isset($totwith)?$totwith:0)." ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setTimeout(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},2000); });";
|
269 |
-
}
|
270 |
-
}
|
271 |
-
|
272 |
-
/* magnage the icons in saved order in admin */
|
273 |
-
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
274 |
-
$icons_list = array();
|
275 |
-
if(isset($sfsi_plus_section1_options['sfsi_custom_files'])){
|
276 |
-
if(is_string($sfsi_plus_section1_options['sfsi_custom_files'])){
|
277 |
-
$icons_list= unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
278 |
-
}else{
|
279 |
-
$icons_list= $sfsi_plus_section1_options['sfsi_custom_files'];
|
280 |
-
}
|
281 |
-
}
|
282 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_houzzIcon_order'])){
|
283 |
-
$sfsi_plus_section5_options['sfsi_plus_houzzIcon_order']=11;
|
284 |
-
}
|
285 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_okIcon_order'])){
|
286 |
-
$sfsi_plus_section5_options['sfsi_plus_okIcon_order']=22;
|
287 |
-
}
|
288 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_telegramIcon_order'])){
|
289 |
-
$sfsi_plus_section5_options['sfsi_plus_telegramIcon_order']=23;
|
290 |
-
}
|
291 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_vkIcon_order'])){
|
292 |
-
$sfsi_plus_section5_options['sfsi_plus_vkIcon_order']=24;
|
293 |
-
}
|
294 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_wechatIcon_order'])){
|
295 |
-
$sfsi_plus_section5_options['sfsi_plus_wechatIcon_order']=26;
|
296 |
-
}
|
297 |
-
if(!isset($sfsi_plus_section5_options['sfsi_plus_weiboIcon_order'])){
|
298 |
-
$sfsi_plus_section5_options['sfsi_plus_weiboIcon_order']=25;
|
299 |
-
}
|
300 |
-
|
301 |
-
// $icons_list = (isset($sfsi_plus_section1_options['sfsi_custom_files']))?(!is_string($sfsi_plus_section1_options['sfsi_custom_files'])?unserialize($sfsi_plus_section1_options['sfsi_custom_files'],false):$sfsi_plus_section1_options['sfsi_custom_files']):(array());
|
302 |
-
$icons_order = array(
|
303 |
-
'0' => '',
|
304 |
-
$sfsi_section5['sfsi_plus_rssIcon_order']=>'rss',
|
305 |
-
$sfsi_section5['sfsi_plus_emailIcon_order']=>'email',
|
306 |
-
$sfsi_section5['sfsi_plus_facebookIcon_order']=>'facebook',
|
307 |
-
$sfsi_section5['sfsi_plus_twitterIcon_order']=>'twitter',
|
308 |
-
$sfsi_section5['sfsi_plus_youtubeIcon_order']=>'youtube',
|
309 |
-
$sfsi_section5['sfsi_plus_pinterestIcon_order']=>'pinterest',
|
310 |
-
$sfsi_section5['sfsi_plus_linkedinIcon_order']=>'linkedin',
|
311 |
-
$sfsi_section5['sfsi_plus_instagramIcon_order']=>'instagram',
|
312 |
-
$sfsi_section5['sfsi_plus_houzzIcon_order']=>'houzz',
|
313 |
-
$sfsi_section5['sfsi_plus_okIcon_order']=>'ok',
|
314 |
-
$sfsi_section5['sfsi_plus_telegramIcon_order']=>'telegram',
|
315 |
-
$sfsi_section5['sfsi_plus_vkIcon_order']=>'vk',
|
316 |
-
$sfsi_section5['sfsi_plus_wechatIcon_order']=>'wechat',
|
317 |
-
$sfsi_section5['sfsi_plus_weiboIcon_order']=>'weibo'
|
318 |
-
);
|
319 |
-
if(!is_array($custom_icons_order)){
|
320 |
-
$custom_icons_order = array();
|
321 |
-
}
|
322 |
-
$max_custom_icon_order=max(array_keys($icons_order));
|
323 |
-
if(is_array($icons_list)){
|
324 |
-
foreach($icons_list as $index=>$icon){
|
325 |
-
if(false===array_search($index, array_column($custom_icons_order, 'ele'))){
|
326 |
-
array_push($custom_icons_order,array('order'=>($max_custom_icon_order+count($custom_icons_order)),'ele'=>$index));
|
327 |
}
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
{
|
342 |
-
$width = ((int)$icons_space+(int)$icons_size)*(int)$icons_per_row;
|
343 |
-
$main_width = $width=$width+$extra;
|
344 |
-
$main_width = $main_width."px";
|
345 |
-
}
|
346 |
-
|
347 |
-
/* built the main widget div */
|
348 |
-
$icons_main='<div class="sfsiplus_norm_row sfsi_plus_wDiv" style="'.(isset($main_width)?'width:'.$main_width.';'.$position1:'').';text-align:'.$icons_alignment.'">';
|
349 |
-
$icons="";
|
350 |
-
// var_dump($icons_order);
|
351 |
-
/* loop through icons and bulit the icons with all settings applied in admin */
|
352 |
-
foreach($icons_order as $index => $icn)
|
353 |
-
{
|
354 |
-
// var_dump($icn);
|
355 |
-
if(is_array($icn))
|
356 |
-
{
|
357 |
-
$icon_arry=$icn; $icn="custom" ;
|
358 |
-
}
|
359 |
-
switch ($icn)
|
360 |
-
{
|
361 |
-
case 'rss' : if($sfsi_plus_section1_options['sfsi_plus_rss_display']=='yes') $icons.= sfsi_plus_prepairIcons('rss',0,"no",null,$share_url);
|
362 |
-
break;
|
363 |
-
case 'email' : if($sfsi_plus_section1_options['sfsi_plus_email_display']=='yes') $icons.= sfsi_plus_prepairIcons('email',0,"no",null,$share_url);
|
364 |
-
break;
|
365 |
-
case 'facebook' : if($sfsi_plus_section1_options['sfsi_plus_facebook_display']=='yes') $icons.= sfsi_plus_prepairIcons('facebook',0,"no",null,$share_url);
|
366 |
-
break;
|
367 |
-
|
368 |
-
case 'twitter' : if($sfsi_plus_section1_options['sfsi_plus_twitter_display']=='yes') $icons.= sfsi_plus_prepairIcons('twitter',0,"no",null,$share_url);
|
369 |
-
break;
|
370 |
-
case 'youtube' : if($sfsi_plus_section1_options['sfsi_plus_youtube_display']=='yes') $icons.= sfsi_plus_prepairIcons('youtube',0,"no",null,$share_url);
|
371 |
-
break;
|
372 |
-
case 'pinterest' : if($sfsi_plus_section1_options['sfsi_plus_pinterest_display']=='yes') $icons.= sfsi_plus_prepairIcons('pinterest',0,"no",null,$share_url);
|
373 |
-
break;
|
374 |
-
case 'linkedin' : if($sfsi_plus_section1_options['sfsi_plus_linkedin_display']=='yes') $icons.= sfsi_plus_prepairIcons('linkedin',0,"no",null,$share_url);
|
375 |
-
break;
|
376 |
-
case 'instagram' : if($sfsi_plus_section1_options['sfsi_plus_instagram_display']=='yes') $icons.= sfsi_plus_prepairIcons('instagram',0,"no",null,$share_url);
|
377 |
-
break;
|
378 |
-
case 'houzz' :
|
379 |
-
if(
|
380 |
-
isset($sfsi_plus_section1_options['sfsi_plus_houzz_display']) &&
|
381 |
-
$sfsi_plus_section1_options['sfsi_plus_houzz_display'] == 'yes'
|
382 |
-
)
|
383 |
-
{
|
384 |
-
$icons.= sfsi_plus_prepairIcons('houzz',0,"no",null,$share_url);
|
385 |
}
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
}
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
|
406 |
-
$
|
407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
|
409 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
|
411 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
head = document.head || document.getElementsByTagName("head")[0],
|
451 |
style = document.createElement("style");
|
452 |
|
@@ -457,1257 +433,1094 @@ function sfsi_plus_check_visiblity($isFloter=0,$share_url=null,$container_positi
|
|
457 |
} else {
|
458 |
style.appendChild(document.createTextNode(css));
|
459 |
}</script>';
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
$icons_data=$icons_main.$icons_float;
|
468 |
-
return $icons_data;
|
469 |
-
}
|
470 |
-
/* make all icons with saved settings in admin */
|
471 |
-
function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost = NULL,$share_url=null)
|
472 |
-
{
|
473 |
-
global $wpdb; global $socialObj; global $post;
|
474 |
-
$mouse_hover_effect = '';
|
475 |
-
$active_theme = 'official';
|
476 |
-
$sfsi_plus_shuffle_Firstload = 'no';
|
477 |
-
$sfsi_plus_display_counts = "no";
|
478 |
-
$icon = '';
|
479 |
-
$url = '';
|
480 |
-
$alt_text = '';
|
481 |
-
$new_window = '';
|
482 |
-
$class = '';
|
483 |
-
/* access all saved settings in admin */
|
484 |
-
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options',false));
|
485 |
-
$sfsi_plus_section2_options = unserialize(get_option('sfsi_plus_section2_options',false));
|
486 |
-
$sfsi_plus_section3_options = unserialize(get_option('sfsi_plus_section3_options',false));
|
487 |
-
$sfsi_plus_section4_options = unserialize(get_option('sfsi_plus_section4_options',false));
|
488 |
-
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
489 |
-
$sfsi_plus_section6_options = unserialize(get_option('sfsi_plus_section6_options',false));
|
490 |
-
$sfsi_plus_section7_options = unserialize(get_option('sfsi_plus_section7_options',false));
|
491 |
-
$sfsi_plus_section8_options = unserialize(get_option('sfsi_plus_section8_options',false));
|
492 |
-
/* get active theme */
|
493 |
-
$border_radius = '';
|
494 |
-
$active_theme = $sfsi_plus_section3_options['sfsi_plus_actvite_theme'];
|
495 |
-
|
496 |
-
|
497 |
-
/* shuffle effect */
|
498 |
-
if($sfsi_plus_section3_options['sfsi_plus_shuffle_icons']=='yes')
|
499 |
-
{
|
500 |
-
$sfsi_plus_shuffle_Firstload=$sfsi_plus_section3_options["sfsi_plus_shuffle_Firstload"];
|
501 |
-
if($sfsi_plus_section3_options["sfsi_plus_shuffle_interval"]=="yes")
|
502 |
-
{
|
503 |
-
$sfsi_plus_shuffle_interval = $sfsi_plus_section3_options["sfsi_plus_shuffle_intervalTime"];
|
504 |
-
}
|
505 |
-
}
|
506 |
-
/* define the main url for icon access */
|
507 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/".$active_theme."/";
|
508 |
-
$visit_iconsUrl = SFSI_PLUS_PLUGURL."images/visit_icons/";
|
509 |
-
$share_iconsUrl = SFSI_PLUS_PLUGURL."images/share_icons/";
|
510 |
-
$hoverSHow = 0;
|
511 |
-
// var_dump($icons_baseUrl,$visit_iconsUrl);die();
|
512 |
-
/* check is icon is a custom icon or default icon */
|
513 |
-
if(is_numeric($icon_name)) { $icon_n=$icon_name; $icon_name="custom" ; }
|
514 |
-
$counts='';
|
515 |
-
$twit_tolCls = "";
|
516 |
-
$twt_margin = "";
|
517 |
-
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
518 |
-
$padding_top = '';
|
519 |
-
|
520 |
-
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
521 |
-
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
522 |
-
|
523 |
-
if(isset($option3['sfsi_plus_actvite_theme']) && !empty($option3['sfsi_plus_actvite_theme'])){
|
524 |
-
|
525 |
-
$active_theme = $option3['sfsi_plus_actvite_theme'];
|
526 |
-
}else{
|
527 |
-
$active_theme = "default";
|
528 |
-
}
|
529 |
-
$glossy_theme_adjustment=0;
|
530 |
-
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
531 |
-
if(null!==$share_url){
|
532 |
-
$current_url = $share_url;
|
533 |
-
}elseif($fromPost == 'yes' && !empty($post))
|
534 |
-
{
|
535 |
-
$current_url = get_permalink($post->ID);
|
536 |
-
}
|
537 |
-
else
|
538 |
-
{
|
539 |
-
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
540 |
-
$current_url = sfsi_plus_get_current_url();
|
541 |
-
}
|
542 |
-
$url = "#";
|
543 |
-
$cmcls='';
|
544 |
-
$toolClass = '';
|
545 |
-
$icons_language = $sfsi_plus_section5_options['sfsi_plus_icons_language'];
|
546 |
-
switch($icon_name)
|
547 |
-
{
|
548 |
-
|
549 |
-
|
550 |
-
case "rss" :
|
551 |
-
$socialObj = new sfsi_plus_SocialHelper(); /* global object to access 3rd party icon's actions */
|
552 |
-
$url = ($sfsi_plus_section2_options['sfsi_plus_rss_url'])? $sfsi_plus_section2_options['sfsi_plus_rss_url'] : 'javascript:void(0);';
|
553 |
-
$toolClass = "rss_tool_bdr";
|
554 |
-
$hoverdiv = '';
|
555 |
-
$arsfsiplus_row_class = "bot_rss_arow";
|
556 |
-
|
557 |
-
/* fecth no of counts if active in admin section */
|
558 |
-
if($sfsi_plus_section4_options['sfsi_plus_rss_countsDisplay']=="yes" &&
|
559 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
560 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
561 |
-
|
562 |
-
)
|
563 |
-
{
|
564 |
-
$counts=$socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_rss_manualCounts']);
|
565 |
-
}
|
566 |
-
|
567 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_rss_MouseOverText']))
|
568 |
-
{
|
569 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_rss_MouseOverText'];
|
570 |
-
}
|
571 |
-
else
|
572 |
-
{
|
573 |
-
$alt_text = 'RSS';
|
574 |
-
}
|
575 |
-
|
576 |
-
//Custom Skin Support {Monad}
|
577 |
-
if($active_theme == 'custom_support')
|
578 |
-
{
|
579 |
-
if(get_option("plus_rss_skin"))
|
580 |
-
{
|
581 |
-
$icon = get_option("plus_rss_skin");
|
582 |
-
}
|
583 |
-
else
|
584 |
-
{
|
585 |
-
$active_theme = 'default';
|
586 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/default/";
|
587 |
-
$icon = $icons_baseUrl.$active_theme."_rss.png";
|
588 |
-
}
|
589 |
-
}
|
590 |
-
else
|
591 |
-
{
|
592 |
-
$icon = $icons_baseUrl.$active_theme."_rss.png";
|
593 |
-
}
|
594 |
-
break;
|
595 |
-
|
596 |
-
case "email" :
|
597 |
-
$socialObj = new sfsi_plus_SocialHelper(); /* global object to access 3rd party icon's actions */
|
598 |
-
$hoverdiv = '';
|
599 |
-
$sfsi_plus_section2_options['sfsi_plus_email_url'];
|
600 |
-
$url = (isset($sfsi_plus_section2_options['sfsi_plus_email_url'])) ? $sfsi_plus_section2_options['sfsi_plus_email_url'] : 'https://follow.it/now';
|
601 |
-
$toolClass = "email_tool_bdr";
|
602 |
-
$arsfsiplus_row_class = "bot_eamil_arow";
|
603 |
-
|
604 |
-
/* fecth no of counts if active in admin section */
|
605 |
-
if($sfsi_plus_section4_options['sfsi_plus_email_countsDisplay']=="yes" &&
|
606 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
607 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
608 |
-
)
|
609 |
-
{
|
610 |
-
if($sfsi_plus_section4_options['sfsi_plus_email_countsFrom']=="manual")
|
611 |
-
{
|
612 |
-
$counts=$socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_email_manualCounts']);
|
613 |
-
}
|
614 |
-
else
|
615 |
-
{
|
616 |
-
$counts= $socialObj->SFSI_getFeedSubscriber(sanitize_text_field(get_option('sfsi_plus_feed_id',false)));
|
617 |
-
}
|
618 |
-
}
|
619 |
-
|
620 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_email_MouseOverText']))
|
621 |
-
{
|
622 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_email_MouseOverText'];
|
623 |
-
}
|
624 |
-
else
|
625 |
-
{
|
626 |
-
$alt_text = 'EMAIL';
|
627 |
}
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
{
|
664 |
-
$
|
665 |
-
}
|
666 |
-
else
|
667 |
-
{
|
668 |
-
$icon = $icons_baseUrl.$active_theme."_subscribe.png";
|
669 |
}
|
670 |
}
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
$
|
675 |
-
$
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
/* check for the over section */
|
682 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_facebook_MouseOverText']))
|
683 |
-
{
|
684 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_facebook_MouseOverText'];
|
685 |
-
}
|
686 |
-
else
|
687 |
-
{
|
688 |
-
$alt_text = "FACEBOOK";
|
689 |
}
|
690 |
-
|
691 |
-
$
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
$url = ($sfsi_plus_section2_options['sfsi_plus_facebookPage_url']) ? $sfsi_plus_section2_options['sfsi_plus_facebookPage_url']:'javascript:void(0);';
|
707 |
-
|
708 |
-
if($sfsi_plus_section2_options['sfsi_plus_facebookLike_option']=="yes" || $sfsi_plus_section2_options['sfsi_plus_facebookShare_option']=="yes" )
|
709 |
-
{
|
710 |
-
$url=($sfsi_plus_section2_options['sfsi_plus_facebookPage_url']) ? $sfsi_plus_section2_options['sfsi_plus_facebookPage_url']:'javascript:void(0);';
|
711 |
-
$hoverSHow=1;
|
712 |
-
$hoverdiv='';
|
713 |
-
if($sfsi_plus_section2_options['sfsi_plus_facebookPage_option']=="yes")
|
714 |
-
{
|
715 |
-
$hoverdiv.="<div class='icon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img class='sfsi_plus_wicon' alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
716 |
-
}
|
717 |
-
if($sfsi_plus_section2_options['sfsi_plus_facebookLike_option']=="yes")
|
718 |
-
{
|
719 |
-
$hoverdiv.="<div class='icon2'>".$socialObj->sfsi_plus_FBlike($current_url)."</div>";
|
720 |
-
}
|
721 |
-
if($sfsi_plus_section2_options['sfsi_plus_facebookShare_option']=="yes")
|
722 |
-
{
|
723 |
-
$hoverdiv.="<div class='icon3'>".$socialObj->sfsiFB_Share($current_url)."</div>";
|
724 |
-
}
|
725 |
-
|
726 |
-
}
|
727 |
-
|
728 |
-
/* fecth no of counts if active in admin section */
|
729 |
-
if(
|
730 |
-
$fromPost == 'yes' && !empty($post) &&
|
731 |
-
$sfsi_plus_section4_options['sfsi_plus_facebook_countsDisplay']=="yes" &&
|
732 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
733 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
734 |
-
)
|
735 |
-
{
|
736 |
-
$fb_data=$socialObj->sfsi_get_fb($current_url);
|
737 |
-
$counts=$socialObj->format_num($fb_data['total_count']);
|
738 |
-
if(empty($counts))
|
739 |
-
{
|
740 |
-
$counts=(string) "0";
|
741 |
-
}
|
742 |
-
}
|
743 |
-
else
|
744 |
-
{
|
745 |
-
if(
|
746 |
-
$sfsi_plus_section4_options['sfsi_plus_facebook_countsDisplay']=="yes" &&
|
747 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
748 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
749 |
-
)
|
750 |
-
{
|
751 |
-
if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="manual")
|
752 |
-
{
|
753 |
-
$counts=$socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_facebook_manualCounts']);
|
754 |
-
}
|
755 |
-
else if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="likes")
|
756 |
-
{
|
757 |
-
$fb_data=$socialObj->sfsi_get_fb($current_url);
|
758 |
-
$counts=$socialObj->format_num($fb_data);
|
759 |
-
if(empty($counts))
|
760 |
-
{
|
761 |
-
$counts=(string) "0";
|
762 |
-
}
|
763 |
-
}
|
764 |
-
else if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="followers")
|
765 |
-
{
|
766 |
-
$fb_data=$socialObj->sfsi_get_fb($current_url);
|
767 |
-
$counts=$socialObj->format_num($fb_data['share_count']);
|
768 |
-
|
769 |
-
}
|
770 |
-
else if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="mypage")
|
771 |
-
{
|
772 |
-
$current_url = $sfsi_plus_section4_options['sfsi_plus_facebook_mypageCounts'];
|
773 |
-
$fb_data=$socialObj->sfsi_get_fb_pagelike($current_url);
|
774 |
-
$counts=$socialObj->format_num($fb_data);
|
775 |
-
}
|
776 |
-
}
|
777 |
}
|
778 |
-
|
779 |
-
|
780 |
-
if(
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
{
|
788 |
-
$active_theme = 'default';
|
789 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/default/";
|
790 |
-
$icon=$icons_baseUrl.$active_theme."_fb.png";
|
791 |
-
}
|
792 |
}
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
{
|
816 |
-
$visit_icon = $visit_iconsUrl."Visit_us_twitter/icon_".$twitter_icons_lang.".png";
|
817 |
-
}
|
818 |
-
else
|
819 |
-
{
|
820 |
-
$visit_icon = $visit_iconsUrl."twitter.png";
|
821 |
-
}
|
822 |
-
//$visit_icon = $visit_iconsUrl."twitter.png";
|
823 |
-
|
824 |
-
if($icons_language == 'nn_NO')
|
825 |
-
{
|
826 |
-
$icons_language = 'no';
|
827 |
-
}
|
828 |
-
|
829 |
-
if($sfsi_plus_section2_options['sfsi_plus_twitter_followme']=="yes" || $sfsi_plus_section2_options['sfsi_plus_twitter_aboutPage']=="yes")
|
830 |
-
{
|
831 |
-
$hoverSHow=1;
|
832 |
-
//Visit twitter page {Monad}
|
833 |
-
if($sfsi_plus_section2_options['sfsi_plus_twitter_page']=="yes")
|
834 |
-
{
|
835 |
-
$hoverdiv.="<style>#sfsi_plus_floater .sfsi_plus_twt_tool_bdr .sfsi_plus_inside{margin-top: -18px;}</style><div class='cstmicon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img class='sfsi_plus_wicon' alt='Visit Us' title='Visit Us' src='".$visit_icon."' /></a></div>";
|
836 |
-
}
|
837 |
-
if($sfsi_plus_section2_options['sfsi_plus_twitter_followme']=="yes" && !empty($twitter_user))
|
838 |
-
{
|
839 |
-
$hoverdiv.="<div class='icon1'>".$socialObj->sfsi_twitterFollow($twitter_user,$icons_language)."</div>";
|
840 |
-
}
|
841 |
-
if($sfsi_plus_section2_options['sfsi_plus_twitter_aboutPage']=="yes")
|
842 |
-
{
|
843 |
-
$hoverdiv.="<div class='icon2'>".$socialObj->sfsi_twitterShare($current_url,$twitter_text,$icons_language)."</div>";
|
844 |
-
}
|
845 |
-
|
846 |
-
}
|
847 |
-
|
848 |
-
/* fecth no of counts if active in admin section */
|
849 |
-
if($sfsi_plus_section4_options['sfsi_plus_twitter_countsDisplay']=="yes" &&
|
850 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
851 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
852 |
-
)
|
853 |
-
{
|
854 |
-
if($sfsi_plus_section4_options['sfsi_plus_twitter_countsFrom']=="manual")
|
855 |
-
{
|
856 |
-
$counts=$socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_twitter_manualCounts']);
|
857 |
}
|
858 |
-
|
859 |
-
{
|
860 |
-
$
|
861 |
-
|
862 |
-
|
863 |
-
'sfsiplus_tw_oauth_access_token_secret'=> $sfsi_plus_section4_options['sfsiplus_tw_oauth_access_token_secret']);
|
864 |
-
|
865 |
-
$followers=$socialObj->sfsi_get_tweets($twitter_user,$tw_settings);
|
866 |
-
$counts=$socialObj->format_num($followers);
|
867 |
-
if(empty($counts))
|
868 |
-
{
|
869 |
-
$counts=(string) "0";
|
870 |
-
}
|
871 |
}
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
//Custom Skin Support {Monad}
|
885 |
-
if($active_theme == 'custom_support')
|
886 |
-
{
|
887 |
-
if(get_option("plus_twitter_skin"))
|
888 |
-
{
|
889 |
-
$icon = get_option("plus_twitter_skin");
|
890 |
-
}
|
891 |
-
else
|
892 |
-
{
|
893 |
-
$active_theme = 'default';
|
894 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/default/";
|
895 |
-
$icon=$icons_baseUrl.$active_theme."_twitter.png";
|
896 |
-
}
|
897 |
-
}
|
898 |
-
else
|
899 |
-
{
|
900 |
-
$icon=$icons_baseUrl.$active_theme."_twitter.png";
|
901 |
-
}
|
902 |
-
break;
|
903 |
-
|
904 |
-
case "youtube" :
|
905 |
-
$socialObj = new sfsi_plus_SocialHelper();
|
906 |
-
$toolClass = "utube_tool_bdr";
|
907 |
-
$arsfsiplus_row_class = "bot_utube_arow";
|
908 |
-
$socialObj = new sfsi_plus_SocialHelper();
|
909 |
-
$width = 96;
|
910 |
-
$totwith = $width+28+$icons_space;
|
911 |
-
$twt_margin = $totwith /2;
|
912 |
-
$youtube_user = (isset($sfsi_plus_section4_options['sfsi_plus_youtube_user']) && !empty($sfsi_plus_section4_options['sfsi_plus_youtube_user'])) ? $sfsi_plus_section4_options['sfsi_plus_youtube_user'] : 'follow.it';
|
913 |
-
$visit_icon = $visit_iconsUrl."youtube.png";
|
914 |
-
|
915 |
-
$url = ($sfsi_plus_section2_options['sfsi_plus_youtube_pageUrl'])? $sfsi_plus_section2_options['sfsi_plus_youtube_pageUrl'] : 'javascript:void(0);';
|
916 |
-
|
917 |
-
//Giving alternative text to image
|
918 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_youtube_MouseOverText']))
|
919 |
-
{
|
920 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_youtube_MouseOverText'];
|
921 |
-
}
|
922 |
-
else
|
923 |
-
{
|
924 |
-
$alt_text = "YOUTUBE";
|
925 |
-
}
|
926 |
-
|
927 |
-
/* check for icons to display */
|
928 |
-
$hoverdiv="";
|
929 |
-
if($sfsi_plus_section2_options['sfsi_plus_youtube_follow']=="yes" )
|
930 |
-
{
|
931 |
-
$hoverSHow=1;
|
932 |
-
if($sfsi_plus_section2_options['sfsi_plus_youtube_page']=="yes")
|
933 |
-
{
|
934 |
-
$hoverdiv.="<div class='icon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img class='sfsi_plus_wicon' alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
935 |
-
}
|
936 |
-
if($sfsi_plus_section2_options['sfsi_plus_youtube_follow']=="yes")
|
937 |
-
{
|
938 |
-
$hoverdiv.="<div class='icon2'>".$socialObj->sfsi_YouTubeSub($youtube_user)."</div>";
|
939 |
-
}
|
940 |
-
}
|
941 |
-
|
942 |
-
/* fecth no of counts if active in admin section */
|
943 |
-
if($sfsi_plus_section4_options['sfsi_plus_youtube_countsDisplay']=="yes" &&
|
944 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
945 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
946 |
-
)
|
947 |
-
{
|
948 |
-
if($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom']=="manual")
|
949 |
-
{
|
950 |
-
$counts=$socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_youtube_manualCounts']);
|
951 |
-
}
|
952 |
-
else if($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom']=="subscriber")
|
953 |
-
{
|
954 |
-
$followers=$socialObj->sfsi_get_youtube($youtube_user);
|
955 |
-
$counts=$socialObj->format_num($followers);
|
956 |
-
if(empty($counts))
|
957 |
-
{
|
958 |
-
$counts=(string) "0";
|
959 |
-
}
|
960 |
-
}
|
961 |
-
}
|
962 |
-
|
963 |
-
//Custom Skin Support {Monad}
|
964 |
-
if($active_theme == 'custom_support')
|
965 |
-
{
|
966 |
-
if(get_option("plus_youtube_skin"))
|
967 |
-
{
|
968 |
-
$icon = get_option("plus_youtube_skin");
|
969 |
-
}
|
970 |
-
else
|
971 |
-
{
|
972 |
-
$active_theme = 'default';
|
973 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/default/";
|
974 |
-
$icon = $icons_baseUrl.$active_theme."_youtube.png";
|
975 |
-
}
|
976 |
-
}
|
977 |
-
else
|
978 |
-
{
|
979 |
-
$icon = $icons_baseUrl.$active_theme."_youtube.png";
|
980 |
-
}
|
981 |
-
break;
|
982 |
-
|
983 |
-
case "pinterest" :
|
984 |
-
$width = 73;
|
985 |
-
$totwith = $width+28+$icons_space;
|
986 |
-
$twt_margin = $totwith /2;
|
987 |
-
$socialObj = new sfsi_plus_SocialHelper();
|
988 |
-
$toolClass = "sfsi_plus_printst_tool_bdr";
|
989 |
-
$arsfsiplus_row_class = "bot_pintst_arow";
|
990 |
-
|
991 |
-
$pinterest_user = (isset($sfsi_plus_section4_options['sfsi_plus_pinterest_user']))
|
992 |
-
? $sfsi_plus_section4_options['sfsi_plus_pinterest_user'] : '';
|
993 |
-
|
994 |
-
$pinterest_board = (isset($sfsi_plus_section4_options['sfsi_plus_pinterest_board']))
|
995 |
-
? $sfsi_plus_section4_options['sfsi_plus_pinterest_board'] : '';
|
996 |
-
|
997 |
-
$visit_icon = $visit_iconsUrl."pinterest.png";
|
998 |
-
|
999 |
-
$url = (isset($sfsi_plus_section2_options['sfsi_plus_pinterest_pageUrl'])) ? $sfsi_plus_section2_options['sfsi_plus_pinterest_pageUrl'] : 'javascript:void(0);';
|
1000 |
-
|
1001 |
-
//Giving alternative text to image
|
1002 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_pinterest_MouseOverText']))
|
1003 |
-
{
|
1004 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_pinterest_MouseOverText'];
|
1005 |
-
}
|
1006 |
-
else
|
1007 |
-
{
|
1008 |
-
$alt_text = "PINTEREST";
|
1009 |
-
}
|
1010 |
-
|
1011 |
-
/* check for icons to display */
|
1012 |
-
$hoverdiv="";
|
1013 |
-
if($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog']=="yes" )
|
1014 |
-
{
|
1015 |
-
$hoverSHow=1;
|
1016 |
-
if($sfsi_plus_section2_options['sfsi_plus_pinterest_page']=="yes")
|
1017 |
-
{
|
1018 |
-
$hoverdiv.="<div class='icon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img class='sfsi_plus_wicon' alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
1019 |
-
}
|
1020 |
-
if($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog']=="yes")
|
1021 |
-
{
|
1022 |
-
if($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog']=="yes")
|
1023 |
-
{
|
1024 |
-
$hoverdiv.="<div class='icon2'>".$socialObj->sfsi_PinIt($current_url)."</div>";
|
1025 |
-
}
|
1026 |
}
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
$
|
1042 |
-
|
1043 |
-
if(
|
1044 |
-
|
1045 |
-
|
|
|
1046 |
}
|
1047 |
-
}
|
1048 |
-
}
|
1049 |
-
|
1050 |
-
//Custom Skin Support {Monad}
|
1051 |
-
if($active_theme == 'custom_support')
|
1052 |
-
{
|
1053 |
-
if(get_option("plus_pintrest_skin"))
|
1054 |
-
{
|
1055 |
-
$icon = get_option("plus_pintrest_skin");
|
1056 |
-
}
|
1057 |
-
else
|
1058 |
-
{
|
1059 |
-
$active_theme = 'default';
|
1060 |
-
$icons_baseUrl = SFSI_PLUS_PLUGURL."images/icons_theme/default/";
|
1061 |
-
$icon=$icons_baseUrl.$active_theme."_pinterest.png";
|
1062 |
-
}
|
1063 |
-
}
|
1064 |
-
else
|
1065 |
-
{
|
1066 |
-
$icon=$icons_baseUrl.$active_theme."_pinterest.png";
|
1067 |
-
}
|
1068 |
-
break;
|
1069 |
-
|
1070 |
-
case "instagram" :
|
1071 |
-
$toolClass = "instagram_tool_bdr";
|
1072 |
-
$arsfsiplus_row_class = "bot_pintst_arow";
|
1073 |
-
$socialObj = new sfsi_plus_SocialHelper();
|
1074 |
-
$url = (isset($sfsi_plus_section2_options['sfsi_plus_instagram_pageUrl'])) ? $sfsi_plus_section2_options['sfsi_plus_instagram_pageUrl'] : 'javascript:void(0);';
|
1075 |
-
$instagram_user_name = $sfsi_plus_section4_options['sfsi_plus_instagram_User'];
|
1076 |
-
|
1077 |
-
//Giving alternative text to image
|
1078 |
-
if(!empty($sfsi_plus_section5_options['sfsi_plus_instagram_MouseOverText']))
|
1079 |
-
{
|
1080 |
-
$alt_text = $sfsi_plus_section5_options['sfsi_plus_instagram_MouseOverText'];
|
1081 |
-
}
|
1082 |
-
else
|
1083 |
-
{
|
1084 |
-
$alt_text = "INSTAGRAM";
|
1085 |
-
}
|
1086 |
-
|
1087 |
-
$hoverdiv="";
|
1088 |
-
/* fecth no of counts if active in admin section */
|
1089 |
-
if($sfsi_plus_section4_options['sfsi_plus_instagram_countsDisplay']=="yes" &&
|
1090 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
1091 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
1092 |
-
)
|
1093 |
-
{
|
1094 |
-
if($sfsi_plus_section4_options['sfsi_plus_instagram_countsFrom']=="manual")
|
1095 |
-
{
|
1096 |
-
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_instagram_manualCounts']);
|
1097 |
}
|
1098 |
-
|
1099 |
-
{
|
1100 |
-
$
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1104 |
}
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
}
|
1172 |
-
}
|
1173 |
-
else
|
1174 |
-
{
|
1175 |
-
$icon = $icons_baseUrl.$active_theme."_houzz.png";
|
1176 |
-
}
|
1177 |
-
break;
|
1178 |
-
|
1179 |
-
case "linkedin" :
|
1180 |
-
$width = 66;
|
1181 |
-
$socialObj = new sfsi_plus_SocialHelper();
|
1182 |
-
$toolClass = "sfsi_plus_linkedin_tool_bdr";
|
1183 |
-
$arsfsiplus_row_class = "bot_linkedin_arow";
|
1184 |
-
$linkedIn_compayId = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1185 |
-
$linkedIn_compay = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1186 |
-
$linkedIn_ProductId = $sfsi_plus_section2_options['sfsi_plus_linkedin_recommendProductId'];
|
1187 |
-
$visit_icon = $visit_iconsUrl."linkedIn.png";
|
1188 |
-
|
1189 |
-
/*check for icons to display */
|
1190 |
-
$url=($sfsi_plus_section2_options['sfsi_plus_linkedin_pageURL'])? $sfsi_plus_section2_options['sfsi_plus_linkedin_pageURL'] : 'javascript:void(0);';
|
1191 |
-
|
1192 |
-
if($sfsi_plus_section2_options['sfsi_plus_linkedin_follow']=="yes" || $sfsi_plus_section2_options['sfsi_plus_linkedin_SharePage']=="yes" || $sfsi_plus_section2_options['sfsi_plus_linkedin_recommendBusines']=="yes" )
|
1193 |
-
{
|
1194 |
-
$hoverSHow=1;
|
1195 |
-
$hoverdiv='';
|
1196 |
-
if($sfsi_plus_section2_options['sfsi_plus_linkedin_page']=="yes")
|
1197 |
-
{
|
1198 |
-
$hoverdiv.="<div class='icon4'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img class='sfsi_plus_wicon' alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
1199 |
-
}
|
1200 |
-
if($sfsi_plus_section2_options['sfsi_plus_linkedin_follow']=="yes")
|
1201 |
-
{
|
1202 |
-
$hoverdiv.="<div class='icon1'>".$socialObj->sfsi_LinkedInFollow($linkedIn_compayId)."</div>";
|
1203 |
-
}
|
1204 |
-
if($sfsi_plus_section2_options['sfsi_plus_linkedin_SharePage']=="yes")
|
1205 |
-
{
|
1206 |
-
$linkedIn_icons_lang = isset($option5['sfsi_plus_linkedin_icons_language']) ? $option5['sfsi_plus_linkedin_icons_language'] : 'en_US';
|
1207 |
-
$linkedin_share_icon = SFSI_PLUS_PLUGURL . "images/share_icons/Linkedin_Share/" . $linkedIn_icons_lang . "_share.svg";
|
1208 |
-
// $current_url = $socialObj->sfsi_get_custom_share_link('linkedin');
|
1209 |
-
$hoverdiv .= "<div class='icon2'><a href='https://www.linkedin.com/shareArticle?url=" . $current_url . "'><img class='sfsi_premium_wicon' nopin=nopin alt='Share' title='Share' src='" . $linkedin_share_icon . "' /></a></div>";
|
1210 |
-
// $hoverdiv.="<div class='icon2'>".$socialObj->sfsi_LinkedInShare($current_url)."</div>";
|
1211 |
-
}
|
1212 |
-
if($sfsi_plus_section2_options['sfsi_plus_linkedin_recommendBusines']=="yes")
|
1213 |
-
{
|
1214 |
-
$hoverdiv.="<div class='icon3'>".$socialObj->sfsi_LinkedInRecommend($linkedIn_compay,$linkedIn_ProductId)."</div>";
|
1215 |
-
$width=99;
|
1216 |
-
}
|
1217 |
-
}
|
1218 |
-
|
1219 |
-
|
1220 |
-
if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" &&
|
1221 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes" &&
|
1222 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
1223 |
-
)
|
1224 |
-
{
|
1225 |
-
if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="manual")
|
1226 |
-
{
|
1227 |
-
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_linkedIn_manualCounts']);
|
1228 |
-
}
|
1229 |
-
else if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="follower")
|
1230 |
-
{
|
1231 |
-
$linkedIn_compay=$sfsi_plus_section4_options['sfsi_plus_ln_company'];
|
1232 |
-
$ln_settings = array('sfsi_plus_ln_api_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_api_key'],
|
1233 |
-
'sfsi_plus_ln_secret_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_secret_key'],
|
1234 |
-
'sfsi_plus_ln_oAuth_user_token'=>$sfsi_plus_section4_options['sfsi_plus_ln_oAuth_user_token']);
|
1235 |
-
|
1236 |
-
$followers=$socialObj->sfsi_getlinkedin_follower($linkedIn_compay,$ln_settings);
|
1237 |
-
(int) $followers;
|
1238 |
-
$counts=$socialObj->format_num($followers);
|
1239 |
-
if(empty($counts))
|
1240 |
-
{
|
1241 |
$counts = (string) "0";
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1365 |
} else {
|
1366 |
-
$
|
1367 |
}
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
case "vk":
|
1381 |
-
|
1382 |
-
$toolClass = "sfsi_plus_vk_tool_bdr";
|
1383 |
-
$hoverdiv = '';
|
1384 |
-
$arsfsiplus_row_class = "bot_rss_arow";
|
1385 |
-
|
1386 |
-
/* fecth no of counts if active in admin section */
|
1387 |
-
if(
|
1388 |
-
isset($sfsi_plus_section4_options['sfsi_plus_vk_countsDisplay']) &&
|
1389 |
-
$sfsi_plus_section4_options['sfsi_plus_vk_countsDisplay'] == "yes" &&
|
1390 |
-
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
1391 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
1392 |
-
|
1393 |
-
)
|
1394 |
-
{
|
1395 |
-
$counts = $sfsi_plus_section4_options['sfsi_plus_vk_manualCounts'];
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
$alt_text = sfsi_plus_get_icon_mouseover_text("vk");
|
1399 |
-
$icon = sfsi_plus_get_icon_image("vk");
|
1400 |
-
// $icon=$icons_baseUrl.$active_theme."_vk.png";
|
1401 |
-
$share_icon = $share_iconsUrl.$icon_name.".svg";
|
1402 |
-
$visit_icon = $visit_iconsUrl.$icon_name.".svg";
|
1403 |
-
$url = "#";
|
1404 |
-
|
1405 |
-
$hoverSHow = 0;
|
1406 |
-
if(isset($sfsi_plus_section2_options['sfsi_plus_vkVisit_url']) && !empty($sfsi_plus_section2_options['sfsi_plus_vkVisit_url'])){
|
1407 |
-
|
1408 |
-
$url = $sfsi_plus_section2_options['sfsi_plus_vkVisit_url'];
|
1409 |
-
}else{
|
1410 |
-
$url="#";
|
1411 |
-
$sfsi_onclick="event.preventDefault();";
|
1412 |
-
}
|
1413 |
-
|
1414 |
-
if($active_theme == "glossy"){
|
1415 |
-
$glossy_theme_adjustment=4;
|
1416 |
-
}
|
1417 |
-
break;
|
1418 |
-
|
1419 |
-
case "weibo":
|
1420 |
-
|
1421 |
-
$toolClass = "sfsi_plus_weibo_tool_bdr";
|
1422 |
-
$hoverdiv = '';
|
1423 |
-
$arsfsiplus_row_class = "bot_rss_arow";
|
1424 |
-
|
1425 |
-
/* fecth no of counts if active in admin section */
|
1426 |
-
if(isset($sfsi_plus_section4_options['sfsi_plus_weibo_countsDisplay']) &&
|
1427 |
-
"yes" == $sfsi_plus_section4_options['sfsi_plus_weibo_countsDisplay'] &&
|
1428 |
-
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1429 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
1430 |
-
){
|
1431 |
-
|
1432 |
-
$counts = $sfsi_plus_section4_options['sfsi_plus_weibo_manualCounts'];
|
1433 |
-
}
|
1434 |
-
|
1435 |
-
$alt_text = sfsi_plus_get_icon_mouseover_text($icon_name);
|
1436 |
-
$icon = sfsi_plus_get_icon_image($icon_name);
|
1437 |
-
// $icon=$icons_baseUrl.$active_theme."_weibo.png";
|
1438 |
-
$url = "#";
|
1439 |
-
|
1440 |
-
$hoverSHow = 0;
|
1441 |
-
if(isset($sfsi_plus_section2_options['sfsi_plus_weiboVisit_url']) && !empty($sfsi_plus_section2_options['sfsi_plus_weiboVisit_url'])){
|
1442 |
-
|
1443 |
-
$url = $sfsi_plus_section2_options['sfsi_plus_weiboVisit_url'];
|
1444 |
-
}else{
|
1445 |
-
$url="#";
|
1446 |
-
$sfsi_onclick="event.preventDefault();";
|
1447 |
-
}
|
1448 |
-
|
1449 |
-
if($active_theme == "glossy"){
|
1450 |
-
$glossy_theme_adjustment=4;
|
1451 |
-
}
|
1452 |
-
break;
|
1453 |
-
|
1454 |
-
|
1455 |
-
case "wechat":
|
1456 |
-
|
1457 |
-
$toolClass = "sfsi_plus_wechat_tool_bdr";
|
1458 |
-
$hoverdiv = '';
|
1459 |
-
$arsfsiplus_row_class = "bot_rss_arow";
|
1460 |
-
|
1461 |
-
/* fecth no of counts if active in admin section */
|
1462 |
-
if(isset($sfsi_plus_section4_options['sfsi_plus_wechat_countsDisplay']) &&
|
1463 |
-
"yes" == $sfsi_plus_section4_options['sfsi_plus_wechat_countsDisplay'] &&
|
1464 |
-
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1465 |
-
$sfsi_plus_section4_options['sfsi_plus_round_counts']=="yes"
|
1466 |
-
){
|
1467 |
-
|
1468 |
-
$counts = $sfsi_plus_section4_options['sfsi_plus_wechat_manualCounts'];
|
1469 |
-
}
|
1470 |
-
|
1471 |
-
$alt_text = sfsi_plus_get_icon_mouseover_text($icon_name);
|
1472 |
-
$icon = sfsi_plus_get_icon_image($icon_name);
|
1473 |
-
// $icon=$icons_baseUrl.$active_theme."_wechat.png";
|
1474 |
-
|
1475 |
-
$share_icon = $share_iconsUrl.$icon_name.".svg";
|
1476 |
-
$visit_icon = $visit_iconsUrl.$icon_name.".svg";
|
1477 |
-
$url = "#";
|
1478 |
-
// if(!wp_is_mobile()){
|
1479 |
-
$sfsi_onclick="event.preventDefault();sfsi_plus_wechat_share()" ;
|
1480 |
-
// }else{
|
1481 |
-
// $url = "weixin://dl/chat";
|
1482 |
-
// }
|
1483 |
-
|
1484 |
-
if($active_theme == "glossy"){
|
1485 |
-
$glossy_theme_adjustment=4;
|
1486 |
-
}
|
1487 |
-
break;
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
///MZ CODE END
|
1492 |
-
|
1493 |
-
default:
|
1494 |
-
$border_radius = "";
|
1495 |
-
//$border_radius =" border-radius:48%;";
|
1496 |
-
$cmcls = "cmcls";
|
1497 |
-
$padding_top = "";
|
1498 |
-
if($active_theme=="badge")
|
1499 |
-
{
|
1500 |
-
//$border_radius="border-radius: 18%;";
|
1501 |
}
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1505 |
}
|
1506 |
-
|
1507 |
-
$
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
$
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1520 |
}
|
1521 |
-
|
1522 |
-
{
|
1523 |
-
|
|
|
|
|
|
|
|
|
|
|
1524 |
}
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
/* apply size of icon */
|
1531 |
-
if($is_front==0)
|
1532 |
-
{
|
1533 |
-
$icons_size = $sfsi_plus_section5_options['sfsi_plus_icons_size'];
|
1534 |
-
}
|
1535 |
-
else
|
1536 |
-
{
|
1537 |
-
$icons_size = 51;
|
1538 |
-
}
|
1539 |
-
|
1540 |
-
/* spacing and no of icons per row */
|
1541 |
-
$icons_space = '';
|
1542 |
-
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
1543 |
-
$icon_width = (int)$icons_size;
|
1544 |
-
/* check for mouse hover effect */
|
1545 |
-
$icon_opacity="1";
|
1546 |
-
|
1547 |
-
if($sfsi_plus_section3_options['sfsi_plus_mouseOver']=='yes')
|
1548 |
-
{
|
1549 |
-
$mouse_hover_effect=$sfsi_plus_section3_options["sfsi_plus_mouseOver_effect"];
|
1550 |
-
if($mouse_hover_effect=="fade_in" || $mouse_hover_effect=="combo")
|
1551 |
-
{
|
1552 |
-
$icon_opacity="0.6";
|
1553 |
-
}
|
1554 |
-
}
|
1555 |
-
|
1556 |
-
$toolT_cls='';
|
1557 |
-
if((int) $icon_width <=49 && (int) $icon_width >=30)
|
1558 |
-
{
|
1559 |
-
$bt_class="";
|
1560 |
-
$toolT_cls="sfsi_plus_Tlleft";
|
1561 |
-
}
|
1562 |
-
else if((int) $icon_width <=20)
|
1563 |
-
{
|
1564 |
-
$bt_class="sfsiSmBtn";
|
1565 |
-
$toolT_cls="sfsi_plus_Tlleft";
|
1566 |
-
}
|
1567 |
-
else
|
1568 |
-
{
|
1569 |
-
$bt_class="";
|
1570 |
-
$toolT_cls="sfsi_plus_Tlleft";
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
if($toolClass=="rss_tool_bdr" || $toolClass=='email_tool_bdr' || $toolClass=="custom_lkn" || $toolClass=="instagram_tool_bdr" )
|
1574 |
-
{
|
1575 |
-
$new_window = sfsi_plus_checkNewWindow();
|
1576 |
-
}
|
1577 |
-
else if($hoverSHow)
|
1578 |
-
{
|
1579 |
-
if(!function_exists('wp_is_mobile')||!wp_is_mobile())
|
1580 |
-
{
|
1581 |
-
$new_window = sfsi_plus_checkNewWindow();
|
1582 |
}
|
1583 |
-
|
|
|
|
|
1584 |
{
|
1585 |
-
$
|
1586 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1587 |
}
|
1588 |
-
}
|
1589 |
-
else
|
1590 |
-
{
|
1591 |
-
$new_window = sfsi_plus_checkNewWindow();
|
1592 |
-
}
|
1593 |
|
1594 |
-
|
1595 |
-
$new_window = "";
|
1596 |
-
}
|
1597 |
-
// if($sfsi_plus_section2_options['sfsi_plus_rss_icons'] !== "sfsi" && sanitize_text_field(get_option('sfsi_plus_feed_id',false)) == ""){
|
1598 |
-
// $url = "https://follow.it/now";
|
1599 |
-
// }
|
1600 |
-
$margin_bot=(5+$glossy_theme_adjustment)."px;";
|
1601 |
-
if($sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes")
|
1602 |
-
{
|
1603 |
-
$margin_bot = (30+($glossy_theme_adjustment>0?$glossy_theme_adjustment-1:$glossy_theme_adjustment))."px;";
|
1604 |
-
}
|
1605 |
-
|
1606 |
-
if(isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL))
|
1607 |
-
{
|
1608 |
-
$icons.= "<div style='width:".$icon_width."px; height:".$icon_width."px;margin-left:".$icons_space."px;margin-bottom:".$margin_bot."' class='sfsi_plus_wicons shuffeldiv ".$cmcls."'>";
|
1609 |
-
|
1610 |
-
$icons.= "<div class='sfsiplus_inerCnt'>";
|
1611 |
-
|
1612 |
-
$icons.= "<a class='".$class." sficn' data-effect='".$mouse_hover_effect."' $new_window href='".$url."' style='opacity:".$icon_opacity."' ".(isset($sfsi_onclick)?'onclick="'.$sfsi_onclick.'"':'').">";
|
1613 |
-
|
1614 |
-
$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 sfsiplusid_round_icon_".$icon_name."' data-effect='".$mouse_hover_effect."' />";
|
1615 |
-
|
1616 |
-
$icons.= '</a>';
|
1617 |
-
|
1618 |
-
if(isset($counts) && $counts!='' && $onpost == "no")
|
1619 |
-
{
|
1620 |
-
$icons.= '<span class="bot_no '.$bt_class.'">'.$counts.'</span>';
|
1621 |
-
}
|
1622 |
-
|
1623 |
-
if($hoverSHow && !empty($hoverdiv))
|
1624 |
-
{
|
1625 |
-
//$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;margin-left:-'.$twt_margin.'px;" id="sfsiplusid_'.$icon_name.'">';
|
1626 |
-
|
1627 |
-
$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.' sfsiplusid_'.$icon_name.'" style="display:block;'.(isset($width)?'width:'.$width.'px':'').';opacity:0;z-index:-1;">';
|
1628 |
-
$icons.= '<span class="bot_arow '.$arsfsiplus_row_class.'"></span>';
|
1629 |
-
$icons.= '<div class="sfsi_plus_inside">'.$hoverdiv."</div>";
|
1630 |
-
$icons.= "</div>";
|
1631 |
-
}
|
1632 |
-
$icons.="</div>";
|
1633 |
-
$icons.="</div>";
|
1634 |
-
}
|
1635 |
-
return $icons;
|
1636 |
-
}
|
1637 |
-
|
1638 |
-
/* make url for new window */
|
1639 |
-
function sfsi_plus_checkNewWindow()
|
1640 |
-
{
|
1641 |
-
global $wpdb;
|
1642 |
-
$sfsi_plus_section5_options= unserialize(get_option('sfsi_plus_section5_options',false));
|
1643 |
-
if($sfsi_plus_section5_options['sfsi_plus_icons_ClickPageOpen']=="yes")
|
1644 |
-
{
|
1645 |
-
return $new_window="target='_blank'";
|
1646 |
-
}
|
1647 |
-
else
|
1648 |
-
{
|
1649 |
-
return '';
|
1650 |
-
}
|
1651 |
-
}
|
1652 |
-
|
1653 |
-
function sfsi_plus_check_posts_visiblity($isFloter=0 , $fromPost = NULL)
|
1654 |
-
{
|
1655 |
-
global $wpdb;
|
1656 |
-
/* Access the saved settings in database */
|
1657 |
-
$sfsi_plus_section1_options= unserialize(get_option('sfsi_plus_section1_options',false));
|
1658 |
-
$sfsi_section3= unserialize(get_option('sfsi_plus_section3_options',false));
|
1659 |
-
$sfsi_section5= unserialize(get_option('sfsi_plus_section5_options',false));
|
1660 |
-
|
1661 |
-
//options that are added on the third question
|
1662 |
-
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
1663 |
-
|
1664 |
-
/* calculate the width and icons display alignments */
|
1665 |
-
$icons_space=$sfsi_section8['sfsi_plus_post_icons_spacing'];
|
1666 |
-
$icons_size=$sfsi_section8['sfsi_plus_post_icons_size'];
|
1667 |
-
$extra=0;
|
1668 |
-
|
1669 |
-
|
1670 |
-
/* magnage the icons in saved order in admin */
|
1671 |
-
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
1672 |
-
$icons= unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
1673 |
-
$icons_order = array(
|
1674 |
-
'0' => '',
|
1675 |
-
$sfsi_section5['sfsi_plus_rssIcon_order']=>'rss',
|
1676 |
-
$sfsi_section5['sfsi_plus_emailIcon_order']=>'email',
|
1677 |
-
$sfsi_section5['sfsi_plus_facebookIcon_order']=>'facebook',
|
1678 |
-
$sfsi_section5['sfsi_plus_twitterIcon_order']=>'twitter',
|
1679 |
-
$sfsi_section5['sfsi_plus_youtubeIcon_order']=>'youtube',
|
1680 |
-
$sfsi_section5['sfsi_plus_pinterestIcon_order']=>'pinterest',
|
1681 |
-
$sfsi_section5['sfsi_plus_linkedinIcon_order']=>'linkedin',
|
1682 |
-
$sfsi_section5['sfsi_plus_instagramIcon_order']=>'instagram',
|
1683 |
-
$sfsi_section5['sfsi_plus_okIcon_order']=>'ok',
|
1684 |
-
$sfsi_section5['sfsi_plus_telegramIcon_order']=>'telegram',
|
1685 |
-
$sfsi_section5['sfsi_plus_vkIcon_order']=>'vk',
|
1686 |
-
$sfsi_section5['sfsi_plus_weiboIcon_order']=>'weibo',
|
1687 |
-
$sfsi_section5['sfsi_plus_wechatIcon_order']=>'wechat',
|
1688 |
-
(isset($sfsi_section5['sfsi_plus_houzzIcon_order']))
|
1689 |
-
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
1690 |
-
: 12 => 'houzz'
|
1691 |
-
);
|
1692 |
-
if(is_array($custom_icons_order) )
|
1693 |
-
{
|
1694 |
-
foreach($custom_icons_order as $data)
|
1695 |
{
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1711 |
head = document.head || document.getElementsByTagName("head")[0],
|
1712 |
style = document.createElement("style");
|
1713 |
|
@@ -1718,171 +1531,159 @@ function sfsi_plus_check_posts_visiblity($isFloter=0 , $fromPost = NULL)
|
|
1718 |
} else {
|
1719 |
style.appendChild(document.createTextNode(css));
|
1720 |
}</script>';
|
1721 |
-
|
1722 |
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1730 |
}
|
1731 |
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
break;
|
1751 |
-
|
1752 |
-
|
1753 |
-
case 'twitter' :
|
1754 |
-
if($sfsi_plus_section1_options['sfsi_plus_twitter_display']=='yes')
|
1755 |
-
{
|
1756 |
-
$icons.= sfsi_plus_prepairIcons('twitter', 0, "no", $fromPost);
|
1757 |
-
}
|
1758 |
-
break;
|
1759 |
-
case 'youtube' :
|
1760 |
-
if($sfsi_plus_section1_options['sfsi_plus_youtube_display']=='yes')
|
1761 |
-
{
|
1762 |
-
$icons.= sfsi_plus_prepairIcons('youtube');
|
1763 |
-
}
|
1764 |
-
break;
|
1765 |
-
|
1766 |
-
case 'pinterest' :
|
1767 |
-
if($sfsi_plus_section1_options['sfsi_plus_pinterest_display']=='yes')
|
1768 |
-
{
|
1769 |
-
$icons.= sfsi_plus_prepairIcons('pinterest');
|
1770 |
-
}
|
1771 |
-
break;
|
1772 |
-
case 'linkedin' :
|
1773 |
-
if($sfsi_plus_section1_options['sfsi_plus_linkedin_display']=='yes')
|
1774 |
-
{
|
1775 |
-
$icons.= sfsi_plus_prepairIcons('linkedin', 0, "no", $fromPost);
|
1776 |
-
}
|
1777 |
-
break;
|
1778 |
-
case 'instagram' :
|
1779 |
-
if($sfsi_plus_section1_options['sfsi_plus_instagram_display']=='yes')
|
1780 |
-
{
|
1781 |
-
$icons.= sfsi_plus_prepairIcons('instagram');
|
1782 |
-
}
|
1783 |
-
break;
|
1784 |
-
case 'houzz' :
|
1785 |
-
if(
|
1786 |
-
isset($sfsi_plus_section1_options['sfsi_plus_houzz_display']) &&
|
1787 |
-
$sfsi_plus_section1_options['sfsi_plus_houzz_display']=='yes'
|
1788 |
-
)
|
1789 |
-
{
|
1790 |
-
$icons.= sfsi_plus_prepairIcons('houzz');
|
1791 |
-
}
|
1792 |
-
break;
|
1793 |
-
case 'ok' :
|
1794 |
-
if(
|
1795 |
-
isset($sfsi_plus_section1_options['sfsi_plus_ok_display']) &&
|
1796 |
-
$sfsi_plus_section1_options['sfsi_plus_ok_display']=='yes'
|
1797 |
-
)
|
1798 |
-
{
|
1799 |
-
$icons.= sfsi_plus_prepairIcons('ok');
|
1800 |
-
|
1801 |
-
}
|
1802 |
-
break;
|
1803 |
-
case 'telegram' :
|
1804 |
-
if(
|
1805 |
-
isset($sfsi_plus_section1_options['sfsi_plus_telegram_display']) &&
|
1806 |
-
$sfsi_plus_section1_options['sfsi_plus_telegram_display']=='yes'
|
1807 |
-
)
|
1808 |
-
{
|
1809 |
-
$icons.= sfsi_plus_prepairIcons('telegram');
|
1810 |
-
|
1811 |
-
}
|
1812 |
-
break;
|
1813 |
-
case 'vk' :
|
1814 |
-
if(
|
1815 |
-
isset($sfsi_plus_section1_options['sfsi_plus_vk_display']) &&
|
1816 |
-
$sfsi_plus_section1_options['sfsi_plus_vk_display']=='yes'
|
1817 |
-
)
|
1818 |
-
{
|
1819 |
-
$icons.= sfsi_plus_prepairIcons('vk');
|
1820 |
-
|
1821 |
-
}
|
1822 |
-
break;
|
1823 |
-
case 'weibo' :
|
1824 |
-
if(
|
1825 |
-
isset($sfsi_plus_section1_options['sfsi_plus_weibo_display']) &&
|
1826 |
-
$sfsi_plus_section1_options['sfsi_plus_weibo_display']=='yes'
|
1827 |
-
)
|
1828 |
-
{
|
1829 |
-
$icons.= sfsi_plus_prepairIcons('weibo');
|
1830 |
-
|
1831 |
-
}
|
1832 |
-
break;
|
1833 |
-
case 'wechat' :
|
1834 |
-
if(
|
1835 |
-
isset($sfsi_plus_section1_options['sfsi_plus_wechat_display']) &&
|
1836 |
-
$sfsi_plus_section1_options['sfsi_plus_wechat_display']=='yes'
|
1837 |
-
)
|
1838 |
-
{
|
1839 |
-
$icons.= sfsi_plus_prepairIcons('wechat');
|
1840 |
-
|
1841 |
}
|
1842 |
-
break;
|
1843 |
-
case 'custom' :
|
1844 |
-
$icons.= sfsi_plus_prepairIcons($icon_arry['ele']);
|
1845 |
-
break;
|
1846 |
-
endswitch;
|
1847 |
-
}
|
1848 |
-
$icons.='</div >';
|
1849 |
-
$icons_main.=$icons;
|
1850 |
-
|
1851 |
-
/* if floating of icons is active create a floater div */
|
1852 |
-
$icons_float='';
|
1853 |
-
$icons_data=$icons_main.$icons_float;
|
1854 |
-
return $icons_data;
|
1855 |
-
}
|
1856 |
-
|
1857 |
-
// MZ CODE
|
1858 |
-
|
1859 |
-
|
1860 |
-
function sfsi_plus_get_icon_mouseover_text($icon_name){
|
1861 |
-
|
1862 |
-
$alt_text = '';
|
1863 |
-
|
1864 |
-
if(isset($icon_name) && !empty($icon_name)){
|
1865 |
-
|
1866 |
-
$icon_name = strtolower($icon_name);
|
1867 |
-
|
1868 |
-
$key = 'sfsi_plus_'.$icon_name.'_MouseOverText';
|
1869 |
-
|
1870 |
-
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
1871 |
-
|
1872 |
-
if(isset($sfsi_plus_section5_options[$key]) && !empty($sfsi_plus_section5_options[$key]) )
|
1873 |
-
{
|
1874 |
-
$alt_text = $sfsi_plus_section5_options[$key];
|
1875 |
}
|
|
|
|
|
1876 |
}
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
//MZ CODE END
|
1884 |
-
|
1885 |
-
function isMobileDevice()
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
|
1 |
+
<?php
|
2 |
/* create SFSI widget */
|
3 |
+
class Sfsi_Plus_Widget extends WP_Widget
|
4 |
{
|
5 |
function __construct()
|
6 |
{
|
7 |
+
$widget_ops = array('classname' => 'sfsi_plus', 'description' => 'Ultimate Social Media PLUS widgets');
|
8 |
+
$control_ops = array('width' => 300, 'height' => 350, 'id_base' => 'sfsi-plus-widget');
|
9 |
+
|
10 |
parent::__construct(
|
11 |
// Base ID of your widget
|
12 |
+
'sfsi-plus-widget',
|
13 |
+
|
14 |
// Widget name will appear in UI
|
15 |
+
'Ultimate Social Media PLUS',
|
16 |
+
|
17 |
// Widget description
|
18 |
$widget_ops,
|
19 |
+
|
20 |
$control_ops
|
21 |
);
|
22 |
}
|
23 |
+
|
24 |
+
function widget($args, $instance)
|
25 |
{
|
26 |
+
$before_title = isset($args["before_title"]) ? $args["before_title"] : '';
|
27 |
+
$after_title = isset($args["after_title"]) ? $args["after_title"] : '';
|
28 |
+
$before_widget = isset($args["before_widget"]) ? $args["before_widget"] : '';
|
29 |
+
$after_widget = isset($args["after_widget"]) ? $args["after_widget"] : '';
|
30 |
//if show via widget is checked
|
31 |
$sfsi_plus_section8_options = get_option("sfsi_plus_section8_options");
|
32 |
$sfsi_plus_section8_options = unserialize($sfsi_plus_section8_options);
|
33 |
$sfsi_plus_show_via_widget = $sfsi_plus_section8_options['sfsi_plus_show_via_widget'];
|
34 |
+
if ($sfsi_plus_show_via_widget == "yes") {
|
|
|
35 |
/*Our variables from the widget settings. */
|
36 |
+
$title = apply_filters('widget_title', $instance['title']);
|
37 |
+
$show_info = isset($instance['show_info']) ? $instance['show_info'] : false;
|
38 |
+
global $is_floter;
|
39 |
echo $before_widget;
|
40 |
/* Display the widget title */
|
41 |
+
if ($title) echo $before_title . $title . $after_title;
|
42 |
?>
|
43 |
<div class="sfsi_plus_widget" data-position="widget">
|
44 |
+
<div id='sfsi_plus_wDiv'></div>
|
45 |
+
<?php
|
46 |
+
/* Link the main icons function */
|
47 |
+
echo sfsi_plus_check_visiblity(0);
|
48 |
+
?>
|
49 |
+
<div style="clear: both;"></div>
|
50 |
</div>
|
51 |
+
<?php
|
52 |
+
if (is_active_widget(false, false, $this->id_base, true)) { }
|
53 |
+
echo $after_widget;
|
54 |
+
} else {
|
55 |
+
//echo 'Kindly go to setting page and check the option "show them via a widget"';
|
56 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
+
|
59 |
+
/*Update the widget */
|
60 |
+
function update($new_instance, $old_instance)
|
61 |
{
|
62 |
+
$instance = $old_instance;
|
63 |
+
//Strip tags from title and name to remove HTML
|
64 |
+
if ($new_instance['showf'] == 0) {
|
65 |
+
$instance['showf'] = 1;
|
66 |
+
} else {
|
67 |
+
$instance['showf'] = 0;
|
68 |
+
}
|
69 |
+
$instance['title'] = strip_tags($new_instance['title']);
|
70 |
+
return $instance;
|
71 |
}
|
72 |
+
|
73 |
+
/* Set up some default widget settings. */
|
74 |
+
function form($instance)
|
75 |
+
{
|
76 |
+
$defaults = array('title' => "");
|
77 |
+
$instance = wp_parse_args((array) $instance, $defaults);
|
78 |
+
if (isset($instance['showf'])) {
|
79 |
+
if ($instance['showf'] == 0 && empty($instance['title'])) {
|
80 |
+
$instance['title'] = 'Please follow & like us :)';
|
81 |
+
} else {
|
82 |
+
$instance['title'];
|
83 |
+
}
|
84 |
+
} else {
|
85 |
+
$instance['title'] = 'Please follow & like us :)';
|
86 |
+
}
|
87 |
+
?>
|
88 |
+
<p>
|
89 |
+
<label for="<?php echo $this->get_field_id('title'); ?>">
|
90 |
+
<?php _e('Title', SFSI_PLUS_DOMAIN); ?>:
|
91 |
+
</label>
|
92 |
+
<input id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
|
93 |
+
<input type="hidden" value="<?php echo isset($instance['showf']) ? $instance['showf'] : ''; ?>" id="<?php echo $this->get_field_id('showf'); ?>" name="<?php echo $this->get_field_name('showf'); ?>" />
|
94 |
+
</p>
|
95 |
+
<p>
|
96 |
+
<?php _e('Please go to the plugin page to set your preferences:', SFSI_PLUS_DOMAIN); ?>
|
97 |
+
<a href="admin.php?page=sfsi-plus-options"><?php _e('Click here', SFSI_PLUS_DOMAIN); ?></a>
|
98 |
+
</p>
|
99 |
+
<?php
|
100 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
+
/* END OF widget Class */
|
|
|
103 |
|
104 |
+
/* register widget to wordpress */
|
105 |
+
function register_sfsi_plus_widgets()
|
106 |
+
{
|
107 |
+
register_widget('sfsi_plus_widget');
|
108 |
+
}
|
109 |
+
add_action('widgets_init', 'register_sfsi_plus_widgets');
|
110 |
|
111 |
+
/* check the icons visiblity */
|
112 |
+
function sfsi_plus_check_visiblity($isFloter = 0, $share_url = null, $container_position = 'absolute', $shortcode_listener = true)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
{
|
114 |
+
global $wpdb;
|
115 |
+
/* Access the saved settings in database */
|
116 |
+
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options', false));
|
117 |
+
$sfsi_section3 = unserialize(get_option('sfsi_plus_section3_options', false));
|
118 |
+
$sfsi_section5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
119 |
+
//options that are added on the third question
|
120 |
+
$sfsi_section8 = unserialize(get_option('sfsi_plus_section8_options', false));
|
121 |
+
|
122 |
+
/* calculate the width and icons display alignments */
|
123 |
+
$icons_space = $sfsi_section5['sfsi_plus_icons_spacing'];
|
124 |
+
$icons_size = $sfsi_section5['sfsi_plus_icons_size'];
|
125 |
+
$icons_per_row = ($sfsi_section5['sfsi_plus_icons_perRow']) ? $sfsi_section5['sfsi_plus_icons_perRow'] : '';
|
126 |
+
$icons_alignment = $sfsi_section5['sfsi_plus_icons_Alignment'];
|
127 |
+
$position = 'position:absolute;';
|
128 |
+
$position1 = 'position:' . $container_position . ';';
|
129 |
+
$jquery = '<script>';
|
130 |
+
|
131 |
+
// $jquery .= 'jQuery(".sfsi_plus_widget").each(function( index ) {
|
132 |
+
// if(jQuery(this).attr("data-position") == "widget")
|
133 |
+
// {
|
134 |
+
// var wdgt_hght = jQuery(this).children(".sfsiplus_norm_row.sfsi_plus_wDiv").height();
|
135 |
+
// var title_hght = jQuery(this).parent(".widget.sfsi_plus").children(".widget-title").height();
|
136 |
+
// var totl_hght = parseInt( title_hght ) + parseInt( wdgt_hght );
|
137 |
+
// jQuery(this).parent(".widget.sfsi_plus").css("min-height", totl_hght+"px");
|
138 |
+
// }
|
139 |
+
// });';
|
140 |
+
if ($shortcode_listener) :
|
141 |
+
?>
|
142 |
+
<script>
|
143 |
+
window.addEventListener('sfsi_plus_functions_loaded', function() {
|
144 |
+
if (typeof sfsi_plus_widget_set == 'function') {
|
145 |
+
sfsi_plus_widget_set();
|
146 |
+
}
|
147 |
+
})
|
148 |
+
</script>
|
149 |
+
<?php
|
150 |
+
endif;
|
151 |
+
/* check if icons shuffling is activated in admin or not */
|
152 |
+
if ($sfsi_section5['sfsi_plus_icons_stick'] == "yes") {
|
153 |
+
if (is_admin_bar_showing()) {
|
154 |
+
$Ictop = "30px";
|
155 |
+
} else {
|
156 |
+
$Ictop = "0";
|
157 |
+
}
|
158 |
+
$jquery .= 'window.addEventListener("sfsi_plus_functions_loaded",function(){window.sfsi_plsu_s = jQuery(".sfsi_plus_widget");
|
159 |
var pos = window.sfsi_plsu_s.position();
|
160 |
jQuery(window).scroll(function(){
|
161 |
+
sfsi_plus_stick_widget("' . $Ictop . '");
|
162 |
}); })';
|
163 |
+
}
|
164 |
+
|
165 |
+
/* check if icons floating is activated in admin */
|
166 |
+
/*settings under third question*/
|
167 |
+
if ($sfsi_section8['sfsi_plus_float_on_page'] == "yes") {
|
168 |
+
$top = "15";
|
169 |
+
//switch($sfsi_section5['sfsi_plus_icons_floatPosition'])
|
170 |
+
switch ($sfsi_section8['sfsi_plus_float_page_position']) {
|
171 |
+
case "top-left":
|
172 |
+
if (is_admin_bar_showing()) {
|
173 |
+
$position .= "position:absolute;left:30px;top:35px;";
|
174 |
+
$top = "35";
|
175 |
+
} else {
|
176 |
+
$position .= "position:absolute;left:10px;top:2%";
|
177 |
+
$top = "10";
|
178 |
+
}
|
179 |
+
break;
|
180 |
+
case "top-right":
|
181 |
+
if (is_admin_bar_showing()) {
|
182 |
+
$position .= "position:absolute;right:30px;top:35px;";
|
183 |
+
$top = "35";
|
184 |
+
} else {
|
185 |
+
$position .= "position:absolute;right:10px;top:2%";
|
186 |
+
$top = "10";
|
187 |
+
}
|
188 |
+
break;
|
189 |
+
case "center-right":
|
190 |
+
$position .= "position:absolute;right:30px;top:50%";
|
191 |
+
$top = "center";
|
192 |
+
break;
|
193 |
+
case "center-left":
|
194 |
+
$position .= "position:absolute;left:30px;top:50%";
|
195 |
+
$top = "center";
|
196 |
+
break;
|
197 |
+
case "bottom-right":
|
198 |
+
$position .= "position:absolute;right:30px;bottom:0px";
|
199 |
+
$top = "bottom";
|
200 |
+
break;
|
201 |
+
case "bottom-left":
|
202 |
+
$position .= "position:absolute;left:30px;bottom:0px";
|
203 |
+
$top = "bottom";
|
204 |
+
break;
|
205 |
+
case "center-top":
|
206 |
+
if (is_admin_bar_showing()) {
|
207 |
+
$position .= "left:50%;top:35px;";
|
208 |
+
$top = "35";
|
209 |
+
} else {
|
210 |
+
$position .= "left:50%;top:10px;";
|
211 |
+
$top = "10";
|
212 |
+
}
|
213 |
+
break;
|
214 |
+
case "center-bottom":
|
215 |
+
$position .= "left:50%;bottom:0px";
|
216 |
+
$top = "bottom";
|
217 |
+
break;
|
218 |
}
|
219 |
+
if ($sfsi_section8['sfsi_plus_float_page_position'] == 'center-right' || $sfsi_section8['sfsi_plus_float_page_position'] == 'center-left') {
|
220 |
+
$jquery .= "window.addEventListener('sfsi_plus_functions_loaded',function( totwith=" . (isset($totwith) ? $totwith : 0) . " )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
{
|
222 |
var topalign = ( jQuery(window).height() - jQuery('#sfsi_plus_floater').height() ) / 2;
|
223 |
jQuery('#sfsi_plus_floater').css('top',topalign);
|
224 |
+
sfsi_plus_float_widget('" . $top . "');
|
225 |
});";
|
226 |
+
} else {
|
227 |
+
$jquery .= "window.addEventListener('sfsi_plus_functions_loaded',function( totwith=" . (isset($totwith) ? $totwith : 0) . " ) { sfsi_plus_float_widget('" . $top . "')});";
|
228 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
}
|
230 |
+
|
231 |
+
$extra = 0;
|
232 |
+
if ($sfsi_section3['sfsi_plus_shuffle_icons'] == "yes") {
|
233 |
+
if ($sfsi_section3['sfsi_plus_shuffle_Firstload'] == "yes" && $sfsi_section3['sfsi_plus_shuffle_interval'] == "yes") {
|
234 |
+
$shuffle_time = (isset($sfsi_section3['sfsi_plus_shuffle_intervalTime'])) ? $sfsi_section3['sfsi_plus_shuffle_intervalTime'] : 3;
|
235 |
+
$shuffle_time = $shuffle_time * 1000;
|
236 |
+
$jquery .= "window.addEventListener('sfsi_plus_functions_loaded',function( totwith=" . (isset($totwith) ? $totwith : 0) . " ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setTimeout(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},2000); setInterval(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })}," . $shuffle_time . "); });";
|
237 |
+
} else if ($sfsi_section3['sfsi_plus_shuffle_Firstload'] == "no" && $sfsi_section3['sfsi_plus_shuffle_interval'] == "yes") {
|
238 |
+
$shuffle_time = (isset($sfsi_section3['sfsi_plus_shuffle_intervalTime'])) ? $sfsi_section3['sfsi_plus_shuffle_intervalTime'] : 3;
|
239 |
+
$shuffle_time = $shuffle_time * 1000;
|
240 |
+
$jquery .= "window.addEventListener('sfsi_plus_functions_loaded',function( totwith=" . (isset($totwith) ? $totwith : 0) . " ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setInterval(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })}," . $shuffle_time . "); });";
|
241 |
+
} else {
|
242 |
+
$jquery .= "window.addEventListener('sfsi_plus_functions_loaded',function( totwith=" . (isset($totwith) ? $totwith : 0) . " ) { jQuery('.sfsi_plus_wDiv').each(function(){ new window.Manipulator( jQuery(this)); }); setTimeout(function(){ jQuery('#sfsi_plus_wDiv').each(function(){ jQuery(this).click(); })},2000); });";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
}
|
244 |
+
}
|
245 |
+
|
246 |
+
/* magnage the icons in saved order in admin */
|
247 |
+
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
248 |
+
$icons_list = array();
|
249 |
+
if (isset($sfsi_plus_section1_options['sfsi_custom_files'])) {
|
250 |
+
if (is_string($sfsi_plus_section1_options['sfsi_custom_files'])) {
|
251 |
+
$icons_list = unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
252 |
+
} else {
|
253 |
+
$icons_list = $sfsi_plus_section1_options['sfsi_custom_files'];
|
254 |
}
|
255 |
+
}
|
256 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_houzzIcon_order'])) {
|
257 |
+
$sfsi_plus_section5_options['sfsi_plus_houzzIcon_order'] = 11;
|
258 |
+
}
|
259 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_okIcon_order'])) {
|
260 |
+
$sfsi_plus_section5_options['sfsi_plus_okIcon_order'] = 22;
|
261 |
+
}
|
262 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_telegramIcon_order'])) {
|
263 |
+
$sfsi_plus_section5_options['sfsi_plus_telegramIcon_order'] = 23;
|
264 |
+
}
|
265 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_vkIcon_order'])) {
|
266 |
+
$sfsi_plus_section5_options['sfsi_plus_vkIcon_order'] = 24;
|
267 |
+
}
|
268 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_wechatIcon_order'])) {
|
269 |
+
$sfsi_plus_section5_options['sfsi_plus_wechatIcon_order'] = 26;
|
270 |
+
}
|
271 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_weiboIcon_order'])) {
|
272 |
+
$sfsi_plus_section5_options['sfsi_plus_weiboIcon_order'] = 25;
|
273 |
+
}
|
274 |
+
if (!isset($sfsi_plus_section5_options['sfsi_plus_whatsappIcon_order'])) {
|
275 |
+
$sfsi_plus_section5_options['sfsi_plus_whatsappIcon_order'] = 27;
|
276 |
+
}
|
277 |
|
278 |
+
// $icons_list = (isset($sfsi_plus_section1_options['sfsi_custom_files']))?(!is_string($sfsi_plus_section1_options['sfsi_custom_files'])?unserialize($sfsi_plus_section1_options['sfsi_custom_files'],false):$sfsi_plus_section1_options['sfsi_custom_files']):(array());
|
279 |
+
$icons_order = array(
|
280 |
+
'0' => '',
|
281 |
+
$sfsi_section5['sfsi_plus_rssIcon_order'] => 'rss',
|
282 |
+
$sfsi_section5['sfsi_plus_emailIcon_order'] => 'email',
|
283 |
+
$sfsi_section5['sfsi_plus_facebookIcon_order'] => 'facebook',
|
284 |
+
$sfsi_section5['sfsi_plus_twitterIcon_order'] => 'twitter',
|
285 |
+
$sfsi_section5['sfsi_plus_youtubeIcon_order'] => 'youtube',
|
286 |
+
$sfsi_section5['sfsi_plus_pinterestIcon_order'] => 'pinterest',
|
287 |
+
$sfsi_section5['sfsi_plus_linkedinIcon_order'] => 'linkedin',
|
288 |
+
$sfsi_section5['sfsi_plus_instagramIcon_order'] => 'instagram',
|
289 |
+
$sfsi_section5['sfsi_plus_houzzIcon_order'] => 'houzz',
|
290 |
+
$sfsi_section5['sfsi_plus_okIcon_order'] => 'ok',
|
291 |
+
$sfsi_section5['sfsi_plus_telegramIcon_order'] => 'telegram',
|
292 |
+
$sfsi_section5['sfsi_plus_vkIcon_order'] => 'vk',
|
293 |
+
$sfsi_section5['sfsi_plus_wechatIcon_order'] => 'wechat',
|
294 |
+
$sfsi_section5['sfsi_plus_weiboIcon_order'] => 'weibo',
|
295 |
+
$sfsi_section5['sfsi_plus_whatsappIcon_order'] => 'whatsapp'
|
296 |
+
);
|
297 |
+
if (!is_array($custom_icons_order)) {
|
298 |
+
$custom_icons_order = array();
|
299 |
+
}
|
300 |
+
$max_custom_icon_order = max(array_keys($icons_order));
|
301 |
+
if (is_array($icons_list)) {
|
302 |
+
foreach ($icons_list as $index => $icon) {
|
303 |
+
if (false === array_search($index, array_column($custom_icons_order, 'ele'))) {
|
304 |
+
array_push($custom_icons_order, array('order' => ($max_custom_icon_order + count($custom_icons_order)), 'ele' => $index));
|
305 |
+
}
|
306 |
+
}
|
307 |
+
}
|
308 |
+
if (is_array($custom_icons_order)) {
|
309 |
+
foreach ($custom_icons_order as $data) {
|
310 |
+
$icons_order[$data['order']] = $data;
|
311 |
+
}
|
312 |
+
}
|
313 |
|
314 |
+
ksort($icons_order);
|
315 |
+
/* calculate the total width of widget according to icons */
|
316 |
+
if (!empty($icons_per_row)) {
|
317 |
+
$width = ((int) $icons_space + (int) $icons_size) * (int) $icons_per_row;
|
318 |
+
$main_width = $width = $width + $extra;
|
319 |
+
$main_width = $main_width . "px";
|
320 |
+
}
|
321 |
|
322 |
+
/* built the main widget div */
|
323 |
+
$icons_main = '<div class="sfsiplus_norm_row sfsi_plus_wDiv" style="' . (isset($main_width) ? 'width:' . $main_width . ';' . $position1 : '') . ';text-align:' . $icons_alignment . '">';
|
324 |
+
$icons = "";
|
325 |
+
// var_dump($icons_order);
|
326 |
+
/* loop through icons and bulit the icons with all settings applied in admin */
|
327 |
+
foreach ($icons_order as $index => $icn) {
|
328 |
+
// var_dump($icn);
|
329 |
+
if (is_array($icn)) {
|
330 |
+
$icon_arry = $icn;
|
331 |
+
$icn = "custom";
|
332 |
+
}
|
333 |
+
switch ($icn) {
|
334 |
+
case 'rss':
|
335 |
+
if ($sfsi_plus_section1_options['sfsi_plus_rss_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('rss', 0, "no", null, $share_url);
|
336 |
+
break;
|
337 |
+
case 'email':
|
338 |
+
if ($sfsi_plus_section1_options['sfsi_plus_email_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('email', 0, "no", null, $share_url);
|
339 |
+
break;
|
340 |
+
case 'facebook':
|
341 |
+
if ($sfsi_plus_section1_options['sfsi_plus_facebook_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('facebook', 0, "no", null, $share_url);
|
342 |
+
break;
|
343 |
|
344 |
+
case 'twitter':
|
345 |
+
if ($sfsi_plus_section1_options['sfsi_plus_twitter_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('twitter', 0, "no", null, $share_url);
|
346 |
+
break;
|
347 |
+
case 'youtube':
|
348 |
+
if ($sfsi_plus_section1_options['sfsi_plus_youtube_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('youtube', 0, "no", null, $share_url);
|
349 |
+
break;
|
350 |
+
case 'pinterest':
|
351 |
+
if ($sfsi_plus_section1_options['sfsi_plus_pinterest_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('pinterest', 0, "no", null, $share_url);
|
352 |
+
break;
|
353 |
+
case 'linkedin':
|
354 |
+
if ($sfsi_plus_section1_options['sfsi_plus_linkedin_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('linkedin', 0, "no", null, $share_url);
|
355 |
+
break;
|
356 |
+
case 'instagram':
|
357 |
+
if ($sfsi_plus_section1_options['sfsi_plus_instagram_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('instagram', 0, "no", null, $share_url);
|
358 |
+
break;
|
359 |
+
case 'houzz':
|
360 |
+
if (
|
361 |
+
isset($sfsi_plus_section1_options['sfsi_plus_houzz_display']) &&
|
362 |
+
$sfsi_plus_section1_options['sfsi_plus_houzz_display'] == 'yes'
|
363 |
+
) {
|
364 |
+
$icons .= sfsi_plus_prepairIcons('houzz', 0, "no", null, $share_url);
|
365 |
+
}
|
366 |
+
break;
|
367 |
+
case 'ok':
|
368 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_ok_display']) && $sfsi_plus_section1_options['sfsi_plus_ok_display'] == 'yes') {
|
369 |
+
$icons .= sfsi_plus_prepairIcons('ok', 0, "no", null, $share_url);
|
370 |
+
}
|
371 |
+
break;
|
372 |
+
case 'telegram':
|
373 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_telegram_display']) && $sfsi_plus_section1_options['sfsi_plus_telegram_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('telegram', 0, "no", null, $share_url);
|
374 |
+
break;
|
375 |
+
case 'vk':
|
376 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_vk_display']) && $sfsi_plus_section1_options['sfsi_plus_vk_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('vk', 0, "no", null, $share_url);
|
377 |
+
break;
|
378 |
+
case 'weibo':
|
379 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_weibo_display']) && $sfsi_plus_section1_options['sfsi_plus_weibo_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('weibo', 0, "no", null, $share_url);
|
380 |
+
break;
|
381 |
+
|
382 |
+
case 'wechat':
|
383 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_wechat_display']) && $sfsi_plus_section1_options['sfsi_plus_wechat_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('wechat', 0, "no", null, $share_url);
|
384 |
+
break;
|
385 |
+
case 'whatsapp':
|
386 |
+
if (isset($sfsi_plus_section1_options['sfsi_plus_whatsapp_display']) && $sfsi_plus_section1_options['sfsi_plus_whatsapp_display'] == 'yes') $icons .= sfsi_plus_prepairIcons('whatsapp', 0, "no", null, $share_url);
|
387 |
+
break;
|
388 |
+
case 'custom':
|
389 |
+
$icons .= sfsi_plus_prepairIcons($icon_arry['ele'], 0, "no", null, $share_url);
|
390 |
+
break;
|
391 |
+
}
|
392 |
+
}
|
393 |
+
|
394 |
+
$jquery .= "</script>";
|
395 |
+
$icons .= '</div >';
|
396 |
+
|
397 |
+
$width = isset($width) && !empty($width) ? $width : 0;
|
398 |
+
|
399 |
+
$margin = $width + 11;
|
400 |
+
|
401 |
+
$icons_main .= $icons . '<div id="sfsi_holder" class="sfsi_plus_holders" style="position: relative; float: left;width:100%;z-index:-1;"></div >' . $jquery;
|
402 |
+
/* if floating of icons is active create a floater div */
|
403 |
+
$icons_float = '';
|
404 |
+
if ($sfsi_section8['sfsi_plus_float_on_page'] == "yes" && $isFloter == 1) {
|
405 |
+
if ($sfsi_section8['sfsi_plus_float_page_position'] == "top-left") {
|
406 |
+
$styleMargin = "margin-top:" . $sfsi_section8['sfsi_plus_icons_floatMargin_top'] . "px;margin-left:" . $sfsi_section8['sfsi_plus_icons_floatMargin_left'] . "px;";
|
407 |
+
} elseif ($sfsi_section8['sfsi_plus_float_page_position'] == "top-right") {
|
408 |
+
$styleMargin = "margin-top:" . $sfsi_section8['sfsi_plus_icons_floatMargin_top'] . "px;margin-right:" . $sfsi_section8['sfsi_plus_icons_floatMargin_right'] . "px;";
|
409 |
+
} elseif ($sfsi_section8['sfsi_plus_float_page_position'] == "center-left") {
|
410 |
+
$styleMargin = "margin-left:" . $sfsi_section8['sfsi_plus_icons_floatMargin_left'] . "px;";
|
411 |
+
} elseif ($sfsi_section8['sfsi_plus_float_page_position'] == "center-right") {
|
412 |
+
$styleMargin = "margin-right:" . $sfsi_section8['sfsi_plus_icons_floatMargin_right'] . "px;";
|
413 |
+
} elseif ($sfsi_section8['sfsi_plus_float_page_position'] == "bottom-left") {
|
414 |
+
$styleMargin = "margin-bottom:" . $sfsi_section8['sfsi_plus_icons_floatMargin_bottom'] . "px;margin-left:" . $sfsi_section8['sfsi_plus_icons_floatMargin_left'] . "px;";
|
415 |
+
} elseif ($sfsi_section8['sfsi_plus_float_page_position'] == "bottom-right") {
|
416 |
+
$styleMargin = "margin-bottom:" . $sfsi_section8['sfsi_plus_icons_floatMargin_bottom'] . "px;margin-right:" . $sfsi_section8['sfsi_plus_icons_floatMargin_right'] . "px;";
|
417 |
+
}
|
418 |
+
|
419 |
+
if (!isset($styleMargin)) {
|
420 |
+
$styleMargin = "";
|
421 |
+
}
|
422 |
+
|
423 |
+
// $icons_float = '<style >#sfsi_plus_floater { '.$styleMargin.' }</style>';
|
424 |
+
add_action('wp_footer', function () use ($styleMargin) {
|
425 |
+
echo '<script>var css = "#sfsi_plus_floater { ' . $styleMargin . ' }",
|
426 |
head = document.head || document.getElementsByTagName("head")[0],
|
427 |
style = document.createElement("style");
|
428 |
|
433 |
} else {
|
434 |
style.appendChild(document.createTextNode(css));
|
435 |
}</script>';
|
436 |
+
}, 100);
|
437 |
+
$icons_float .= '<div class="sfsiplus_norm_row sfsi_plus_wDiv" id="sfsi_plus_floater" style="z-index: 9999;width:' . $width . 'px;text-align:' . $icons_alignment . ';' . $position . '">';
|
438 |
+
$icons_float .= $icons;
|
439 |
+
$icons_float .= "<input type='hidden' id='sfsi_plus_floater_sec' value='" . $sfsi_section8['sfsi_plus_float_page_position'] . "' />";
|
440 |
+
$icons_float .= $jquery;
|
441 |
+
return $icons_float;
|
442 |
+
exit;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
}
|
444 |
+
$icons_data = $icons_main . $icons_float;
|
445 |
+
return $icons_data;
|
446 |
+
}
|
447 |
+
/* make all icons with saved settings in admin */
|
448 |
+
function sfsi_plus_prepairIcons($icon_name, $is_front = 0, $onpost = "no", $fromPost = NULL, $share_url = null)
|
449 |
+
{
|
450 |
+
global $wpdb;
|
451 |
+
global $socialObj;
|
452 |
+
global $post;
|
453 |
+
$mouse_hover_effect = '';
|
454 |
+
$active_theme = 'official';
|
455 |
+
$sfsi_plus_shuffle_Firstload = 'no';
|
456 |
+
$sfsi_plus_display_counts = "no";
|
457 |
+
$icon = '';
|
458 |
+
$url = '';
|
459 |
+
$alt_text = '';
|
460 |
+
$new_window = '';
|
461 |
+
$class = '';
|
462 |
+
/* access all saved settings in admin */
|
463 |
+
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options', false));
|
464 |
+
$sfsi_plus_section2_options = unserialize(get_option('sfsi_plus_section2_options', false));
|
465 |
+
$sfsi_plus_section3_options = unserialize(get_option('sfsi_plus_section3_options', false));
|
466 |
+
$sfsi_plus_section4_options = unserialize(get_option('sfsi_plus_section4_options', false));
|
467 |
+
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options', false));
|
468 |
+
$sfsi_plus_section6_options = unserialize(get_option('sfsi_plus_section6_options', false));
|
469 |
+
$sfsi_plus_section7_options = unserialize(get_option('sfsi_plus_section7_options', false));
|
470 |
+
$sfsi_plus_section8_options = unserialize(get_option('sfsi_plus_section8_options', false));
|
471 |
+
/* get active theme */
|
472 |
+
$border_radius = '';
|
473 |
+
$active_theme = $sfsi_plus_section3_options['sfsi_plus_actvite_theme'];
|
474 |
+
|
475 |
+
|
476 |
+
/* shuffle effect */
|
477 |
+
if ($sfsi_plus_section3_options['sfsi_plus_shuffle_icons'] == 'yes') {
|
478 |
+
$sfsi_plus_shuffle_Firstload = $sfsi_plus_section3_options["sfsi_plus_shuffle_Firstload"];
|
479 |
+
if ($sfsi_plus_section3_options["sfsi_plus_shuffle_interval"] == "yes") {
|
480 |
+
$sfsi_plus_shuffle_interval = $sfsi_plus_section3_options["sfsi_plus_shuffle_intervalTime"];
|
|
|
|
|
|
|
|
|
481 |
}
|
482 |
}
|
483 |
+
/* define the main url for icon access */
|
484 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/" . $active_theme . "/";
|
485 |
+
$visit_iconsUrl = SFSI_PLUS_PLUGURL . "images/visit_icons/";
|
486 |
+
$share_iconsUrl = SFSI_PLUS_PLUGURL . "images/share_icons/";
|
487 |
+
$hoverSHow = 0;
|
488 |
+
// var_dump($icons_baseUrl,$visit_iconsUrl);die();
|
489 |
+
/* check is icon is a custom icon or default icon */
|
490 |
+
if (is_numeric($icon_name)) {
|
491 |
+
$icon_n = $icon_name;
|
492 |
+
$icon_name = "custom";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
}
|
494 |
+
$counts = '';
|
495 |
+
$twit_tolCls = "";
|
496 |
+
$twt_margin = "";
|
497 |
+
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
498 |
+
$padding_top = '';
|
499 |
+
|
500 |
+
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
501 |
+
$option3 = unserialize(get_option('sfsi_plus_section3_options', false));
|
502 |
+
|
503 |
+
if (isset($option3['sfsi_plus_actvite_theme']) && !empty($option3['sfsi_plus_actvite_theme'])) {
|
504 |
+
|
505 |
+
$active_theme = $option3['sfsi_plus_actvite_theme'];
|
506 |
+
} else {
|
507 |
+
$active_theme = "default";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
}
|
509 |
+
$glossy_theme_adjustment = 0;
|
510 |
+
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
511 |
+
if (null !== $share_url) {
|
512 |
+
$current_url = $share_url;
|
513 |
+
} elseif ($fromPost == 'yes' && !empty($post)) {
|
514 |
+
$current_url = get_permalink($post->ID);
|
515 |
+
} else {
|
516 |
+
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
517 |
+
$current_url = sfsi_plus_get_current_url();
|
|
|
|
|
|
|
|
|
|
|
518 |
}
|
519 |
+
$url = "#";
|
520 |
+
$cmcls = '';
|
521 |
+
$toolClass = '';
|
522 |
+
$icons_language = $sfsi_plus_section5_options['sfsi_plus_icons_language'];
|
523 |
+
switch ($icon_name) {
|
524 |
+
|
525 |
+
|
526 |
+
case "rss":
|
527 |
+
$socialObj = new sfsi_plus_SocialHelper(); /* global object to access 3rd party icon's actions */
|
528 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_rss_url']) ? $sfsi_plus_section2_options['sfsi_plus_rss_url'] : 'javascript:void(0);';
|
529 |
+
$toolClass = "rss_tool_bdr";
|
530 |
+
$hoverdiv = '';
|
531 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
532 |
+
|
533 |
+
/* fecth no of counts if active in admin section */
|
534 |
+
if (
|
535 |
+
$sfsi_plus_section4_options['sfsi_plus_rss_countsDisplay'] == "yes" &&
|
536 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
537 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
538 |
+
|
539 |
+
) {
|
540 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_rss_manualCounts']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
}
|
542 |
+
|
543 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_rss_MouseOverText'])) {
|
544 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_rss_MouseOverText'];
|
545 |
+
} else {
|
546 |
+
$alt_text = 'RSS';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
547 |
}
|
548 |
+
|
549 |
+
//Custom Skin Support {Monad}
|
550 |
+
if ($active_theme == 'custom_support') {
|
551 |
+
if (get_option("plus_rss_skin")) {
|
552 |
+
$icon = get_option("plus_rss_skin");
|
553 |
+
} else {
|
554 |
+
$active_theme = 'default';
|
555 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
556 |
+
$icon = $icons_baseUrl . $active_theme . "_rss.png";
|
557 |
+
}
|
558 |
+
} else {
|
559 |
+
$icon = $icons_baseUrl . $active_theme . "_rss.png";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
}
|
561 |
+
break;
|
562 |
+
|
563 |
+
case "email":
|
564 |
+
$socialObj = new sfsi_plus_SocialHelper(); /* global object to access 3rd party icon's actions */
|
565 |
+
$hoverdiv = '';
|
566 |
+
$sfsi_plus_section2_options['sfsi_plus_email_url'];
|
567 |
+
$url = (isset($sfsi_plus_section2_options['sfsi_plus_email_url'])) ? $sfsi_plus_section2_options['sfsi_plus_email_url'] : 'https://follow.it/now';
|
568 |
+
$toolClass = "email_tool_bdr";
|
569 |
+
$arsfsiplus_row_class = "bot_eamil_arow";
|
570 |
+
|
571 |
+
/* fecth no of counts if active in admin section */
|
572 |
+
if (
|
573 |
+
$sfsi_plus_section4_options['sfsi_plus_email_countsDisplay'] == "yes" &&
|
574 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
575 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
576 |
+
) {
|
577 |
+
if ($sfsi_plus_section4_options['sfsi_plus_email_countsFrom'] == "manual") {
|
578 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_email_manualCounts']);
|
579 |
+
} else {
|
580 |
+
$counts = $socialObj->SFSI_getFeedSubscriber(sanitize_text_field(get_option('sfsi_plus_feed_id', false)));
|
581 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
}
|
583 |
+
|
584 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_email_MouseOverText'])) {
|
585 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_email_MouseOverText'];
|
586 |
+
} else {
|
587 |
+
$alt_text = 'EMAIL';
|
588 |
+
}
|
589 |
+
|
590 |
+
//Custom Skin Support {Monad}
|
591 |
+
if ($active_theme == 'custom_support') {
|
592 |
+
if (get_option("plus_email_skin")) {
|
593 |
+
$icon = get_option("plus_email_skin");
|
594 |
+
} else {
|
595 |
+
$active_theme = 'default';
|
596 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
597 |
+
//$icon=($sfsi_plus_section2_options['sfsi_plus_rss_icons']=="sfsi") ? $icons_baseUrl.$active_theme."_sf.png" : $icons_baseUrl.$active_theme."_email.png";
|
598 |
+
if ($sfsi_plus_section2_options['sfsi_plus_rss_icons'] == "sfsi") {
|
599 |
+
$icon = $icons_baseUrl . $active_theme . "_sf.png";
|
600 |
+
} elseif ($sfsi_plus_section2_options['sfsi_plus_rss_icons'] == "email") {
|
601 |
+
$icon = $icons_baseUrl . $active_theme . "_email.png";
|
602 |
+
} else {
|
603 |
+
$icon = $icons_baseUrl . $active_theme . "_subscribe.png";
|
604 |
+
}
|
605 |
}
|
606 |
+
} else {
|
607 |
+
//$icon=($sfsi_plus_section2_options['sfsi_plus_rss_icons']=="sfsi") ? $icons_baseUrl.$active_theme."_sf.png" : $icons_baseUrl.$active_theme."_email.png";
|
608 |
+
if ($sfsi_plus_section2_options['sfsi_plus_rss_icons'] == "sfsi") {
|
609 |
+
$icon = $icons_baseUrl . $active_theme . "_sf.png";
|
610 |
+
} elseif ($sfsi_plus_section2_options['sfsi_plus_rss_icons'] == "email") {
|
611 |
+
$icon = $icons_baseUrl . $active_theme . "_email.png";
|
612 |
+
} else {
|
613 |
+
$icon = $icons_baseUrl . $active_theme . "_subscribe.png";
|
614 |
+
}
|
615 |
+
}
|
616 |
+
break;
|
617 |
+
|
618 |
+
case "facebook":
|
619 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
620 |
+
$width = 62;
|
621 |
+
$totwith = $width + 28 + $icons_space;
|
622 |
+
$twt_margin = $totwith / 2;
|
623 |
+
$toolClass = "sfsi_plus_fb_tool_bdr";
|
624 |
+
$arsfsiplus_row_class = "bot_fb_arow";
|
625 |
+
|
626 |
+
/* check for the over section */
|
627 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_facebook_MouseOverText'])) {
|
628 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_facebook_MouseOverText'];
|
629 |
+
} else {
|
630 |
+
$alt_text = "FACEBOOK";
|
631 |
+
}
|
632 |
+
|
633 |
+
$facebook_icons_lang = $sfsi_plus_section5_options['sfsi_plus_facebook_icons_language'];
|
634 |
+
// return $facebook_icons_lang;die();wp_die();
|
635 |
+
$visit_icon = SFSI_PLUS_DOCROOT . '/images/visit_icons/Visit_us_fb/icon_' . $facebook_icons_lang . '.png';
|
636 |
+
if (file_exists($visit_icon)) {
|
637 |
+
$visit_icon = $visit_iconsUrl . "Visit_us_fb/icon_" . $facebook_icons_lang . ".png";
|
638 |
+
} else {
|
639 |
+
$visit_icon = $visit_iconsUrl . "fb.png";
|
640 |
+
}
|
641 |
+
|
642 |
+
//$visit_iconDefault = $visit_iconsUrl."facebook.png";
|
643 |
+
|
644 |
+
|
645 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_facebookPage_url']) ? $sfsi_plus_section2_options['sfsi_plus_facebookPage_url'] : 'javascript:void(0);';
|
646 |
+
|
647 |
+
if ($sfsi_plus_section2_options['sfsi_plus_facebookLike_option'] == "yes" || $sfsi_plus_section2_options['sfsi_plus_facebookShare_option'] == "yes") {
|
648 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_facebookPage_url']) ? $sfsi_plus_section2_options['sfsi_plus_facebookPage_url'] : 'javascript:void(0);';
|
649 |
+
$hoverSHow = 1;
|
650 |
+
$hoverdiv = '';
|
651 |
+
if ($sfsi_plus_section2_options['sfsi_plus_facebookPage_option'] == "yes") {
|
652 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_plus_checkNewWindow($url) . "><img class='sfsi_plus_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
653 |
+
}
|
654 |
+
if ($sfsi_plus_section2_options['sfsi_plus_facebookLike_option'] == "yes") {
|
655 |
+
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_plus_FBlike($current_url) . "</div>";
|
656 |
+
}
|
657 |
+
if ($sfsi_plus_section2_options['sfsi_plus_facebookShare_option'] == "yes") {
|
658 |
+
$hoverdiv .= "<div class='icon3'>" . $socialObj->sfsiFB_Share($current_url) . "</div>";
|
659 |
+
}
|
660 |
+
}
|
661 |
+
|
662 |
+
/* fecth no of counts if active in admin section */
|
663 |
+
if (
|
664 |
+
$fromPost == 'yes' && !empty($post) &&
|
665 |
+
$sfsi_plus_section4_options['sfsi_plus_facebook_countsDisplay'] == "yes" &&
|
666 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
667 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
668 |
+
) {
|
669 |
+
$fb_data = $socialObj->sfsi_get_fb($current_url);
|
670 |
+
$counts = $socialObj->format_num($fb_data['total_count']);
|
671 |
+
if (empty($counts)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
672 |
$counts = (string) "0";
|
673 |
+
}
|
674 |
+
} else {
|
675 |
+
if (
|
676 |
+
$sfsi_plus_section4_options['sfsi_plus_facebook_countsDisplay'] == "yes" &&
|
677 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
678 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
679 |
+
) {
|
680 |
+
if ($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom'] == "manual") {
|
681 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_facebook_manualCounts']);
|
682 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom'] == "likes") {
|
683 |
+
$fb_data = $socialObj->sfsi_get_fb($current_url);
|
684 |
+
$counts = $socialObj->format_num($fb_data);
|
685 |
+
if (empty($counts)) {
|
686 |
+
$counts = (string) "0";
|
687 |
+
}
|
688 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom'] == "followers") {
|
689 |
+
$fb_data = $socialObj->sfsi_get_fb($current_url);
|
690 |
+
$counts = $socialObj->format_num($fb_data['share_count']);
|
691 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom'] == "mypage") {
|
692 |
+
$current_url = $sfsi_plus_section4_options['sfsi_plus_facebook_mypageCounts'];
|
693 |
+
$fb_data = $socialObj->sfsi_get_fb_pagelike($current_url);
|
694 |
+
$counts = $socialObj->format_num($fb_data);
|
695 |
+
}
|
696 |
+
}
|
697 |
+
}
|
698 |
+
|
699 |
+
//Custom Skin Support {Monad}
|
700 |
+
if ($active_theme == 'custom_support') {
|
701 |
+
if (get_option("plus_facebook_skin")) {
|
702 |
+
$icon = get_option("plus_facebook_skin");
|
703 |
+
} else {
|
704 |
+
$active_theme = 'default';
|
705 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
706 |
+
$icon = $icons_baseUrl . $active_theme . "_fb.png";
|
707 |
+
}
|
708 |
+
} else {
|
709 |
+
$icon = $icons_baseUrl . $active_theme . "_fb.png";
|
710 |
+
}
|
711 |
+
break;
|
712 |
+
|
713 |
+
case "twitter":
|
714 |
+
$toolClass = "sfsi_plus_twt_tool_bdr";
|
715 |
+
$arsfsiplus_row_class = "bot_twt_arow";
|
716 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
717 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_twitter_pageURL']) ? $sfsi_plus_section2_options['sfsi_plus_twitter_pageURL'] : 'javascript:void(0);';
|
718 |
+
$twitter_user = $sfsi_plus_section2_options['sfsi_plus_twitter_followUserName'];
|
719 |
+
$twitter_text = __($sfsi_plus_section2_options['sfsi_plus_twitter_aboutPageText'], SFSI_PLUS_DOMAIN);
|
720 |
+
$width = 59;
|
721 |
+
$totwith = $width + 28 + $icons_space;
|
722 |
+
$twt_margin = $totwith / 2;
|
723 |
+
/* check for icons to display */
|
724 |
+
$hoverdiv = '';
|
725 |
+
|
726 |
+
$twitter_icons_lang = $sfsi_plus_section5_options['sfsi_plus_twitter_icons_language'];
|
727 |
+
$visit_icon = SFSI_PLUS_DOCROOT . '/images/visit_icons/Visit_us_twitter/icon_' . $twitter_icons_lang . '.png';
|
728 |
+
if (file_exists($visit_icon)) {
|
729 |
+
$visit_icon = $visit_iconsUrl . "Visit_us_twitter/icon_" . $twitter_icons_lang . ".png";
|
730 |
+
} else {
|
731 |
+
$visit_icon = $visit_iconsUrl . "twitter.png";
|
732 |
+
}
|
733 |
+
//$visit_icon = $visit_iconsUrl."twitter.png";
|
734 |
+
|
735 |
+
if ($icons_language == 'nn_NO') {
|
736 |
+
$icons_language = 'no';
|
737 |
+
}
|
738 |
+
|
739 |
+
if ($sfsi_plus_section2_options['sfsi_plus_twitter_followme'] == "yes" || $sfsi_plus_section2_options['sfsi_plus_twitter_aboutPage'] == "yes") {
|
740 |
+
$hoverSHow = 1;
|
741 |
+
//Visit twitter page {Monad}
|
742 |
+
if ($sfsi_plus_section2_options['sfsi_plus_twitter_page'] == "yes") {
|
743 |
+
$hoverdiv .= "<style>#sfsi_plus_floater .sfsi_plus_twt_tool_bdr .sfsi_plus_inside{margin-top: -18px;}</style><div class='cstmicon1'><a href='" . $url . "' " . sfsi_plus_checkNewWindow($url) . "><img class='sfsi_plus_wicon' alt='Visit Us' title='Visit Us' src='" . $visit_icon . "' /></a></div>";
|
744 |
+
}
|
745 |
+
if ($sfsi_plus_section2_options['sfsi_plus_twitter_followme'] == "yes" && !empty($twitter_user)) {
|
746 |
+
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_twitterFollow($twitter_user, $icons_language) . "</div>";
|
747 |
+
}
|
748 |
+
if ($sfsi_plus_section2_options['sfsi_plus_twitter_aboutPage'] == "yes") {
|
749 |
+
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_twitterShare($current_url, $twitter_text, $icons_language) . "</div>";
|
750 |
+
}
|
751 |
+
}
|
752 |
+
|
753 |
+
/* fecth no of counts if active in admin section */
|
754 |
+
if (
|
755 |
+
$sfsi_plus_section4_options['sfsi_plus_twitter_countsDisplay'] == "yes" &&
|
756 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
757 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
758 |
+
) {
|
759 |
+
if ($sfsi_plus_section4_options['sfsi_plus_twitter_countsFrom'] == "manual") {
|
760 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_twitter_manualCounts']);
|
761 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_twitter_countsFrom'] == "source") {
|
762 |
+
$tw_settings = array(
|
763 |
+
'sfsiplus_tw_consumer_key' => $sfsi_plus_section4_options['sfsiplus_tw_consumer_key'],
|
764 |
+
'sfsiplus_tw_consumer_secret' => $sfsi_plus_section4_options['sfsiplus_tw_consumer_secret'],
|
765 |
+
'sfsiplus_tw_oauth_access_token' => $sfsi_plus_section4_options['sfsiplus_tw_oauth_access_token'],
|
766 |
+
'sfsiplus_tw_oauth_access_token_secret' => $sfsi_plus_section4_options['sfsiplus_tw_oauth_access_token_secret']
|
767 |
+
);
|
768 |
+
|
769 |
+
$followers = $socialObj->sfsi_get_tweets($twitter_user, $tw_settings);
|
770 |
+
$counts = $socialObj->format_num($followers);
|
771 |
+
if (empty($counts)) {
|
772 |
+
$counts = (string) "0";
|
773 |
+
}
|
774 |
+
}
|
775 |
+
}
|
776 |
+
|
777 |
+
//Giving alternative text to image
|
778 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_twitter_MouseOverText'])) {
|
779 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_twitter_MouseOverText'];
|
780 |
+
} else {
|
781 |
+
$alt_text = "TWITTER";
|
782 |
+
}
|
783 |
+
|
784 |
+
//Custom Skin Support {Monad}
|
785 |
+
if ($active_theme == 'custom_support') {
|
786 |
+
if (get_option("plus_twitter_skin")) {
|
787 |
+
$icon = get_option("plus_twitter_skin");
|
788 |
+
} else {
|
789 |
+
$active_theme = 'default';
|
790 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
791 |
+
$icon = $icons_baseUrl . $active_theme . "_twitter.png";
|
792 |
+
}
|
793 |
+
} else {
|
794 |
+
$icon = $icons_baseUrl . $active_theme . "_twitter.png";
|
795 |
+
}
|
796 |
+
break;
|
797 |
+
|
798 |
+
case "youtube":
|
799 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
800 |
+
$toolClass = "utube_tool_bdr";
|
801 |
+
$arsfsiplus_row_class = "bot_utube_arow";
|
802 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
803 |
+
$width = 96;
|
804 |
+
$totwith = $width + 28 + $icons_space;
|
805 |
+
$twt_margin = $totwith / 2;
|
806 |
+
$youtube_user = (isset($sfsi_plus_section4_options['sfsi_plus_youtube_user']) && !empty($sfsi_plus_section4_options['sfsi_plus_youtube_user'])) ? $sfsi_plus_section4_options['sfsi_plus_youtube_user'] : 'follow.it';
|
807 |
+
$visit_icon = $visit_iconsUrl . "youtube.png";
|
808 |
+
|
809 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_youtube_pageUrl']) ? $sfsi_plus_section2_options['sfsi_plus_youtube_pageUrl'] : 'javascript:void(0);';
|
810 |
+
|
811 |
+
//Giving alternative text to image
|
812 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_youtube_MouseOverText'])) {
|
813 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_youtube_MouseOverText'];
|
814 |
+
} else {
|
815 |
+
$alt_text = "YOUTUBE";
|
816 |
+
}
|
817 |
+
|
818 |
+
/* check for icons to display */
|
819 |
+
$hoverdiv = "";
|
820 |
+
if ($sfsi_plus_section2_options['sfsi_plus_youtube_follow'] == "yes") {
|
821 |
+
$hoverSHow = 1;
|
822 |
+
if ($sfsi_plus_section2_options['sfsi_plus_youtube_page'] == "yes") {
|
823 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_plus_checkNewWindow($url) . "><img class='sfsi_plus_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
824 |
+
}
|
825 |
+
if ($sfsi_plus_section2_options['sfsi_plus_youtube_follow'] == "yes") {
|
826 |
+
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_YouTubeSub($youtube_user) . "</div>";
|
827 |
+
}
|
828 |
+
}
|
829 |
+
|
830 |
+
/* fecth no of counts if active in admin section */
|
831 |
+
if (
|
832 |
+
$sfsi_plus_section4_options['sfsi_plus_youtube_countsDisplay'] == "yes" &&
|
833 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
834 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
835 |
+
) {
|
836 |
+
if ($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom'] == "manual") {
|
837 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_youtube_manualCounts']);
|
838 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom'] == "subscriber") {
|
839 |
+
$followers = $socialObj->sfsi_get_youtube($youtube_user);
|
840 |
+
$counts = $socialObj->format_num($followers);
|
841 |
+
if (empty($counts)) {
|
842 |
+
$counts = (string) "0";
|
843 |
+
}
|
844 |
+
}
|
845 |
+
}
|
846 |
+
|
847 |
+
//Custom Skin Support {Monad}
|
848 |
+
if ($active_theme == 'custom_support') {
|
849 |
+
if (get_option("plus_youtube_skin")) {
|
850 |
+
$icon = get_option("plus_youtube_skin");
|
851 |
+
} else {
|
852 |
+
$active_theme = 'default';
|
853 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
854 |
+
$icon = $icons_baseUrl . $active_theme . "_youtube.png";
|
855 |
+
}
|
856 |
+
} else {
|
857 |
+
$icon = $icons_baseUrl . $active_theme . "_youtube.png";
|
858 |
+
}
|
859 |
+
break;
|
860 |
+
|
861 |
+
case "pinterest":
|
862 |
+
$width = 73;
|
863 |
+
$totwith = $width + 28 + $icons_space;
|
864 |
+
$twt_margin = $totwith / 2;
|
865 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
866 |
+
$toolClass = "sfsi_plus_printst_tool_bdr";
|
867 |
+
$arsfsiplus_row_class = "bot_pintst_arow";
|
868 |
+
|
869 |
+
$pinterest_user = (isset($sfsi_plus_section4_options['sfsi_plus_pinterest_user']))
|
870 |
+
? $sfsi_plus_section4_options['sfsi_plus_pinterest_user'] : '';
|
871 |
+
|
872 |
+
$pinterest_board = (isset($sfsi_plus_section4_options['sfsi_plus_pinterest_board']))
|
873 |
+
? $sfsi_plus_section4_options['sfsi_plus_pinterest_board'] : '';
|
874 |
+
|
875 |
+
$visit_icon = $visit_iconsUrl . "pinterest.png";
|
876 |
+
|
877 |
+
$url = (isset($sfsi_plus_section2_options['sfsi_plus_pinterest_pageUrl'])) ? $sfsi_plus_section2_options['sfsi_plus_pinterest_pageUrl'] : 'javascript:void(0);';
|
878 |
+
|
879 |
+
//Giving alternative text to image
|
880 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_pinterest_MouseOverText'])) {
|
881 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_pinterest_MouseOverText'];
|
882 |
+
} else {
|
883 |
+
$alt_text = "PINTEREST";
|
884 |
+
}
|
885 |
+
|
886 |
+
/* check for icons to display */
|
887 |
+
$hoverdiv = "";
|
888 |
+
if ($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog'] == "yes") {
|
889 |
+
$hoverSHow = 1;
|
890 |
+
if ($sfsi_plus_section2_options['sfsi_plus_pinterest_page'] == "yes") {
|
891 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_plus_checkNewWindow($url) . "><img class='sfsi_plus_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
892 |
+
}
|
893 |
+
if ($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog'] == "yes") {
|
894 |
+
if ($sfsi_plus_section2_options['sfsi_plus_pinterest_pingBlog'] == "yes") {
|
895 |
+
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_PinIt($current_url) . "</div>";
|
896 |
+
}
|
897 |
+
}
|
898 |
+
}
|
899 |
+
|
900 |
+
/* fecth no of counts if active in admin section */
|
901 |
+
if (
|
902 |
+
$sfsi_plus_section4_options['sfsi_plus_pinterest_countsDisplay'] == "yes" &&
|
903 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
904 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
905 |
+
) {
|
906 |
+
if ($sfsi_plus_section4_options['sfsi_plus_pinterest_countsFrom'] == "manual") {
|
907 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_pinterest_manualCounts']);
|
908 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_pinterest_countsFrom'] == "pins") {
|
909 |
+
$pins = $socialObj->sfsi_get_pinterest($current_url);
|
910 |
+
$counts = $pins;
|
911 |
+
if (empty($counts)) {
|
912 |
+
$counts = (string) "0";
|
913 |
+
}
|
914 |
+
}
|
915 |
+
}
|
916 |
+
|
917 |
+
//Custom Skin Support {Monad}
|
918 |
+
if ($active_theme == 'custom_support') {
|
919 |
+
if (get_option("plus_pintrest_skin")) {
|
920 |
+
$icon = get_option("plus_pintrest_skin");
|
921 |
+
} else {
|
922 |
+
$active_theme = 'default';
|
923 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
924 |
+
$icon = $icons_baseUrl . $active_theme . "_pinterest.png";
|
925 |
+
}
|
926 |
+
} else {
|
927 |
+
$icon = $icons_baseUrl . $active_theme . "_pinterest.png";
|
928 |
+
}
|
929 |
+
break;
|
930 |
+
|
931 |
+
case "instagram":
|
932 |
+
$toolClass = "instagram_tool_bdr";
|
933 |
+
$arsfsiplus_row_class = "bot_pintst_arow";
|
934 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
935 |
+
$url = (isset($sfsi_plus_section2_options['sfsi_plus_instagram_pageUrl'])) ? $sfsi_plus_section2_options['sfsi_plus_instagram_pageUrl'] : 'javascript:void(0);';
|
936 |
+
$instagram_user_name = $sfsi_plus_section4_options['sfsi_plus_instagram_User'];
|
937 |
+
|
938 |
+
//Giving alternative text to image
|
939 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_instagram_MouseOverText'])) {
|
940 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_instagram_MouseOverText'];
|
941 |
+
} else {
|
942 |
+
$alt_text = "INSTAGRAM";
|
943 |
+
}
|
944 |
+
|
945 |
+
$hoverdiv = "";
|
946 |
+
/* fecth no of counts if active in admin section */
|
947 |
+
if (
|
948 |
+
$sfsi_plus_section4_options['sfsi_plus_instagram_countsDisplay'] == "yes" &&
|
949 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
950 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
951 |
+
) {
|
952 |
+
if ($sfsi_plus_section4_options['sfsi_plus_instagram_countsFrom'] == "manual") {
|
953 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_instagram_manualCounts']);
|
954 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_instagram_countsFrom'] == "followers") {
|
955 |
+
$counts = $socialObj->sfsi_get_instagramFollowers($instagram_user_name);
|
956 |
+
if (empty($counts)) {
|
957 |
+
$counts = (string) "0";
|
958 |
+
}
|
959 |
+
}
|
960 |
+
}
|
961 |
+
|
962 |
+
//Custom Skin Support {Monad}
|
963 |
+
if ($active_theme == 'custom_support') {
|
964 |
+
if (get_option("plus_instagram_skin")) {
|
965 |
+
$icon = get_option("plus_instagram_skin");
|
966 |
+
} else {
|
967 |
+
$active_theme = 'default';
|
968 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
969 |
+
$icon = $icons_baseUrl . $active_theme . "_instagram.png";
|
970 |
+
}
|
971 |
+
} else {
|
972 |
+
$icon = $icons_baseUrl . $active_theme . "_instagram.png";
|
973 |
+
}
|
974 |
+
break;
|
975 |
+
|
976 |
+
case "houzz":
|
977 |
+
$socialObj = new sfsi_plus_SocialHelper(); /* global object to access 3rd party icon's actions */
|
978 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_houzz_pageUrl']) ? $sfsi_plus_section2_options['sfsi_plus_houzz_pageUrl'] : 'javascript:void(0);';
|
979 |
+
$toolClass = "rss_tool_bdr";
|
980 |
+
$hoverdiv = '';
|
981 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
982 |
+
|
983 |
+
/* fecth no of counts if active in admin section */
|
984 |
+
if (
|
985 |
+
isset($sfsi_plus_section4_options['sfsi_plus_houzz_countsDisplay']) &&
|
986 |
+
$sfsi_plus_section4_options['sfsi_plus_houzz_countsDisplay'] == "yes" &&
|
987 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
988 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
989 |
+
|
990 |
+
) {
|
991 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_houzz_manualCounts']);
|
992 |
+
}
|
993 |
+
|
994 |
+
if (
|
995 |
+
isset($sfsi_plus_section5_options['sfsi_plus_houzz_MouseOverText']) &&
|
996 |
+
!empty($sfsi_plus_section5_options['sfsi_plus_houzz_MouseOverText'])
|
997 |
+
) {
|
998 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_houzz_MouseOverText'];
|
999 |
+
} else {
|
1000 |
+
$alt_text = 'Houzz';
|
1001 |
+
}
|
1002 |
+
|
1003 |
+
//Custom Skin Support {Monad}
|
1004 |
+
if ($active_theme == 'custom_support') {
|
1005 |
+
if (get_option("plus_houzz_skin")) {
|
1006 |
+
$icon = get_option("plus_houzz_skin");
|
1007 |
+
} else {
|
1008 |
+
$active_theme = 'default';
|
1009 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
1010 |
+
$icon = $icons_baseUrl . $active_theme . "_houzz.png";
|
1011 |
+
}
|
1012 |
+
} else {
|
1013 |
+
$icon = $icons_baseUrl . $active_theme . "_houzz.png";
|
1014 |
+
}
|
1015 |
+
break;
|
1016 |
+
|
1017 |
+
case "linkedin":
|
1018 |
+
$width = 66;
|
1019 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
1020 |
+
$toolClass = "sfsi_plus_linkedin_tool_bdr";
|
1021 |
+
$arsfsiplus_row_class = "bot_linkedin_arow";
|
1022 |
+
$linkedIn_compayId = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1023 |
+
$linkedIn_compay = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1024 |
+
$linkedIn_ProductId = $sfsi_plus_section2_options['sfsi_plus_linkedin_recommendProductId'];
|
1025 |
+
$visit_icon = $visit_iconsUrl . "linkedIn.png";
|
1026 |
+
|
1027 |
+
/*check for icons to display */
|
1028 |
+
$url = ($sfsi_plus_section2_options['sfsi_plus_linkedin_pageURL']) ? $sfsi_plus_section2_options['sfsi_plus_linkedin_pageURL'] : 'javascript:void(0);';
|
1029 |
+
|
1030 |
+
if ($sfsi_plus_section2_options['sfsi_plus_linkedin_follow'] == "yes" || $sfsi_plus_section2_options['sfsi_plus_linkedin_SharePage'] == "yes" || $sfsi_plus_section2_options['sfsi_plus_linkedin_recommendBusines'] == "yes") {
|
1031 |
+
$hoverSHow = 1;
|
1032 |
+
$hoverdiv = '';
|
1033 |
+
if ($sfsi_plus_section2_options['sfsi_plus_linkedin_page'] == "yes") {
|
1034 |
+
$hoverdiv .= "<div class='icon4'><a href='" . $url . "' " . sfsi_plus_checkNewWindow($url) . "><img class='sfsi_plus_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
1035 |
+
}
|
1036 |
+
if ($sfsi_plus_section2_options['sfsi_plus_linkedin_follow'] == "yes") {
|
1037 |
+
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_LinkedInFollow($linkedIn_compayId) . "</div>";
|
1038 |
+
}
|
1039 |
+
if ($sfsi_plus_section2_options['sfsi_plus_linkedin_SharePage'] == "yes") {
|
1040 |
+
$linkedIn_icons_lang = isset($option5['sfsi_plus_linkedin_icons_language']) ? $option5['sfsi_plus_linkedin_icons_language'] : 'en_US';
|
1041 |
+
$linkedin_share_icon = SFSI_PLUS_PLUGURL . "images/share_icons/Linkedin_Share/" . $linkedIn_icons_lang . "_share.svg";
|
1042 |
+
// $current_url = $socialObj->sfsi_get_custom_share_link('linkedin');
|
1043 |
+
$hoverdiv .= "<div class='icon2'><a href='https://www.linkedin.com/shareArticle?url=" . $current_url . "'><img class='sfsi_premium_wicon' nopin=nopin alt='Share' title='Share' src='" . $linkedin_share_icon . "' /></a></div>";
|
1044 |
+
// $hoverdiv.="<div class='icon2'>".$socialObj->sfsi_LinkedInShare($current_url)."</div>";
|
1045 |
+
}
|
1046 |
+
if ($sfsi_plus_section2_options['sfsi_plus_linkedin_recommendBusines'] == "yes") {
|
1047 |
+
$hoverdiv .= "<div class='icon3'>" . $socialObj->sfsi_LinkedInRecommend($linkedIn_compay, $linkedIn_ProductId) . "</div>";
|
1048 |
+
$width = 99;
|
1049 |
+
}
|
1050 |
+
}
|
1051 |
+
|
1052 |
+
|
1053 |
+
if (
|
1054 |
+
$sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay'] == "yes" &&
|
1055 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
1056 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1057 |
+
) {
|
1058 |
+
if ($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom'] == "manual") {
|
1059 |
+
$counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_linkedIn_manualCounts']);
|
1060 |
+
} else if ($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom'] == "follower") {
|
1061 |
+
$linkedIn_compay = $sfsi_plus_section4_options['sfsi_plus_ln_company'];
|
1062 |
+
$ln_settings = array(
|
1063 |
+
'sfsi_plus_ln_api_key' => $sfsi_plus_section4_options['sfsi_plus_ln_api_key'],
|
1064 |
+
'sfsi_plus_ln_secret_key' => $sfsi_plus_section4_options['sfsi_plus_ln_secret_key'],
|
1065 |
+
'sfsi_plus_ln_oAuth_user_token' => $sfsi_plus_section4_options['sfsi_plus_ln_oAuth_user_token']
|
1066 |
+
);
|
1067 |
+
|
1068 |
+
$followers = $socialObj->sfsi_getlinkedin_follower($linkedIn_compay, $ln_settings);
|
1069 |
+
(int) $followers;
|
1070 |
+
$counts = $socialObj->format_num($followers);
|
1071 |
+
if (empty($counts)) {
|
1072 |
+
$counts = (string) "0";
|
1073 |
+
}
|
1074 |
+
}
|
1075 |
+
}
|
1076 |
+
|
1077 |
+
$totwith = $width + 28 + $icons_space;
|
1078 |
+
$twt_margin = $totwith / 2;
|
1079 |
+
|
1080 |
+
//Giving alternative text to image
|
1081 |
+
if (!empty($sfsi_plus_section5_options['sfsi_plus_linkedIn_MouseOverText'])) {
|
1082 |
+
$alt_text = $sfsi_plus_section5_options['sfsi_plus_linkedIn_MouseOverText'];
|
1083 |
+
} else {
|
1084 |
+
$alt_text = "LINKEDIN";
|
1085 |
+
}
|
1086 |
+
|
1087 |
+
//Custom Skin Support {Monad}
|
1088 |
+
if ($active_theme == 'custom_support') {
|
1089 |
+
if (get_option("plus_linkedin_skin")) {
|
1090 |
+
$icon = get_option("plus_linkedin_skin");
|
1091 |
+
} else {
|
1092 |
+
$active_theme = 'default';
|
1093 |
+
$icons_baseUrl = SFSI_PLUS_PLUGURL . "images/icons_theme/default/";
|
1094 |
+
$icon = $icons_baseUrl . $active_theme . "_linkedin.png";
|
1095 |
+
}
|
1096 |
+
} else {
|
1097 |
+
$icon = $icons_baseUrl . $active_theme . "_linkedin.png";
|
1098 |
+
}
|
1099 |
+
break;
|
1100 |
+
|
1101 |
+
// MZ CODE START
|
1102 |
+
|
1103 |
+
|
1104 |
+
|
1105 |
+
case "ok":
|
1106 |
+
|
1107 |
+
$toolClass = "sfsi_plus_ok_tool_bdr";
|
1108 |
+
$hoverdiv = '';
|
1109 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1110 |
+
|
1111 |
+
/* fecth no of counts if active in admin section */
|
1112 |
+
if (
|
1113 |
+
isset($sfsi_plus_section4_options['sfsi_plus_ok_countsDisplay']) &&
|
1114 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_ok_countsDisplay'] &&
|
1115 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1116 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1117 |
+
|
1118 |
+
) {
|
1119 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_ok_manualCounts'];
|
1120 |
+
}
|
1121 |
+
|
1122 |
+
$alt_text = sfsi_plus_get_icon_mouseover_text("ok");
|
1123 |
+
// $icon=$icons_baseUrl.$active_theme."_ok.png";
|
1124 |
+
$icon = sfsi_plus_get_icon_image("ok");
|
1125 |
+
$like_icon = $share_iconsUrl . $icon_name . ".svg";
|
1126 |
+
$visit_icon = $visit_iconsUrl . $icon_name . ".svg";
|
1127 |
+
$sub_icon = $visit_iconsUrl . "ok_subscribe.svg";
|
1128 |
+
$url = "#";
|
1129 |
+
|
1130 |
+
$hoverSHow = 0;
|
1131 |
+
if (isset($sfsi_plus_section2_options['sfsi_plus_okVisit_url']) && !empty($sfsi_plus_section2_options['sfsi_plus_okVisit_url'])) {
|
1132 |
+
|
1133 |
+
$url = $sfsi_plus_section2_options['sfsi_plus_okVisit_url'];
|
1134 |
+
} else {
|
1135 |
+
$url = "#";
|
1136 |
+
$sfsi_onclick = "event.preventDefault();";
|
1137 |
+
}
|
1138 |
+
if ($active_theme == "glossy") {
|
1139 |
+
$glossy_theme_adjustment = 4;
|
1140 |
+
}
|
1141 |
+
break;
|
1142 |
+
|
1143 |
+
case "telegram":
|
1144 |
+
|
1145 |
+
$toolClass = "sfsi_plus_telegram_tool_bdr";
|
1146 |
+
$hoverdiv = '';
|
1147 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1148 |
+
|
1149 |
+
/* fecth no of counts if active in admin section */
|
1150 |
+
if (
|
1151 |
+
isset($sfsi_plus_section4_options['sfsi_plus_telegram_countsDisplay']) &&
|
1152 |
+
$sfsi_plus_section4_options['sfsi_plus_telegram_countsDisplay'] == "yes" &&
|
1153 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
1154 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1155 |
+
|
1156 |
+
) {
|
1157 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_telegram_manualCounts'];
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
$alt_text = sfsi_plus_get_icon_mouseover_text("telegram");
|
1161 |
+
|
1162 |
+
$icon = sfsi_plus_get_icon_image("telegram");
|
1163 |
+
|
1164 |
+
$messageus_icon = $visit_iconsUrl . $icon_name . "_message.svg";
|
1165 |
+
$share_icon = $share_iconsUrl . $icon_name . ".svg";
|
1166 |
+
$visit_icon = $visit_iconsUrl . "telegram.png";
|
1167 |
+
|
1168 |
+
$url = "#";
|
1169 |
+
if (
|
1170 |
+
isset($sfsi_plus_section2_options['sfsi_plus_telegram_message']) && !empty($sfsi_plus_section2_options['sfsi_plus_telegram_message'])
|
1171 |
+
&&
|
1172 |
+
isset($sfsi_plus_section2_options['sfsi_plus_telegram_username']) && !empty($sfsi_plus_section2_options['sfsi_plus_telegram_username'])
|
1173 |
+
|
1174 |
+
) {
|
1175 |
+
$tg_username = $sfsi_plus_section2_options['sfsi_plus_telegram_username'];
|
1176 |
+
$tg_msg = stripslashes($sfsi_plus_section2_options['sfsi_plus_telegram_message']);
|
1177 |
+
$tg_msg = str_replace('"', '', str_replace("'", '', $tg_msg));
|
1178 |
+
$tg_msg = html_entity_decode(strip_tags($tg_msg), ENT_QUOTES, 'UTF-8');
|
1179 |
+
$tg_msg = str_replace("%26%238230%3B", "...", $tg_msg);
|
1180 |
+
$tg_msg = rawurlencode($tg_msg);
|
1181 |
+
$tele_url = "https://t.me/" . $tg_username;
|
1182 |
+
|
1183 |
+
if (isMobileDevice()) {
|
1184 |
+
$url = $tele_url . "?&text=" . urlencode($tg_msg);
|
1185 |
+
} else {
|
1186 |
+
$url = $tele_url . "?&text=" . urlencode($tg_msg);
|
1187 |
+
}
|
1188 |
+
|
1189 |
+
//$url = "https://t.me/".$tg_username;
|
1190 |
+
} else {
|
1191 |
+
$url = "#";
|
1192 |
+
$sfsi_onclick = "event.preventDefault();";
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
if ($active_theme == "glossy") {
|
1196 |
+
$glossy_theme_adjustment = 4;
|
1197 |
+
}
|
1198 |
+
break;
|
1199 |
+
|
1200 |
+
case "vk":
|
1201 |
+
|
1202 |
+
$toolClass = "sfsi_plus_vk_tool_bdr";
|
1203 |
+
$hoverdiv = '';
|
1204 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1205 |
+
|
1206 |
+
/* fecth no of counts if active in admin section */
|
1207 |
+
if (
|
1208 |
+
isset($sfsi_plus_section4_options['sfsi_plus_vk_countsDisplay']) &&
|
1209 |
+
$sfsi_plus_section4_options['sfsi_plus_vk_countsDisplay'] == "yes" &&
|
1210 |
+
$sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes" &&
|
1211 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1212 |
+
|
1213 |
+
) {
|
1214 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_vk_manualCounts'];
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
$alt_text = sfsi_plus_get_icon_mouseover_text("vk");
|
1218 |
+
$icon = sfsi_plus_get_icon_image("vk");
|
1219 |
+
// $icon=$icons_baseUrl.$active_theme."_vk.png";
|
1220 |
+
$share_icon = $share_iconsUrl . $icon_name . ".svg";
|
1221 |
+
$visit_icon = $visit_iconsUrl . $icon_name . ".svg";
|
1222 |
+
$url = "#";
|
1223 |
+
|
1224 |
+
$hoverSHow = 0;
|
1225 |
+
if (isset($sfsi_plus_section2_options['sfsi_plus_vkVisit_url']) && !empty($sfsi_plus_section2_options['sfsi_plus_vkVisit_url'])) {
|
1226 |
+
|
1227 |
+
$url = $sfsi_plus_section2_options['sfsi_plus_vkVisit_url'];
|
1228 |
+
} else {
|
1229 |
+
$url = "#";
|
1230 |
+
$sfsi_onclick = "event.preventDefault();";
|
1231 |
+
}
|
1232 |
+
|
1233 |
+
if ($active_theme == "glossy") {
|
1234 |
+
$glossy_theme_adjustment = 4;
|
1235 |
+
}
|
1236 |
+
break;
|
1237 |
+
|
1238 |
+
case "weibo":
|
1239 |
+
|
1240 |
+
$toolClass = "sfsi_plus_weibo_tool_bdr";
|
1241 |
+
$hoverdiv = '';
|
1242 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1243 |
+
|
1244 |
+
/* fecth no of counts if active in admin section */
|
1245 |
+
if (
|
1246 |
+
isset($sfsi_plus_section4_options['sfsi_plus_weibo_countsDisplay']) &&
|
1247 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_weibo_countsDisplay'] &&
|
1248 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1249 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1250 |
+
) {
|
1251 |
+
|
1252 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_weibo_manualCounts'];
|
1253 |
+
}
|
1254 |
+
|
1255 |
+
$alt_text = sfsi_plus_get_icon_mouseover_text($icon_name);
|
1256 |
+
$icon = sfsi_plus_get_icon_image($icon_name);
|
1257 |
+
// $icon=$icons_baseUrl.$active_theme."_weibo.png";
|
1258 |
+
$url = "#";
|
1259 |
+
|
1260 |
+
$hoverSHow = 0;
|
1261 |
+
if (isset($sfsi_plus_section2_options['sfsi_plus_weiboVisit_url']) && !empty($sfsi_plus_section2_options['sfsi_plus_weiboVisit_url'])) {
|
1262 |
+
|
1263 |
+
$url = $sfsi_plus_section2_options['sfsi_plus_weiboVisit_url'];
|
1264 |
+
} else {
|
1265 |
+
$url = "#";
|
1266 |
+
$sfsi_onclick = "event.preventDefault();";
|
1267 |
+
}
|
1268 |
+
|
1269 |
+
if ($active_theme == "glossy") {
|
1270 |
+
$glossy_theme_adjustment = 4;
|
1271 |
+
}
|
1272 |
+
break;
|
1273 |
+
|
1274 |
+
|
1275 |
+
case "wechat":
|
1276 |
+
|
1277 |
+
$toolClass = "sfsi_plus_wechat_tool_bdr";
|
1278 |
+
$hoverdiv = '';
|
1279 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1280 |
+
|
1281 |
+
/* fecth no of counts if active in admin section */
|
1282 |
+
if (
|
1283 |
+
isset($sfsi_plus_section4_options['sfsi_plus_wechat_countsDisplay']) &&
|
1284 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_wechat_countsDisplay'] &&
|
1285 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1286 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1287 |
+
) {
|
1288 |
+
|
1289 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_wechat_manualCounts'];
|
1290 |
+
}
|
1291 |
+
|
1292 |
+
$alt_text = sfsi_plus_get_icon_mouseover_text($icon_name);
|
1293 |
+
$icon = sfsi_plus_get_icon_image($icon_name);
|
1294 |
+
// $icon=$icons_baseUrl.$active_theme."_wechat.png";
|
1295 |
+
|
1296 |
+
$share_icon = $share_iconsUrl . $icon_name . ".svg";
|
1297 |
+
$visit_icon = $visit_iconsUrl . $icon_name . ".svg";
|
1298 |
+
$url = "#";
|
1299 |
+
// if(!wp_is_mobile()){
|
1300 |
+
$sfsi_onclick = "event.preventDefault();sfsi_plus_wechat_share()";
|
1301 |
+
// }else{
|
1302 |
+
// $url = "weixin://dl/chat";
|
1303 |
+
// }
|
1304 |
+
|
1305 |
+
if ($active_theme == "glossy") {
|
1306 |
+
$glossy_theme_adjustment = 4;
|
1307 |
+
}
|
1308 |
+
break;
|
1309 |
+
case "whatsapp":
|
1310 |
+
$toolClass = "sfsi_plus_whatsapp_tool_bdr";
|
1311 |
+
$hoverdiv = '';
|
1312 |
+
$arsfsiplus_row_class = "bot_rss_arow";
|
1313 |
+
if (
|
1314 |
+
isset($sfsi_plus_section4_options['sfsi_plus_whatsapp_countsDisplay']) &&
|
1315 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_whatsapp_countsDisplay'] &&
|
1316 |
+
"yes" == $sfsi_plus_section4_options['sfsi_plus_display_counts'] &&
|
1317 |
+
$sfsi_plus_section4_options['sfsi_plus_round_counts'] == "yes"
|
1318 |
+
) {
|
1319 |
+
|
1320 |
+
$counts = $sfsi_plus_section4_options['sfsi_plus_whatsapp_manualCounts'];
|
1321 |
+
}
|
1322 |
+
if (!is_null($post)) {
|
1323 |
+
$sfsi_plus_current_url = get_permalink($post->ID);
|
1324 |
+
} else {
|
1325 |
+
global $wp;
|
1326 |
+
$sfsi_plus_current_url = home_url($wp->request);
|
1327 |
+
}
|
1328 |
+
$url = 'https://api.whatsapp.com/send?text=' . $sfsi_plus_current_url;
|
1329 |
+
|
1330 |
+
|
1331 |
+
// $alt_text = sfsi_plus_get_icon_mouseover_text("whatsapp");
|
1332 |
+
$icon = sfsi_plus_get_icon_image("whatsapp");
|
1333 |
+
break;
|
1334 |
+
|
1335 |
+
///MZ CODE END
|
1336 |
+
|
1337 |
+
default:
|
1338 |
+
$border_radius = "";
|
1339 |
+
//$border_radius =" border-radius:48%;";
|
1340 |
+
$cmcls = "cmcls";
|
1341 |
+
$padding_top = "";
|
1342 |
+
if ($active_theme == "badge") {
|
1343 |
+
//$border_radius="border-radius: 18%;";
|
1344 |
+
}
|
1345 |
+
if ($active_theme == "cute") {
|
1346 |
+
//$border_radius="border-radius: 38%;";
|
1347 |
+
}
|
1348 |
+
|
1349 |
+
$custom_icon_urls = isset($sfsi_plus_section2_options['sfsi_plus_CustomIcon_links']) && "" !== $sfsi_plus_section2_options['sfsi_plus_CustomIcon_links'] ? unserialize($sfsi_plus_section2_options['sfsi_plus_CustomIcon_links']) : array();
|
1350 |
+
$url = (isset($custom_icon_urls[$icon_n]) && !empty($custom_icon_urls[$icon_n])) ? $custom_icon_urls[$icon_n] : 'javascript:void(0);';
|
1351 |
+
$toolClass = "custom_lkn";
|
1352 |
+
$arsfsiplus_row_class = "";
|
1353 |
+
$custom_icons_hoverTxt = unserialize($sfsi_plus_section5_options['sfsi_plus_custom_MouseOverTexts']);
|
1354 |
+
$icons = isset($sfsi_plus_section1_options['sfsi_custom_files']) && "" !== $sfsi_plus_section1_options['sfsi_custom_files'] ? unserialize($sfsi_plus_section1_options['sfsi_custom_files']) : array();
|
1355 |
+
// var_dump($icons,$custom_icon_urls,$icon_n,$sfsi_plus_section2_options);die();
|
1356 |
+
$icon = $icons[$icon_n];
|
1357 |
+
|
1358 |
+
//Giving alternative text to image
|
1359 |
+
if (!empty($custom_icons_hoverTxt[$icon_n])) {
|
1360 |
+
$alt_text = $custom_icons_hoverTxt[$icon_n];
|
1361 |
+
} else {
|
1362 |
+
$alt_text = "SOCIALICON";
|
1363 |
+
}
|
1364 |
+
break;
|
1365 |
+
}
|
1366 |
+
|
1367 |
+
$icons = "";
|
1368 |
+
|
1369 |
+
/* apply size of icon */
|
1370 |
+
if ($is_front == 0) {
|
1371 |
+
$icons_size = $sfsi_plus_section5_options['sfsi_plus_icons_size'];
|
1372 |
} else {
|
1373 |
+
$icons_size = 51;
|
1374 |
}
|
1375 |
+
|
1376 |
+
/* spacing and no of icons per row */
|
1377 |
+
$icons_space = '';
|
1378 |
+
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
1379 |
+
$icon_width = (int) $icons_size;
|
1380 |
+
/* check for mouse hover effect */
|
1381 |
+
$icon_opacity = "1";
|
1382 |
+
|
1383 |
+
if ($sfsi_plus_section3_options['sfsi_plus_mouseOver'] == 'yes') {
|
1384 |
+
$mouse_hover_effect = $sfsi_plus_section3_options["sfsi_plus_mouseOver_effect"];
|
1385 |
+
if ($mouse_hover_effect == "fade_in" || $mouse_hover_effect == "combo") {
|
1386 |
+
$icon_opacity = "0.6";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1387 |
}
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
$toolT_cls = '';
|
1391 |
+
if ((int) $icon_width <= 49 && (int) $icon_width >= 30) {
|
1392 |
+
$bt_class = "";
|
1393 |
+
$toolT_cls = "sfsi_plus_Tlleft";
|
1394 |
+
} else if ((int) $icon_width <= 20) {
|
1395 |
+
$bt_class = "sfsiSmBtn";
|
1396 |
+
$toolT_cls = "sfsi_plus_Tlleft";
|
1397 |
+
} else {
|
1398 |
+
$bt_class = "";
|
1399 |
+
$toolT_cls = "sfsi_plus_Tlleft";
|
1400 |
+
}
|
1401 |
+
|
1402 |
+
if ($toolClass == "rss_tool_bdr" || $toolClass == 'email_tool_bdr' || $toolClass == "custom_lkn" || $toolClass == "instagram_tool_bdr") {
|
1403 |
+
$new_window = sfsi_plus_checkNewWindow();
|
1404 |
+
} else if ($hoverSHow) {
|
1405 |
+
if (!function_exists('wp_is_mobile') || !wp_is_mobile()) {
|
1406 |
+
$new_window = sfsi_plus_checkNewWindow();
|
1407 |
+
} else {
|
1408 |
+
$new_window = '';
|
1409 |
+
$url = "javascript:void(0);";
|
1410 |
}
|
1411 |
+
} else {
|
1412 |
+
$new_window = sfsi_plus_checkNewWindow();
|
1413 |
+
}
|
1414 |
+
|
1415 |
+
if ("javascript:void(0);" == $url) {
|
1416 |
+
$new_window = "";
|
1417 |
+
}
|
1418 |
+
// if($sfsi_plus_section2_options['sfsi_plus_rss_icons'] !== "sfsi" && sanitize_text_field(get_option('sfsi_plus_feed_id',false)) == ""){
|
1419 |
+
// $url = "https://follow.it/now";
|
1420 |
+
// }
|
1421 |
+
$margin_bot = (5 + $glossy_theme_adjustment) . "px;";
|
1422 |
+
if ($sfsi_plus_section4_options['sfsi_plus_display_counts'] == "yes") {
|
1423 |
+
$margin_bot = (30 + ($glossy_theme_adjustment > 0 ? $glossy_theme_adjustment - 1 : $glossy_theme_adjustment)) . "px;";
|
1424 |
+
}
|
1425 |
+
|
1426 |
+
if (isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL)) {
|
1427 |
+
$icons .= "<div style='width:" . $icon_width . "px; height:" . $icon_width . "px;margin-left:" . $icons_space . "px;margin-bottom:" . $margin_bot . "' class='sfsi_plus_wicons shuffeldiv " . $cmcls . "'>";
|
1428 |
+
|
1429 |
+
$icons .= "<div class='sfsiplus_inerCnt'>";
|
1430 |
+
|
1431 |
+
$icons .= "<a class='" . $class . " sficn' data-effect='" . $mouse_hover_effect . "' $new_window href='" . $url . "' style='opacity:" . $icon_opacity . "' " . (isset($sfsi_onclick) ? 'onclick="' . $sfsi_onclick . '"' : '') . ">";
|
1432 |
+
|
1433 |
+
$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 sfsiplusid_round_icon_" . $icon_name . "' data-effect='" . $mouse_hover_effect . "' />";
|
1434 |
+
|
1435 |
+
$icons .= '</a>';
|
1436 |
+
|
1437 |
+
if (isset($counts) && $counts != '' && $onpost == "no") {
|
1438 |
+
$icons .= '<span class="bot_no ' . $bt_class . '">' . $counts . '</span>';
|
1439 |
}
|
1440 |
+
|
1441 |
+
if ($hoverSHow && !empty($hoverdiv)) {
|
1442 |
+
//$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;margin-left:-'.$twt_margin.'px;" id="sfsiplusid_'.$icon_name.'">';
|
1443 |
+
|
1444 |
+
$icons .= '<div class="sfsi_plus_tool_tip_2 ' . $toolClass . ' ' . $toolT_cls . ' sfsiplusid_' . $icon_name . '" style="display:block;' . (isset($width) ? 'width:' . $width . 'px' : '') . ';opacity:0;z-index:-1;">';
|
1445 |
+
$icons .= '<span class="bot_arow ' . $arsfsiplus_row_class . '"></span>';
|
1446 |
+
$icons .= '<div class="sfsi_plus_inside">' . $hoverdiv . "</div>";
|
1447 |
+
$icons .= "</div>";
|
1448 |
}
|
1449 |
+
$icons .= "</div>";
|
1450 |
+
$icons .= "</div>";
|
1451 |
+
}
|
1452 |
+
return $icons;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1453 |
}
|
1454 |
+
|
1455 |
+
/* make url for new window */
|
1456 |
+
function sfsi_plus_checkNewWindow()
|
1457 |
{
|
1458 |
+
global $wpdb;
|
1459 |
+
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options', false));
|
1460 |
+
if ($sfsi_plus_section5_options['sfsi_plus_icons_ClickPageOpen'] == "yes") {
|
1461 |
+
return $new_window = "target='_blank'";
|
1462 |
+
} else {
|
1463 |
+
return '';
|
1464 |
+
}
|
1465 |
}
|
|
|
|
|
|
|
|
|
|
|
1466 |
|
1467 |
+
function sfsi_plus_check_posts_visiblity($isFloter = 0, $fromPost = NULL)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1468 |
{
|
1469 |
+
global $wpdb;
|
1470 |
+
/* Access the saved settings in database */
|
1471 |
+
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options', false));
|
1472 |
+
$sfsi_section3 = unserialize(get_option('sfsi_plus_section3_options', false));
|
1473 |
+
$sfsi_section5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
1474 |
+
|
1475 |
+
//options that are added on the third question
|
1476 |
+
$sfsi_section8 = unserialize(get_option('sfsi_plus_section8_options', false));
|
1477 |
+
|
1478 |
+
/* calculate the width and icons display alignments */
|
1479 |
+
$icons_space = $sfsi_section8['sfsi_plus_post_icons_spacing'];
|
1480 |
+
$icons_size = $sfsi_section8['sfsi_plus_post_icons_size'];
|
1481 |
+
$extra = 0;
|
1482 |
+
|
1483 |
+
|
1484 |
+
/* magnage the icons in saved order in admin */
|
1485 |
+
$custom_icons_order = unserialize($sfsi_section5['sfsi_plus_CustomIcons_order']);
|
1486 |
+
$icons = unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
1487 |
+
$icons_order = array(
|
1488 |
+
'0' => '',
|
1489 |
+
$sfsi_section5['sfsi_plus_rssIcon_order'] => 'rss',
|
1490 |
+
$sfsi_section5['sfsi_plus_emailIcon_order'] => 'email',
|
1491 |
+
$sfsi_section5['sfsi_plus_facebookIcon_order'] => 'facebook',
|
1492 |
+
$sfsi_section5['sfsi_plus_twitterIcon_order'] => 'twitter',
|
1493 |
+
$sfsi_section5['sfsi_plus_youtubeIcon_order'] => 'youtube',
|
1494 |
+
$sfsi_section5['sfsi_plus_pinterestIcon_order'] => 'pinterest',
|
1495 |
+
$sfsi_section5['sfsi_plus_linkedinIcon_order'] => 'linkedin',
|
1496 |
+
$sfsi_section5['sfsi_plus_instagramIcon_order'] => 'instagram',
|
1497 |
+
$sfsi_section5['sfsi_plus_okIcon_order'] => 'ok',
|
1498 |
+
$sfsi_section5['sfsi_plus_telegramIcon_order'] => 'telegram',
|
1499 |
+
$sfsi_section5['sfsi_plus_vkIcon_order'] => 'vk',
|
1500 |
+
$sfsi_section5['sfsi_plus_weiboIcon_order'] => 'weibo',
|
1501 |
+
$sfsi_section5['sfsi_plus_wechatIcon_order'] => 'wechat',
|
1502 |
+
$sfsi_section5['sfsi_plus_whatsappIcon_order'] => 'whatsapp',
|
1503 |
+
(isset($sfsi_section5['sfsi_plus_houzzIcon_order']))
|
1504 |
+
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
1505 |
+
: 12 => 'houzz'
|
1506 |
+
);
|
1507 |
+
if (is_array($custom_icons_order)) {
|
1508 |
+
foreach ($custom_icons_order as $data) {
|
1509 |
+
$icons_order[$data['order']] = $data;
|
1510 |
+
}
|
1511 |
+
}
|
1512 |
+
ksort($icons_order);
|
1513 |
+
|
1514 |
+
/* built the main widget div */
|
1515 |
+
$icons_main = '<div class="sfsiplus_norm_row sfsi_plus_wDivothr">';
|
1516 |
+
$icons = "";
|
1517 |
+
|
1518 |
+
// $icons .= '<style>.sfsibeforpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons, .sfsiaftrpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons{width: '.$icons_size.'px !important;height: '.$icons_size.'px !important; margin-left: '.$icons_space.'px !important;}</style>';
|
1519 |
+
// add_action('wp_head', function(){
|
1520 |
+
// echo '<style>.sfsibeforpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons, .sfsiaftrpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons{width: '.$icons_size.'px !important;height: '.$icons_size.'px !important; margin-left: '.$icons_space.'px !important;}</style>';
|
1521 |
+
// }, 100);
|
1522 |
+
add_action('wp_footer', function () use ($icons_space, $icons_size) {
|
1523 |
+
echo '<script>var css = ".sfsibeforpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons, .sfsiaftrpstwpr .sfsiplus_norm_row.sfsi_plus_wDivothr .sfsi_plus_wicons{width: ' . $icons_size . 'px !important;height: ' . $icons_size . 'px !important; margin-left: ' . $icons_space . 'px !important;}",
|
1524 |
head = document.head || document.getElementsByTagName("head")[0],
|
1525 |
style = document.createElement("style");
|
1526 |
|
1531 |
} else {
|
1532 |
style.appendChild(document.createTextNode(css));
|
1533 |
}</script>';
|
1534 |
+
}, 100);
|
1535 |
|
1536 |
+
/* loop through icons and bulit the icons with all settings applied in admin */
|
1537 |
+
foreach ($icons_order as $index => $icn) {
|
1538 |
+
if (is_array($icn)) {
|
1539 |
+
$icon_arry = $icn;
|
1540 |
+
$icn = "custom";
|
1541 |
+
}
|
1542 |
+
|
1543 |
+
switch ($icn):
|
1544 |
+
case 'rss':
|
1545 |
+
if ($sfsi_plus_section1_options['sfsi_plus_rss_display'] == 'yes') {
|
1546 |
+
$icons .= sfsi_plus_prepairIcons('rss');
|
1547 |
+
}
|
1548 |
+
break;
|
1549 |
+
case 'email':
|
1550 |
+
if ($sfsi_plus_section1_options['sfsi_plus_email_display'] == 'yes') {
|
1551 |
+
$icons .= sfsi_plus_prepairIcons('email');
|
1552 |
+
}
|
1553 |
+
break;
|
1554 |
+
case 'facebook':
|
1555 |
+
if ($sfsi_plus_section1_options['sfsi_plus_facebook_display'] == 'yes') {
|
1556 |
+
$icons .= sfsi_plus_prepairIcons('facebook', 0, "no", $fromPost);
|
1557 |
+
}
|
1558 |
+
break;
|
1559 |
+
|
1560 |
+
|
1561 |
+
case 'twitter':
|
1562 |
+
if ($sfsi_plus_section1_options['sfsi_plus_twitter_display'] == 'yes') {
|
1563 |
+
$icons .= sfsi_plus_prepairIcons('twitter', 0, "no", $fromPost);
|
1564 |
+
}
|
1565 |
+
break;
|
1566 |
+
case 'youtube':
|
1567 |
+
if ($sfsi_plus_section1_options['sfsi_plus_youtube_display'] == 'yes') {
|
1568 |
+
$icons .= sfsi_plus_prepairIcons('youtube');
|
1569 |
+
}
|
1570 |
+
break;
|
1571 |
+
|
1572 |
+
case 'pinterest':
|
1573 |
+
if ($sfsi_plus_section1_options['sfsi_plus_pinterest_display'] == 'yes') {
|
1574 |
+
$icons .= sfsi_plus_prepairIcons('pinterest');
|
1575 |
+
}
|
1576 |
+
break;
|
1577 |
+
case 'linkedin':
|
1578 |
+
if ($sfsi_plus_section1_options['sfsi_plus_linkedin_display'] == 'yes') {
|
1579 |
+
$icons .= sfsi_plus_prepairIcons('linkedin', 0, "no", $fromPost);
|
1580 |
+
}
|
1581 |
+
break;
|
1582 |
+
case 'instagram':
|
1583 |
+
if ($sfsi_plus_section1_options['sfsi_plus_instagram_display'] == 'yes') {
|
1584 |
+
$icons .= sfsi_plus_prepairIcons('instagram');
|
1585 |
+
}
|
1586 |
+
break;
|
1587 |
+
case 'houzz':
|
1588 |
+
if (
|
1589 |
+
isset($sfsi_plus_section1_options['sfsi_plus_houzz_display']) &&
|
1590 |
+
$sfsi_plus_section1_options['sfsi_plus_houzz_display'] == 'yes'
|
1591 |
+
) {
|
1592 |
+
$icons .= sfsi_plus_prepairIcons('houzz');
|
1593 |
+
}
|
1594 |
+
break;
|
1595 |
+
case 'ok':
|
1596 |
+
if (
|
1597 |
+
isset($sfsi_plus_section1_options['sfsi_plus_ok_display']) &&
|
1598 |
+
$sfsi_plus_section1_options['sfsi_plus_ok_display'] == 'yes'
|
1599 |
+
) {
|
1600 |
+
$icons .= sfsi_plus_prepairIcons('ok');
|
1601 |
+
}
|
1602 |
+
break;
|
1603 |
+
case 'telegram':
|
1604 |
+
if (
|
1605 |
+
isset($sfsi_plus_section1_options['sfsi_plus_telegram_display']) &&
|
1606 |
+
$sfsi_plus_section1_options['sfsi_plus_telegram_display'] == 'yes'
|
1607 |
+
) {
|
1608 |
+
$icons .= sfsi_plus_prepairIcons('telegram');
|
1609 |
+
}
|
1610 |
+
break;
|
1611 |
+
case 'vk':
|
1612 |
+
if (
|
1613 |
+
isset($sfsi_plus_section1_options['sfsi_plus_vk_display']) &&
|
1614 |
+
$sfsi_plus_section1_options['sfsi_plus_vk_display'] == 'yes'
|
1615 |
+
) {
|
1616 |
+
$icons .= sfsi_plus_prepairIcons('vk');
|
1617 |
+
}
|
1618 |
+
break;
|
1619 |
+
case 'weibo':
|
1620 |
+
if (
|
1621 |
+
isset($sfsi_plus_section1_options['sfsi_plus_weibo_display']) &&
|
1622 |
+
$sfsi_plus_section1_options['sfsi_plus_weibo_display'] == 'yes'
|
1623 |
+
) {
|
1624 |
+
$icons .= sfsi_plus_prepairIcons('weibo');
|
1625 |
+
}
|
1626 |
+
break;
|
1627 |
+
case 'wechat':
|
1628 |
+
if (
|
1629 |
+
isset($sfsi_plus_section1_options['sfsi_plus_wechat_display']) &&
|
1630 |
+
$sfsi_plus_section1_options['sfsi_plus_wechat_display'] == 'yes'
|
1631 |
+
) {
|
1632 |
+
$icons .= sfsi_plus_prepairIcons('wechat');
|
1633 |
+
}
|
1634 |
+
break;
|
1635 |
+
case 'whatsapp':
|
1636 |
+
if (
|
1637 |
+
isset($sfsi_plus_section1_options['sfsi_plus_whatsapp_display']) &&
|
1638 |
+
$sfsi_plus_section1_options['sfsi_plus_whatsapp_display'] == 'yes'
|
1639 |
+
) {
|
1640 |
+
$icons .= sfsi_plus_prepairIcons('whatsapp');
|
1641 |
+
}
|
1642 |
+
break;
|
1643 |
+
case 'custom':
|
1644 |
+
$icons .= sfsi_plus_prepairIcons($icon_arry['ele']);
|
1645 |
+
break;
|
1646 |
+
endswitch;
|
1647 |
+
}
|
1648 |
+
$icons .= '</div >';
|
1649 |
+
$icons_main .= $icons;
|
1650 |
+
|
1651 |
+
/* if floating of icons is active create a floater div */
|
1652 |
+
$icons_float = '';
|
1653 |
+
$icons_data = $icons_main . $icons_float;
|
1654 |
+
return $icons_data;
|
1655 |
}
|
1656 |
|
1657 |
+
// MZ CODE
|
1658 |
+
|
1659 |
+
|
1660 |
+
function sfsi_plus_get_icon_mouseover_text($icon_name)
|
1661 |
+
{
|
1662 |
+
|
1663 |
+
$alt_text = '';
|
1664 |
+
|
1665 |
+
if (isset($icon_name) && !empty($icon_name)) {
|
1666 |
+
|
1667 |
+
$icon_name = strtolower($icon_name);
|
1668 |
+
|
1669 |
+
$key = 'sfsi_plus_' . $icon_name . '_MouseOverText';
|
1670 |
+
|
1671 |
+
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options', false));
|
1672 |
+
|
1673 |
+
if (isset($sfsi_plus_section5_options[$key]) && !empty($sfsi_plus_section5_options[$key])) {
|
1674 |
+
$alt_text = $sfsi_plus_section5_options[$key];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1675 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1676 |
}
|
1677 |
+
|
1678 |
+
return $alt_text;
|
1679 |
}
|
1680 |
+
|
1681 |
+
|
1682 |
+
|
|
|
|
|
|
|
1683 |
//MZ CODE END
|
1684 |
+
|
1685 |
+
function isMobileDevice()
|
1686 |
+
{
|
1687 |
+
return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
|
1688 |
+
}
|
1689 |
+
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro, socialtech
|
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 3.4.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -294,6 +294,11 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
294 |
9. You can also display a pop-up (designed to your liking) which asks users to like & share your site
|
295 |
|
296 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
297 |
= 3.4.4 =
|
298 |
* Gutenberg corrected.
|
299 |
* The permission callback for register_rest_route issue fixed.
|
@@ -854,5 +859,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
854 |
|
855 |
== Upgrade Notice ==
|
856 |
|
857 |
-
= 3.4.
|
858 |
* Please update
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 3.4.5
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
294 |
9. You can also display a pop-up (designed to your liking) which asks users to like & share your site
|
295 |
|
296 |
== Changelog ==
|
297 |
+
|
298 |
+
= 3.4.5 =
|
299 |
+
* Added Whatsapp share
|
300 |
+
* Fixed Woocommerce banner dismiss
|
301 |
+
|
302 |
= 3.4.4 =
|
303 |
* Gutenberg corrected.
|
304 |
* The permission callback for register_rest_route issue fixed.
|
859 |
|
860 |
== Upgrade Notice ==
|
861 |
|
862 |
+
= 3.4.5 =
|
863 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
-
Version: 3.4.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -76,7 +76,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
76 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
77 |
|
78 |
/*Plugin version setup*/
|
79 |
-
if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.
|
80 |
add_action("init", "sfsi_plus_update_plugin");
|
81 |
}
|
82 |
|
@@ -315,7 +315,7 @@ function sfsi_plus_beforaftereposts($content)
|
|
315 |
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
316 |
$icons_after .= sfsi_plus_social_buttons_below($content = null);
|
317 |
} else if ($option8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
318 |
-
|
319 |
} else {
|
320 |
$icons_after .= "<div class='sfsi_plus_Sicons' style='" . $style . "'>";
|
321 |
$icons_after .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
@@ -324,7 +324,7 @@ function sfsi_plus_beforaftereposts($content)
|
|
324 |
}
|
325 |
} else {
|
326 |
if (isset($option8['sfsi_plus_display_button_type']) && $option8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
327 |
-
|
328 |
}
|
329 |
}
|
330 |
|
@@ -548,9 +548,9 @@ function sfsi_plus_beforeafterblogposts($content)
|
|
548 |
}
|
549 |
} else {
|
550 |
if (isset($sfsi_section8['sfsi_plus_display_button_type']) && $sfsi_section8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
}
|
555 |
}
|
556 |
$icons_after .= "</div>";
|
@@ -805,19 +805,19 @@ function sfsi_plus_admin_notice()
|
|
805 |
update_option('sfsi_plus_dismiss_gallery', serialize($sfsi_plus_dismiss_gallery));
|
806 |
}
|
807 |
if (isset($_REQUEST['sfsi-plus-dismiss-woocommerce']) && $_REQUEST['sfsi-plus-dismiss-woocommerce'] == 'true') {
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
|
822 |
|
823 |
if (isset($_REQUEST['sfsi-plus-banner-global-upgrade']) && $_REQUEST['sfsi-plus-banner-global-upgrade'] == 'true') {
|
@@ -913,6 +913,16 @@ function sfsi_plus_admin_notice()
|
|
913 |
update_option('sfsi_plus_banner_global_firsttime_offer', serialize($sfsi_plus_banner_global_firsttime_offer));
|
914 |
sfsi_plus_check_banner();
|
915 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
916 |
}
|
917 |
|
918 |
add_action('plugins_loaded', 'sfsi_plus_load_domain');
|
@@ -1021,19 +1031,19 @@ function sfsi_plus_admin_notice()
|
|
1021 |
}
|
1022 |
function sfsi_plus_cronstarter_activation()
|
1023 |
{
|
1024 |
-
|
1025 |
$domain = sfsi_plus_getdomain(get_site_url());
|
1026 |
-
|
1027 |
-
if($domain && strlen($domain)>0){
|
1028 |
$firstchar = strtolower($domain[0]);
|
1029 |
-
}else{
|
1030 |
$firstchar = "x";
|
1031 |
}
|
1032 |
-
if(!preg_match("/^[a-z]$/i", $firstchar)) {
|
1033 |
$firstchar = 'x';
|
1034 |
}
|
1035 |
-
$number = ord($firstchar)-96;
|
1036 |
-
$time = DateTime::createFromFormat('Y-m-d H:i:s',date('Y-m-d '
|
1037 |
// sfsi_plus_write_log(wp_next_scheduled( 'sfsi_plus_sf_instagram_count_fetcher' ));
|
1038 |
if (!wp_next_scheduled('sfsi_plus_sf_instagram_count_fetcher')) {
|
1039 |
wp_schedule_event($time, 'daily', 'sfsi_plus_sf_instagram_count_fetcher');
|
@@ -1407,7 +1417,7 @@ function sfsi_plus_admin_notice()
|
|
1407 |
* Notices handler
|
1408 |
* @since 1.4.8
|
1409 |
*/
|
1410 |
-
|
1411 |
// Styles & scripts
|
1412 |
add_action('admin_enqueue_scripts', function () {
|
1413 |
|
@@ -1762,7 +1772,7 @@ function sfsi_plus_admin_notice()
|
|
1762 |
array('dir_slug' => 'wp-smushit/wp-smush.php', 'option_name' => 'smush'),
|
1763 |
array('dir_slug' => 'varnish-http-purge/varnish-http-purge.php', 'option_name' => 'varnish-page'),
|
1764 |
array('dir_slug' => 'varnish-http-purge/varnish-http-purge.php', 'option_name' => 'varnish-check-caching'),
|
1765 |
-
|
1766 |
);
|
1767 |
$gdpr_plugins = array(
|
1768 |
array('dir_slug' => 'cookie-law-info/cookie-law-info.php', 'option_name' => 'cookie-law-info'),
|
@@ -1802,7 +1812,7 @@ function sfsi_plus_admin_notice()
|
|
1802 |
array('dir_slug' => 'beautiful-and-responsive-cookie-consent/nsc_bar-cookie-consent.php', 'option_name' => 'nsc_bar-cookie-consent'),
|
1803 |
array('dir_slug' => 'simple-gdpr/simple-gdpr.php', 'option_name' => 'SGDPR_settings'),
|
1804 |
array('dir_slug' => 'wonderpush-web-push-notifications/wonderpush.php', 'option_name' => 'wonderpush'),
|
1805 |
-
array('dir_slug' => 'ns-gdpr/ns-gdpr.php', 'option_name' => 'ns-gdpr'),
|
1806 |
);
|
1807 |
$google_analytics = array(
|
1808 |
array('dir_slug' => 'really-simple-ssl/rlrsssl-really-simple-ssl.php', 'option_name' => 'rlrsssl_really_simple_ssl'),
|
@@ -1820,13 +1830,13 @@ function sfsi_plus_admin_notice()
|
|
1820 |
$socialObj = new sfsi_plus_SocialHelper();
|
1821 |
$current_url = site_url();
|
1822 |
$fb_data = $socialObj->sfsi_banner_get_fb($current_url);
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
// $sfsi_plus_banner_global_firsttime_offer = unserialize(get_option('sfsi_plus_banner_global_firsttime_offer', false));
|
1831 |
$sfsi_plus_banner_global_pinterest = unserialize(get_option('sfsi_plus_banner_global_pinterest', false));
|
1832 |
$sfsi_plus_banner_global_social = unserialize(get_option('sfsi_plus_banner_global_social', false));
|
@@ -2000,7 +2010,7 @@ function sfsi_plus_admin_notice()
|
|
2000 |
}
|
2001 |
}
|
2002 |
}
|
2003 |
-
|
2004 |
wp_redirect(admin_url('admin.php?page=sfsi-plus-options'));
|
2005 |
exit;
|
2006 |
// return false;
|
@@ -2094,4 +2104,22 @@ function sfsi_plus_admin_notice()
|
|
2094 |
}
|
2095 |
$check_gallery_plugin_active_is_true = in_array(true, $sfsi_plus_gallery_plugin_active);
|
2096 |
return $check_gallery_plugin_active_is_true;
|
2097 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 3.4.5
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
76 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
77 |
|
78 |
/*Plugin version setup*/
|
79 |
+
if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.45) {
|
80 |
add_action("init", "sfsi_plus_update_plugin");
|
81 |
}
|
82 |
|
315 |
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
316 |
$icons_after .= sfsi_plus_social_buttons_below($content = null);
|
317 |
} else if ($option8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
318 |
+
$icons_after .= sfsi_plus_social_responsive_buttons(null, $option8);
|
319 |
} else {
|
320 |
$icons_after .= "<div class='sfsi_plus_Sicons' style='" . $style . "'>";
|
321 |
$icons_after .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
324 |
}
|
325 |
} else {
|
326 |
if (isset($option8['sfsi_plus_display_button_type']) && $option8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
327 |
+
$icons_after .= sfsi_plus_social_responsive_buttons(null, $option8);
|
328 |
}
|
329 |
}
|
330 |
|
548 |
}
|
549 |
} else {
|
550 |
if (isset($sfsi_section8['sfsi_plus_display_button_type']) && $sfsi_section8['sfsi_plus_display_button_type'] == 'responsive_button') {
|
551 |
+
if (is_single()) {
|
552 |
+
$icons_after .= sfsi_plus_social_responsive_buttons(null, $sfsi_section8);
|
553 |
+
}
|
554 |
}
|
555 |
}
|
556 |
$icons_after .= "</div>";
|
805 |
update_option('sfsi_plus_dismiss_gallery', serialize($sfsi_plus_dismiss_gallery));
|
806 |
}
|
807 |
if (isset($_REQUEST['sfsi-plus-dismiss-woocommerce']) && $_REQUEST['sfsi-plus-dismiss-woocommerce'] == 'true') {
|
808 |
+
$sfsi_plus_dismiss_woocommerce = array(
|
809 |
+
'show_banner' => "no",
|
810 |
+
'timestamp' => strtotime(date("Y-m-d h:i:s"))
|
811 |
+
);
|
812 |
+
update_option('sfsi_plus_dismiss_woocommerce', serialize($sfsi_plus_dismiss_woocommerce));
|
813 |
+
}
|
814 |
+
if (isset($_REQUEST['sfsi-plus-dismiss-twitter']) && $_REQUEST['sfsi-plus-dismiss-twitter'] == 'true') {
|
815 |
+
$sfsi_plus_dismiss_twitter = array(
|
816 |
+
'show_banner' => "no",
|
817 |
+
'timestamp' => strtotime(date("Y-m-d h:i:s"))
|
818 |
+
);
|
819 |
+
update_option('sfsi_plus_dismiss_twitter', serialize($sfsi_plus_dismiss_twitter));
|
820 |
+
}
|
821 |
|
822 |
|
823 |
if (isset($_REQUEST['sfsi-plus-banner-global-upgrade']) && $_REQUEST['sfsi-plus-banner-global-upgrade'] == 'true') {
|
913 |
update_option('sfsi_plus_banner_global_firsttime_offer', serialize($sfsi_plus_banner_global_firsttime_offer));
|
914 |
sfsi_plus_check_banner();
|
915 |
}
|
916 |
+
if (isset($_REQUEST['sfsi-plus-dismiss-copy-delete-post']) && $_REQUEST['sfsi-plus-dismiss-copy-delete-post'] == 'true') {
|
917 |
+
$sfsi_plus_dismiss_copy_delete_post = array(
|
918 |
+
'show_banner' => "no",
|
919 |
+
'timestamp' => strtotime(date("Y-m-d h:i:s"))
|
920 |
+
);
|
921 |
+
update_option('sfsi_plus_dismiss_copy_delete_post', serialize($sfsi_plus_dismiss_copy_delete_post));
|
922 |
+
}
|
923 |
+
if (isset($_REQUEST['sfsi-plus-banner-popups']) && $_REQUEST['sfsi-plus-banner-popups'] == 'true') {
|
924 |
+
update_option('sfsi_plus_banner_popups', "no");
|
925 |
+
}
|
926 |
}
|
927 |
|
928 |
add_action('plugins_loaded', 'sfsi_plus_load_domain');
|
1031 |
}
|
1032 |
function sfsi_plus_cronstarter_activation()
|
1033 |
{
|
1034 |
+
|
1035 |
$domain = sfsi_plus_getdomain(get_site_url());
|
1036 |
+
|
1037 |
+
if ($domain && strlen($domain) > 0) {
|
1038 |
$firstchar = strtolower($domain[0]);
|
1039 |
+
} else {
|
1040 |
$firstchar = "x";
|
1041 |
}
|
1042 |
+
if (!preg_match("/^[a-z]$/i", $firstchar)) {
|
1043 |
$firstchar = 'x';
|
1044 |
}
|
1045 |
+
$number = ord($firstchar) - 96;
|
1046 |
+
$time = DateTime::createFromFormat('Y-m-d H:i:s', date('Y-m-d ' . $number . ':00:00'));
|
1047 |
// sfsi_plus_write_log(wp_next_scheduled( 'sfsi_plus_sf_instagram_count_fetcher' ));
|
1048 |
if (!wp_next_scheduled('sfsi_plus_sf_instagram_count_fetcher')) {
|
1049 |
wp_schedule_event($time, 'daily', 'sfsi_plus_sf_instagram_count_fetcher');
|
1417 |
* Notices handler
|
1418 |
* @since 1.4.8
|
1419 |
*/
|
1420 |
+
|
1421 |
// Styles & scripts
|
1422 |
add_action('admin_enqueue_scripts', function () {
|
1423 |
|
1772 |
array('dir_slug' => 'wp-smushit/wp-smush.php', 'option_name' => 'smush'),
|
1773 |
array('dir_slug' => 'varnish-http-purge/varnish-http-purge.php', 'option_name' => 'varnish-page'),
|
1774 |
array('dir_slug' => 'varnish-http-purge/varnish-http-purge.php', 'option_name' => 'varnish-check-caching'),
|
1775 |
+
|
1776 |
);
|
1777 |
$gdpr_plugins = array(
|
1778 |
array('dir_slug' => 'cookie-law-info/cookie-law-info.php', 'option_name' => 'cookie-law-info'),
|
1812 |
array('dir_slug' => 'beautiful-and-responsive-cookie-consent/nsc_bar-cookie-consent.php', 'option_name' => 'nsc_bar-cookie-consent'),
|
1813 |
array('dir_slug' => 'simple-gdpr/simple-gdpr.php', 'option_name' => 'SGDPR_settings'),
|
1814 |
array('dir_slug' => 'wonderpush-web-push-notifications/wonderpush.php', 'option_name' => 'wonderpush'),
|
1815 |
+
array('dir_slug' => 'ns-gdpr/ns-gdpr.php', 'option_name' => 'ns-gdpr'),
|
1816 |
);
|
1817 |
$google_analytics = array(
|
1818 |
array('dir_slug' => 'really-simple-ssl/rlrsssl-really-simple-ssl.php', 'option_name' => 'rlrsssl_really_simple_ssl'),
|
1830 |
$socialObj = new sfsi_plus_SocialHelper();
|
1831 |
$current_url = site_url();
|
1832 |
$fb_data = $socialObj->sfsi_banner_get_fb($current_url);
|
1833 |
+
$check_fb_count_more_than_one = $fb_data > 0 || $socialObj->sfsi_get_pinterest($current_url) > 0;
|
1834 |
+
$sfsi_fb_count = get_option('sfsi_plus_fb_count', false);
|
1835 |
+
if ($check_fb_count_more_than_one > $sfsi_fb_count || $sfsi_fb_count == "") {
|
1836 |
+
update_option('sfsi_plus_fb_count', ($check_fb_count_more_than_one));
|
1837 |
+
}
|
1838 |
+
$sfsi_fb_count_check_for_shares = $sfsi_fb_count > 0;
|
1839 |
+
|
1840 |
// $sfsi_plus_banner_global_firsttime_offer = unserialize(get_option('sfsi_plus_banner_global_firsttime_offer', false));
|
1841 |
$sfsi_plus_banner_global_pinterest = unserialize(get_option('sfsi_plus_banner_global_pinterest', false));
|
1842 |
$sfsi_plus_banner_global_social = unserialize(get_option('sfsi_plus_banner_global_social', false));
|
2010 |
}
|
2011 |
}
|
2012 |
}
|
2013 |
+
|
2014 |
wp_redirect(admin_url('admin.php?page=sfsi-plus-options'));
|
2015 |
exit;
|
2016 |
// return false;
|
2104 |
}
|
2105 |
$check_gallery_plugin_active_is_true = in_array(true, $sfsi_plus_gallery_plugin_active);
|
2106 |
return $check_gallery_plugin_active_is_true;
|
2107 |
+
}
|
2108 |
+
$option5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
2109 |
+
if (isset($option5['sfsi_plus_featured_image_rss']) && $option5['sfsi_plus_featured_image_rss'] == 'yes') {
|
2110 |
+
// add_filter('the_excerpt_rss', 'sfsi_premium_featured_image_in_feed');
|
2111 |
+
add_filter('the_content_feed', 'sfsi_premium_featured_image_in_feed');
|
2112 |
+
function sfsi_premium_featured_image_in_feed($content)
|
2113 |
+
{
|
2114 |
+
global $post;
|
2115 |
+
if (is_feed()) {
|
2116 |
+
if (has_post_thumbnail($post->ID)) {
|
2117 |
+
$figure_start = '<figure class="wp-block-image size-large">';
|
2118 |
+
$feat_image_output = get_the_post_thumbnail($post->ID, 'thumbnail');
|
2119 |
+
$figure_end = '</figure>';
|
2120 |
+
$content = $figure_start . $feat_image_output . $figure_end. $content;
|
2121 |
+
}
|
2122 |
+
}
|
2123 |
+
return $content;
|
2124 |
+
}
|
2125 |
+
}
|
views/sfsi_global_banners.php
CHANGED
@@ -12,6 +12,8 @@ if (!is_plugin_active('Ultimate-Premium-Plugin/usm_premium_icons.php') && !is_pl
|
|
12 |
$sfsi_plus_banner_global_gdpr = unserialize(get_option('sfsi_plus_banner_global_gdpr', false));
|
13 |
$sfsi_plus_banner_global_http = unserialize(get_option('sfsi_plus_banner_global_http', false));
|
14 |
$sfsi_plus_banner_global_upgrade = unserialize(get_option('sfsi_plus_banner_global_upgrade', false));
|
|
|
|
|
15 |
|
16 |
// var_dump(
|
17 |
// $sfsi_plus_banner_global_firsttime_offer,
|
@@ -26,18 +28,58 @@ if (!is_plugin_active('Ultimate-Premium-Plugin/usm_premium_icons.php') && !is_pl
|
|
26 |
|
27 |
$sfsi_plus_install_time = strtotime(get_option('sfsi_plus_installDate'));
|
28 |
$sfsi_plus_max_show_time = $sfsi_plus_install_time + (120 * 60);
|
|
|
29 |
$sfsi_plus_current_time = (date('Y-m-d h:i:s'));
|
30 |
|
31 |
$sfsi_plus_loyalty = get_option("sfsi_plus_loyaltyDate");
|
32 |
|
33 |
$sfsi_plus_min_loyalty_time = date('Y-m-d H:i:s', strtotime($sfsi_plus_loyalty . get_option('sfsi_plus_installDate')));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
<!---------------New installs discount--------------->
|
42 |
<div id="sfsi_firsttime_offer" class="sfsi_new_prmium_follw sfsi_banner_body">
|
43 |
<div>
|
@@ -76,10 +118,10 @@ if (!is_plugin_active('Ultimate-Premium-Plugin/usm_premium_icons.php') && !is_pl
|
|
76 |
}
|
77 |
}, 60 * 1000);
|
78 |
</script>
|
79 |
-
<!---------------End New installs discount--------------->
|
80 |
<?php endif;
|
81 |
}
|
82 |
?>
|
|
|
83 |
|
84 |
<!--------------- Show Pinterest on mouse-over--------------->
|
85 |
<?php
|
12 |
$sfsi_plus_banner_global_gdpr = unserialize(get_option('sfsi_plus_banner_global_gdpr', false));
|
13 |
$sfsi_plus_banner_global_http = unserialize(get_option('sfsi_plus_banner_global_http', false));
|
14 |
$sfsi_plus_banner_global_upgrade = unserialize(get_option('sfsi_plus_banner_global_upgrade', false));
|
15 |
+
$sfsi_plus_dismiss_copy_delete_post = unserialize(get_option('sfsi_plus_dismiss_copy_delete_post', false));
|
16 |
+
$sfsi_plus_current_date_demo = (get_option('sfsi_plus_current_date_demo', false));
|
17 |
|
18 |
// var_dump(
|
19 |
// $sfsi_plus_banner_global_firsttime_offer,
|
28 |
|
29 |
$sfsi_plus_install_time = strtotime(get_option('sfsi_plus_installDate'));
|
30 |
$sfsi_plus_max_show_time = $sfsi_plus_install_time + (120 * 60);
|
31 |
+
$sfsi_plus_install_day_plus_three_days = $sfsi_plus_install_time + (4320 * 60);
|
32 |
$sfsi_plus_current_time = (date('Y-m-d h:i:s'));
|
33 |
|
34 |
$sfsi_plus_loyalty = get_option("sfsi_plus_loyaltyDate");
|
35 |
|
36 |
$sfsi_plus_min_loyalty_time = date('Y-m-d H:i:s', strtotime($sfsi_plus_loyalty . get_option('sfsi_plus_installDate')));
|
37 |
+
if (!is_plugin_active('copy-delete-posts/copy-delete-posts.php') && strtotime($sfsi_plus_current_date_demo) >= $sfsi_plus_install_day_plus_three_days && isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options" && $sfsi_plus_dismiss_copy_delete_post['show_banner'] == "yes" || false == $sfsi_plus_dismiss_copy_delete_post) {
|
38 |
+
?>
|
39 |
+
<div id="wpse1_6817_complete">
|
40 |
+
<div id="wpse1_6817" data-url="<?php echo get_site_url(); ?>">
|
41 |
+
<div id="wpse1_6817_container">
|
42 |
+
<div>
|
43 |
+
<div id="wpse1_6817_img">
|
44 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/wpse1_6817_cdp.png' ?>" alt="">
|
45 |
+
</div>
|
46 |
+
<div id="wpse1_6817_text">
|
47 |
+
We recently launched <b>Copy & Delete Posts</b>, the best plugin to make<br />
|
48 |
+
(bulk) copies of your posts & pages and delete them again.
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
<div id="wpse1_6817_btns">
|
52 |
+
<div id="wpse1_6817_install">
|
53 |
+
<button type="button" id="wpse1_6817_install_btn" name="button"></button>
|
54 |
+
</div>
|
55 |
+
<div id="wpse1_6817_other">
|
56 |
+
<div id="wpse1_6817_show">
|
57 |
+
<a href="https://bit.ly/34bgWdr" target="_blank">Learn more</a>
|
58 |
+
</div>
|
59 |
+
<div id="wpse1_6817_dismiss">
|
60 |
+
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
61 |
+
|
62 |
+
<input type="hidden" name="sfsi-plus-dismiss-copy-delete-post" value="true">
|
63 |
+
|
64 |
+
<input type="submit" id="wpse1_6817_btn" name="dismiss" value="Dismiss" />
|
65 |
+
|
66 |
+
</form>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
<?php
|
75 |
+
}
|
76 |
|
77 |
|
78 |
+
if (
|
79 |
+
$sfsi_plus_banner_global_firsttime_offer['is_active'] == "yes"
|
80 |
+
) {
|
81 |
+
if ($sfsi_plus_max_show_time >= strtotime(date('Y-m-d h:i:s')) && (!sfsi_plus_check_not_show_other_plugin_settings_page($gallery_plugins, $optimization_plugins, $sharecount_plugins, $google_analytics, $gdpr_plugins))) :
|
82 |
+
?>
|
83 |
<!---------------New installs discount--------------->
|
84 |
<div id="sfsi_firsttime_offer" class="sfsi_new_prmium_follw sfsi_banner_body">
|
85 |
<div>
|
118 |
}
|
119 |
}, 60 * 1000);
|
120 |
</script>
|
|
|
121 |
<?php endif;
|
122 |
}
|
123 |
?>
|
124 |
+
<!---------------End New installs discount--------------->
|
125 |
|
126 |
<!--------------- Show Pinterest on mouse-over--------------->
|
127 |
<?php
|
views/sfsi_option_view1.php
CHANGED
@@ -36,6 +36,9 @@ $option1['sfsi_plus_houzz_display'] = (isset($option1['sfsi_plus_houzz_displ
|
|
36 |
$option1['sfsi_plus_premium_icons_box'] = (isset($option1['sfsi_plus_premium_icons_box']))
|
37 |
? sanitize_text_field($option1['sfsi_plus_premium_icons_box'])
|
38 |
: 'yes';
|
|
|
|
|
|
|
39 |
// var_dump(get_option('sfsi_plus_custom_icons'));
|
40 |
//MZ CODE START
|
41 |
$option1['sfsi_plus_ok_display'] = (isset($option1['sfsi_plus_ok_display'])) ? sanitize_text_field($option1['sfsi_plus_ok_display']) : 'no';
|
@@ -350,7 +353,7 @@ $option1['sfsi_plus_weibo_display'] = (isset($option1['sfsi_plus_weibo_display']
|
|
350 |
<!-- END WeChat ICON -->
|
351 |
|
352 |
<!-- WhatsApp ICON -->
|
353 |
-
|
354 |
<div>
|
355 |
<div class="radio_section tb_4_ck">
|
356 |
<input name="sfsi_plus_whatsapp_display" <?php echo (isset($option1['sfsi_plus_whatsapp_display']) && $option1['sfsi_plus_whatsapp_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_whatsapp_display" type="checkbox" value="yes" class="styled" />
|
@@ -360,10 +363,10 @@ $option1['sfsi_plus_weibo_display'] = (isset($option1['sfsi_plus_weibo_display']
|
|
360 |
<div class="sfsiplus_right_info">
|
361 |
<p>
|
362 |
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
363 |
-
<?php _e('Show this icon if you
|
364 |
</p>
|
365 |
</div>
|
366 |
-
</li>
|
367 |
<!-- END WhatsApp ICON -->
|
368 |
|
369 |
<!-- Weibo ICON -->
|
36 |
$option1['sfsi_plus_premium_icons_box'] = (isset($option1['sfsi_plus_premium_icons_box']))
|
37 |
? sanitize_text_field($option1['sfsi_plus_premium_icons_box'])
|
38 |
: 'yes';
|
39 |
+
$option1['sfsi_plus_whatsapp_display'] = (isset($option1['sfsi_plus_whatsapp_display']))
|
40 |
+
? sanitize_text_field($option1['sfsi_plus_whatsapp_display'])
|
41 |
+
: '';
|
42 |
// var_dump(get_option('sfsi_plus_custom_icons'));
|
43 |
//MZ CODE START
|
44 |
$option1['sfsi_plus_ok_display'] = (isset($option1['sfsi_plus_ok_display'])) ? sanitize_text_field($option1['sfsi_plus_ok_display']) : 'no';
|
353 |
<!-- END WeChat ICON -->
|
354 |
|
355 |
<!-- WhatsApp ICON -->
|
356 |
+
<li class="vertical-align">
|
357 |
<div>
|
358 |
<div class="radio_section tb_4_ck">
|
359 |
<input name="sfsi_plus_whatsapp_display" <?php echo (isset($option1['sfsi_plus_whatsapp_display']) && $option1['sfsi_plus_whatsapp_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_whatsapp_display" type="checkbox" value="yes" class="styled" />
|
363 |
<div class="sfsiplus_right_info">
|
364 |
<p>
|
365 |
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
366 |
+
<?php _e('Show this icon if you want to allow users to share the page via WhatsApp.', SFSI_PLUS_DOMAIN); ?>
|
367 |
</p>
|
368 |
</div>
|
369 |
+
</li>
|
370 |
<!-- END WhatsApp ICON -->
|
371 |
|
372 |
<!-- Weibo ICON -->
|
views/sfsi_option_view2.php
CHANGED
@@ -755,6 +755,32 @@
|
|
755 |
</div>
|
756 |
<!-- VK ICON -->
|
757 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
758 |
<!-- Weibo ICON -->
|
759 |
<div class="row sfsiplus_weibo_section">
|
760 |
|
755 |
</div>
|
756 |
<!-- VK ICON -->
|
757 |
|
758 |
+
<!-- Whatsapp ICON -->
|
759 |
+
|
760 |
+
<div class="row sfsiplus_whatsapp_section" style="display: <?php echo isset($option1["sfsi_plus_whatsapp_display"])&&$option1["sfsi_plus_whatsapp_display"]=="yes"?'block':'none'; ?>">
|
761 |
+
|
762 |
+
<h2 class="sfsicls_whatsapp">
|
763 |
+
<?php _e('WhatsApp', SFSI_PLUS_DOMAIN ); ?>
|
764 |
+
</h2>
|
765 |
+
|
766 |
+
<div class="inr_cont">
|
767 |
+
<p class="sfsiLabel infoLabel">
|
768 |
+
<?php _e( 'When clicked on, your website/blog will be shared on WhatsApp.', SFSI_PLUS_DOMAIN ); ?>
|
769 |
+
</p>
|
770 |
+
<div class= "sfsi_plus_new_prmium_follw">
|
771 |
+
<p>
|
772 |
+
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b>
|
773 |
+
<?php _e( "In our Premium Plugin you can define what text will get shared, and also give the icon the feature to send you a WhatsApp message. ", SFSI_PLUS_DOMAIN ); ?><a style="cursor:pointer" class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" class="sfisi_plus_font_bold" target="_blank"><?php _e( 'Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=whatsapp_sharing&utm_medium=banner" class="sfsi_plus_font_inherit" target="_blank"><?php _e( ' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
774 |
+
</p>
|
775 |
+
</div>
|
776 |
+
</div>
|
777 |
+
|
778 |
+
|
779 |
+
|
780 |
+
|
781 |
+
</div>
|
782 |
+
<!-- Whatsapp ICON -->
|
783 |
+
|
784 |
<!-- Weibo ICON -->
|
785 |
<div class="row sfsiplus_weibo_section">
|
786 |
|
views/sfsi_option_view3.php
CHANGED
@@ -62,7 +62,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
62 |
<?php _e('Default', SFSI_PLUS_DOMAIN); ?>
|
63 |
</label>
|
64 |
<div class="sfsiplus_icns_tab_3">
|
65 |
-
<span class="sfsiplus_row_1_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_1_2 sfsiplus_email_section"></span><span class="sfsiplus_row_1_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_1_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_1_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_1_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_1_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_1_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_1_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_1_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_1_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_1_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_1_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_1_25 sfsiplus_weibo_section"></span>
|
66 |
<!--<span class="sfsiplus_row_1_11 sf_section"></span>-->
|
67 |
</div>
|
68 |
</li>
|
@@ -71,12 +71,14 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
71 |
</li>
|
72 |
|
73 |
<li class="sfsi_webtheme" style='display:none'>
|
|
|
74 |
<span class="radio" style="opacity: 0.5;"></span>
|
75 |
<label class="sfsi_premium_ad_lable" style="text-transform: capitalize;">Default</label>
|
76 |
<div class="icns_tab_3 sfsi_premium_ad"><span class="premium_col_1 rss_section"></span><span class="premium_col_2 email_section"></span><span class="premium_col_3 facebook_section"></span><span class="premium_col_4 twitter_section"></span>
|
77 |
<div class="sfis_premium_ad_name">(Premium)</div>
|
78 |
<!--<span class="row_1_11 sf_section"></span>-->
|
79 |
</div>
|
|
|
80 |
</li>
|
81 |
|
82 |
<li>
|
@@ -84,7 +86,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
84 |
<label>
|
85 |
<?php _e('Flat', SFSI_PLUS_DOMAIN); ?>
|
86 |
</label>
|
87 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_2_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_2_2 sfsiplus_email_section"></span><span class="sfsiplus_row_2_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_2_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_2_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_2_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_2_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_2_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_2_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_2_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_2_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_2_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_2_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_2_25 sfsiplus_weibo_section"></span>
|
88 |
<!--<span class="sfsiplus_row_2_11 sf_section"></span>-->
|
89 |
</div>
|
90 |
</li>
|
@@ -94,7 +96,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
94 |
<label>
|
95 |
<?php _e('Thin', SFSI_PLUS_DOMAIN); ?>
|
96 |
</label>
|
97 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_3_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_3_2 sfsiplus_email_section"></span><span class="sfsiplus_row_3_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_3_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_3_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_3_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_3_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_3_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_3_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_3_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_3_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_3_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_3_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_3_25 sfsiplus_weibo_section"></span>
|
98 |
<!--<span class="sfsiplus_row_3_11 sf_section"></span>-->
|
99 |
</div>
|
100 |
</li>
|
@@ -104,7 +106,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
104 |
<label>
|
105 |
<?php _e('Cute', SFSI_PLUS_DOMAIN); ?>
|
106 |
</label>
|
107 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_4_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_4_2 sfsiplus_email_section"></span><span class="sfsiplus_row_4_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_4_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_4_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_4_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_4_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_4_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_4_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_4_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_4_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_4_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_4_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_4_25 sfsiplus_weibo_section"></span>
|
108 |
<!--<span class="sfsiplus_row_4_11 sf_section"></span>-->
|
109 |
</div>
|
110 |
</li>
|
@@ -115,7 +117,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
115 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'cubes') ? 'checked="true"' : ''; ?> type="radio" value="cubes" class="styled" />
|
116 |
<label><?php _e('Cubes', SFSI_PLUS_DOMAIN); ?></label>
|
117 |
|
118 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_5_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_5_2 sfsiplus_email_section"></span><span class="sfsiplus_row_5_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_5_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_5_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_5_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_5_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_5_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_5_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_5_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_5_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_5_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_5_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_5_25 sfsiplus_weibo_section"></span>
|
119 |
<!--<span class="sfsiplus_row_5_11 sf_section"></span>-->
|
120 |
</div>
|
121 |
</li>
|
@@ -123,7 +125,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
123 |
<li>
|
124 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'chrome_blue') ? 'checked="true"' : ''; ?> type="radio" value="chrome_blue" class="styled" />
|
125 |
<label><?php _e('Chrome Blue', SFSI_PLUS_DOMAIN); ?></label>
|
126 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_6_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_6_2 sfsiplus_email_section"></span><span class="sfsiplus_row_6_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_6_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_6_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_6_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_6_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_6_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_6_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_6_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_6_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_6_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_6_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_6_25 sfsiplus_weibo_section"></span>
|
127 |
<!--<span class="sfsiplus_row_6_11 sf_section"></span>-->
|
128 |
</div>
|
129 |
</li>
|
@@ -131,7 +133,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
131 |
<li>
|
132 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'chrome_grey') ? 'checked="true"' : ''; ?> type="radio" value="chrome_grey" class="styled" />
|
133 |
<label><?php _e('Chrome Grey', SFSI_PLUS_DOMAIN); ?></label>
|
134 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_7_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_7_2 sfsiplus_email_section"></span><span class="sfsiplus_row_7_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_7_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_7_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_7_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_7_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_7_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_7_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_7_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_7_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_7_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_7_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_7_25 sfsiplus_weibo_section"></span>
|
135 |
<!--<span class="sfsiplus_row_7_11 sf_section"></span>-->
|
136 |
</div>
|
137 |
</li>
|
@@ -139,7 +141,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
139 |
<li>
|
140 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'splash') ? 'checked="true"' : ''; ?> type="radio" value="splash" class="styled" />
|
141 |
<label><?php _e('Splash', SFSI_PLUS_DOMAIN); ?></label>
|
142 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_8_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_8_2 sfsiplus_email_section"></span><span class="sfsiplus_row_8_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_8_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_8_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_8_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_8_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_8_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_8_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_8_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_8_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_8_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_8_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_8_25 sfsiplus_weibo_section"></span>
|
143 |
<!--<span class="sfsiplus_row_8_11 sf_section"></span>-->
|
144 |
</div>
|
145 |
</li>
|
@@ -151,7 +153,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
151 |
<li>
|
152 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'orange') ? 'checked="true"' : ''; ?> type="radio" value="orange" class="styled" />
|
153 |
<label><?php _e('Orange', SFSI_PLUS_DOMAIN); ?></label>
|
154 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_9_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_9_2 sfsiplus_email_section"></span><span class="sfsiplus_row_9_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_9_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_9_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_9_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_9_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_9_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_9_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_9_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_9_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_9_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_9_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_9_25 sfsiplus_weibo_section"></span>
|
155 |
<!--<span class="sfsiplus_row_9_11 sf_section"></span>-->
|
156 |
</div>
|
157 |
</li>
|
@@ -159,7 +161,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
159 |
<li>
|
160 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'crystal') ? 'checked="true"' : ''; ?> type="radio" value="crystal" class="styled" />
|
161 |
<label><?php _e('Crystal', SFSI_PLUS_DOMAIN); ?></label>
|
162 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_10_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_10_2 sfsiplus_email_section"></span><span class="sfsiplus_row_10_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_10_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_10_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_10_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_10_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_10_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_10_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_10_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_10_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_10_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_10_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_10_25 sfsiplus_weibo_section"></span>
|
163 |
<!--<span class="sfsiplus_row_10_11 sf_section"></span>-->
|
164 |
</div>
|
165 |
</li>
|
@@ -167,7 +169,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
167 |
<li>
|
168 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'glossy') ? 'checked="true"' : ''; ?> type="radio" value="glossy" class="styled" />
|
169 |
<label><?php _e('Glossy', SFSI_PLUS_DOMAIN); ?></label>
|
170 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_11_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_11_2 sfsiplus_email_section"></span><span class="sfsiplus_row_11_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_11_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_11_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_11_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_11_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_11_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_11_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_11_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_11_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_11_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_11_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_11_25 sfsiplus_weibo_section"></span>
|
171 |
<!--<span class="sfsiplus_row_11_11 sf_section"></span>-->
|
172 |
</div>
|
173 |
</li>
|
@@ -175,7 +177,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
175 |
<li>
|
176 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'black') ? 'checked="true"' : ''; ?> type="radio" value="black" class="styled" />
|
177 |
<label><?php _e('Black', SFSI_PLUS_DOMAIN); ?></label>
|
178 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_12_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_12_2 sfsiplus_email_section"></span><span class="sfsiplus_row_12_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_12_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_12_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_12_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_12_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_12_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_12_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_12_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_12_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_12_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_12_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_12_25 sfsiplus_weibo_section"></span>
|
179 |
<!--<span class="sfsiplus_row_12_11 sf_section"></span>-->
|
180 |
</div>
|
181 |
</li>
|
@@ -186,7 +188,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
186 |
<li>
|
187 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'silver') ? 'checked="true"' : ''; ?> type="radio" value="silver" class="styled" />
|
188 |
<label><?php _e('Silver', SFSI_PLUS_DOMAIN); ?></label>
|
189 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_13_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_13_2 sfsiplus_email_section"></span><span class="sfsiplus_row_13_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_13_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_13_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_13_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_13_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_13_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_13_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_13_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_13_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_13_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_13_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_13_25 sfsiplus_weibo_section"></span>
|
190 |
<!--<span class="sfsiplus_row_13_11 sf_section"></span>-->
|
191 |
</div>
|
192 |
</li>
|
@@ -194,7 +196,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
194 |
<li>
|
195 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'shaded_dark') ? 'checked="true"' : ''; ?> type="radio" value="shaded_dark" class="styled" />
|
196 |
<label><?php _e('Shaded Dark', SFSI_PLUS_DOMAIN); ?></label>
|
197 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_14_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_14_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_14_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_14_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_14_25 sfsiplus_weibo_section"></span>
|
198 |
<!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
|
199 |
</div>
|
200 |
</li>
|
@@ -202,7 +204,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
202 |
<li>
|
203 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'shaded_light') ? 'checked="true"' : ''; ?> type="radio" value="shaded_light" class="styled" />
|
204 |
<label><?php _e('Shaded Light', SFSI_PLUS_DOMAIN); ?></label>
|
205 |
-
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_15_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_15_2 sfsiplus_email_section"></span><span class="sfsiplus_row_15_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_15_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_15_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_15_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_15_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_15_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_15_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_15_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_15_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_15_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_15_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_15_25 sfsiplus_weibo_section"></span>
|
206 |
<!--<span class="sfsiplus_row_15_11 sf_section"></span>-->
|
207 |
</div>
|
208 |
</li>
|
@@ -213,7 +215,7 @@ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icon
|
|
213 |
<?php _e('Transparent', SFSI_PLUS_DOMAIN); ?> <br />
|
214 |
<span style="font-size: 9px;">(<?php _e('for dark backgrounds', SFSI_PLUS_DOMAIN) ?>)</span>
|
215 |
</label>
|
216 |
-
<div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_16_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_16_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_16_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_16_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_16_25 sfsiplus_weibo_section"></span>
|
217 |
<!--<span class="sfsiplus_row_16_11 sf_section"></span>-->
|
218 |
</div>
|
219 |
</li>
|
62 |
<?php _e('Default', SFSI_PLUS_DOMAIN); ?>
|
63 |
</label>
|
64 |
<div class="sfsiplus_icns_tab_3">
|
65 |
+
<span class="sfsiplus_row_1_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_1_2 sfsiplus_email_section"></span><span class="sfsiplus_row_1_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_1_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_1_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_1_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_1_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_1_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_1_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_1_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_1_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_1_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_1_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_1_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_1_27 sfsiplus_whatsapp_section"></span>
|
66 |
<!--<span class="sfsiplus_row_1_11 sf_section"></span>-->
|
67 |
</div>
|
68 |
</li>
|
71 |
</li>
|
72 |
|
73 |
<li class="sfsi_webtheme" style='display:none'>
|
74 |
+
<a href="#" target="_blank">
|
75 |
<span class="radio" style="opacity: 0.5;"></span>
|
76 |
<label class="sfsi_premium_ad_lable" style="text-transform: capitalize;">Default</label>
|
77 |
<div class="icns_tab_3 sfsi_premium_ad"><span class="premium_col_1 rss_section"></span><span class="premium_col_2 email_section"></span><span class="premium_col_3 facebook_section"></span><span class="premium_col_4 twitter_section"></span>
|
78 |
<div class="sfis_premium_ad_name">(Premium)</div>
|
79 |
<!--<span class="row_1_11 sf_section"></span>-->
|
80 |
</div>
|
81 |
+
</a>
|
82 |
</li>
|
83 |
|
84 |
<li>
|
86 |
<label>
|
87 |
<?php _e('Flat', SFSI_PLUS_DOMAIN); ?>
|
88 |
</label>
|
89 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_2_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_2_2 sfsiplus_email_section"></span><span class="sfsiplus_row_2_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_2_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_2_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_2_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_2_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_2_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_2_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_2_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_2_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_2_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_2_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_2_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_2_27 sfsiplus_whatsapp_section"></span>
|
90 |
<!--<span class="sfsiplus_row_2_11 sf_section"></span>-->
|
91 |
</div>
|
92 |
</li>
|
96 |
<label>
|
97 |
<?php _e('Thin', SFSI_PLUS_DOMAIN); ?>
|
98 |
</label>
|
99 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_3_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_3_2 sfsiplus_email_section"></span><span class="sfsiplus_row_3_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_3_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_3_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_3_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_3_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_3_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_3_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_3_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_3_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_3_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_3_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_3_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_3_27 sfsiplus_whatsapp_section"></span>
|
100 |
<!--<span class="sfsiplus_row_3_11 sf_section"></span>-->
|
101 |
</div>
|
102 |
</li>
|
106 |
<label>
|
107 |
<?php _e('Cute', SFSI_PLUS_DOMAIN); ?>
|
108 |
</label>
|
109 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_4_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_4_2 sfsiplus_email_section"></span><span class="sfsiplus_row_4_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_4_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_4_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_4_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_4_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_4_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_4_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_4_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_4_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_4_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_4_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_4_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_4_27 sfsiplus_whatsapp_section"></span>
|
110 |
<!--<span class="sfsiplus_row_4_11 sf_section"></span>-->
|
111 |
</div>
|
112 |
</li>
|
117 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'cubes') ? 'checked="true"' : ''; ?> type="radio" value="cubes" class="styled" />
|
118 |
<label><?php _e('Cubes', SFSI_PLUS_DOMAIN); ?></label>
|
119 |
|
120 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_5_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_5_2 sfsiplus_email_section"></span><span class="sfsiplus_row_5_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_5_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_5_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_5_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_5_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_5_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_5_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_5_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_5_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_5_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_5_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_5_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_5_27 sfsiplus_whatsapp_section"></span>
|
121 |
<!--<span class="sfsiplus_row_5_11 sf_section"></span>-->
|
122 |
</div>
|
123 |
</li>
|
125 |
<li>
|
126 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'chrome_blue') ? 'checked="true"' : ''; ?> type="radio" value="chrome_blue" class="styled" />
|
127 |
<label><?php _e('Chrome Blue', SFSI_PLUS_DOMAIN); ?></label>
|
128 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_6_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_6_2 sfsiplus_email_section"></span><span class="sfsiplus_row_6_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_6_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_6_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_6_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_6_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_6_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_6_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_6_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_6_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_6_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_6_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_6_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_6_27 sfsiplus_whatsapp_section"></span>
|
129 |
<!--<span class="sfsiplus_row_6_11 sf_section"></span>-->
|
130 |
</div>
|
131 |
</li>
|
133 |
<li>
|
134 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'chrome_grey') ? 'checked="true"' : ''; ?> type="radio" value="chrome_grey" class="styled" />
|
135 |
<label><?php _e('Chrome Grey', SFSI_PLUS_DOMAIN); ?></label>
|
136 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_7_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_7_2 sfsiplus_email_section"></span><span class="sfsiplus_row_7_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_7_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_7_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_7_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_7_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_7_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_7_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_7_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_7_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_7_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_7_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_7_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_7_27 sfsiplus_whatsapp_section"></span>
|
137 |
<!--<span class="sfsiplus_row_7_11 sf_section"></span>-->
|
138 |
</div>
|
139 |
</li>
|
141 |
<li>
|
142 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'splash') ? 'checked="true"' : ''; ?> type="radio" value="splash" class="styled" />
|
143 |
<label><?php _e('Splash', SFSI_PLUS_DOMAIN); ?></label>
|
144 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_8_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_8_2 sfsiplus_email_section"></span><span class="sfsiplus_row_8_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_8_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_8_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_8_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_8_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_8_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_8_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_8_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_8_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_8_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_8_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_8_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_8_27 sfsiplus_whatsapp_section"></span>
|
145 |
<!--<span class="sfsiplus_row_8_11 sf_section"></span>-->
|
146 |
</div>
|
147 |
</li>
|
153 |
<li>
|
154 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'orange') ? 'checked="true"' : ''; ?> type="radio" value="orange" class="styled" />
|
155 |
<label><?php _e('Orange', SFSI_PLUS_DOMAIN); ?></label>
|
156 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_9_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_9_2 sfsiplus_email_section"></span><span class="sfsiplus_row_9_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_9_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_9_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_9_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_9_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_9_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_9_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_9_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_9_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_9_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_9_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_9_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_9_27 sfsiplus_whatsapp_section"></span>
|
157 |
<!--<span class="sfsiplus_row_9_11 sf_section"></span>-->
|
158 |
</div>
|
159 |
</li>
|
161 |
<li>
|
162 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'crystal') ? 'checked="true"' : ''; ?> type="radio" value="crystal" class="styled" />
|
163 |
<label><?php _e('Crystal', SFSI_PLUS_DOMAIN); ?></label>
|
164 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_10_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_10_2 sfsiplus_email_section"></span><span class="sfsiplus_row_10_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_10_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_10_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_10_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_10_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_10_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_10_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_10_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_10_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_10_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_10_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_10_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_10_27 sfsiplus_whatsapp_section"></span>
|
165 |
<!--<span class="sfsiplus_row_10_11 sf_section"></span>-->
|
166 |
</div>
|
167 |
</li>
|
169 |
<li>
|
170 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'glossy') ? 'checked="true"' : ''; ?> type="radio" value="glossy" class="styled" />
|
171 |
<label><?php _e('Glossy', SFSI_PLUS_DOMAIN); ?></label>
|
172 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_11_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_11_2 sfsiplus_email_section"></span><span class="sfsiplus_row_11_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_11_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_11_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_11_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_11_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_11_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_11_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_11_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_11_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_11_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_11_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_11_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_11_27 sfsiplus_whatsapp_section"></span>
|
173 |
<!--<span class="sfsiplus_row_11_11 sf_section"></span>-->
|
174 |
</div>
|
175 |
</li>
|
177 |
<li>
|
178 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'black') ? 'checked="true"' : ''; ?> type="radio" value="black" class="styled" />
|
179 |
<label><?php _e('Black', SFSI_PLUS_DOMAIN); ?></label>
|
180 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_12_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_12_2 sfsiplus_email_section"></span><span class="sfsiplus_row_12_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_12_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_12_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_12_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_12_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_12_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_12_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_12_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_12_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_12_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_12_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_12_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_12_27 sfsiplus_whatsapp_section"></span>
|
181 |
<!--<span class="sfsiplus_row_12_11 sf_section"></span>-->
|
182 |
</div>
|
183 |
</li>
|
188 |
<li>
|
189 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'silver') ? 'checked="true"' : ''; ?> type="radio" value="silver" class="styled" />
|
190 |
<label><?php _e('Silver', SFSI_PLUS_DOMAIN); ?></label>
|
191 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_13_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_13_2 sfsiplus_email_section"></span><span class="sfsiplus_row_13_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_13_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_13_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_13_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_13_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_13_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_13_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_13_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_13_23 sfsiplus_vk_section"></span><span class="sfsiplus_row_13_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_13_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_13_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_13_27 sfsiplus_whatsapp_section"></span>
|
192 |
<!--<span class="sfsiplus_row_13_11 sf_section"></span>-->
|
193 |
</div>
|
194 |
</li>
|
196 |
<li>
|
197 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'shaded_dark') ? 'checked="true"' : ''; ?> type="radio" value="shaded_dark" class="styled" />
|
198 |
<label><?php _e('Shaded Dark', SFSI_PLUS_DOMAIN); ?></label>
|
199 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_14_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_14_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_14_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_14_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_14_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_14_27 sfsiplus_whatsapp_section"></span>
|
200 |
<!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
|
201 |
</div>
|
202 |
</li>
|
204 |
<li>
|
205 |
<input name="sfsi_plus_actvite_theme" <?php echo ($option3['sfsi_plus_actvite_theme'] == 'shaded_light') ? 'checked="true"' : ''; ?> type="radio" value="shaded_light" class="styled" />
|
206 |
<label><?php _e('Shaded Light', SFSI_PLUS_DOMAIN); ?></label>
|
207 |
+
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_15_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_15_2 sfsiplus_email_section"></span><span class="sfsiplus_row_15_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_15_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_15_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_15_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_15_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_15_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_15_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_15_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_15_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_15_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_15_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_15_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_15_27 sfsiplus_whatsapp_section"></span>
|
208 |
<!--<span class="sfsiplus_row_15_11 sf_section"></span>-->
|
209 |
</div>
|
210 |
</li>
|
215 |
<?php _e('Transparent', SFSI_PLUS_DOMAIN); ?> <br />
|
216 |
<span style="font-size: 9px;">(<?php _e('for dark backgrounds', SFSI_PLUS_DOMAIN) ?>)</span>
|
217 |
</label>
|
218 |
+
<div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_16_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_16_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_16_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_16_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_16_25 sfsiplus_weibo_section"></span><span class="sfsiplus_row_16_27 sfsiplus_whatsapp_section"></span>
|
219 |
<!--<span class="sfsiplus_row_16_11 sf_section"></span>-->
|
220 |
</div>
|
221 |
</li>
|
views/sfsi_option_view4.php
CHANGED
@@ -159,6 +159,12 @@
|
|
159 |
$option4['sfsi_plus_responsive_share_count'] = (isset($option4['sfsi_plus_responsive_share_count']))
|
160 |
? sanitize_text_field($option4['sfsi_plus_responsive_share_count'])
|
161 |
: '';
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
$counts = sfsi_plus_getCounts();
|
163 |
/* fetch counts for admin sections */
|
164 |
|
@@ -261,6 +267,11 @@
|
|
261 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/wechat.png" alt="Weibo" width="50px" height="50px" />
|
262 |
</a><span>12k</span>
|
263 |
</li>
|
|
|
|
|
|
|
|
|
|
|
264 |
|
265 |
|
266 |
|
@@ -871,7 +882,36 @@
|
|
871 |
</ul>
|
872 |
</div>
|
873 |
</div>
|
874 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
875 |
|
876 |
<!-- WECHAT ICON COUNT SECTION-->
|
877 |
<div class="sfsiplus_specify_counts sfsiplus_wechat_section">
|
159 |
$option4['sfsi_plus_responsive_share_count'] = (isset($option4['sfsi_plus_responsive_share_count']))
|
160 |
? sanitize_text_field($option4['sfsi_plus_responsive_share_count'])
|
161 |
: '';
|
162 |
+
$option4['sfsi_plus_whatsapp_countsDisplay'] = (isset($option4['sfsi_plus_whatsapp_countsDisplay']))
|
163 |
+
? sanitize_text_field($option4['sfsi_plus_whatsapp_countsDisplay'])
|
164 |
+
: '';
|
165 |
+
$option4['sfsi_plus_whatsapp_manualCounts'] = (isset($option4['sfsi_plus_whatsapp_manualCounts']))
|
166 |
+
? intval($option4['sfsi_plus_whatsapp_manualCounts'])
|
167 |
+
: '';
|
168 |
$counts = sfsi_plus_getCounts();
|
169 |
/* fetch counts for admin sections */
|
170 |
|
267 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/wechat.png" alt="Weibo" width="50px" height="50px" />
|
268 |
</a><span>12k</span>
|
269 |
</li>
|
270 |
+
<li class="sfsiplus_whatsapp_section">
|
271 |
+
<a href="#" title="Whatsapp">
|
272 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/whatsapp.png" alt="Whatsapp" width="50px" height="50px" />
|
273 |
+
</a><span>12k</span>
|
274 |
+
</li>
|
275 |
|
276 |
|
277 |
|
882 |
</ul>
|
883 |
</div>
|
884 |
</div>
|
885 |
+
<!-- END WEIBO ICON COUNT SECTION-->
|
886 |
+
|
887 |
+
<!-- Whatsapp ICON COUNT SECTION-->
|
888 |
+
<div class="sfsiplus_specify_counts sfsiplus_whatsapp_section">
|
889 |
+
<div class="radio_section">
|
890 |
+
<input name="sfsi_plus_whatsapp_countsDisplay" <?php echo (isset($option4['sfsi_plus_whatsapp_countsDisplay']) && $option4['sfsi_plus_whatsapp_countsDisplay']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
891 |
+
</div>
|
892 |
+
<div class="social_icon_like">
|
893 |
+
<ul class="like_icon">
|
894 |
+
<li>
|
895 |
+
<a title="Whatsapp">
|
896 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/whatsapp.png" alt="Whatsapp" />
|
897 |
+
<span><?php echo isset($counts['whatsapp_count'])?$counts['whatsapp_count']:0; ?></span>
|
898 |
+
</a>
|
899 |
+
</li>
|
900 |
+
</ul>
|
901 |
+
</div>
|
902 |
+
<div class="listing">
|
903 |
+
<ul>
|
904 |
+
<li>
|
905 |
+
<input name="sfsi_plus_whatsapp_countsFrom" checked="true" type="radio" value="manual" class="styled" />
|
906 |
+
<label class="high_prb">
|
907 |
+
<?php _e( 'Enter the figure manually', SFSI_PLUS_DOMAIN ); ?>
|
908 |
+
</label>
|
909 |
+
<input name="sfsi_plus_whatsapp_manualCounts" type="text" class="input" value="<?php echo (isset($option4['sfsi_plus_whatsapp_manualCounts']) && $option4['sfsi_plus_whatsapp_manualCounts']!='') ? $option4['sfsi_plus_whatsapp_manualCounts'] : '20' ;?>" />
|
910 |
+
</li>
|
911 |
+
</ul>
|
912 |
+
</div>
|
913 |
+
</div>
|
914 |
+
<!-- END Whatsapp ICON COUNT SECTION-->
|
915 |
|
916 |
<!-- WECHAT ICON COUNT SECTION-->
|
917 |
<div class="sfsiplus_specify_counts sfsiplus_wechat_section">
|
views/sfsi_option_view5.php
CHANGED
@@ -34,7 +34,10 @@
|
|
34 |
: 26 => 'wechat',
|
35 |
(isset($option5['sfsi_plus_weiboIcon_order']))
|
36 |
? $option5['sfsi_plus_weiboIcon_order']
|
37 |
-
: 25 => 'weibo'
|
|
|
|
|
|
|
38 |
);
|
39 |
|
40 |
/*
|
@@ -475,6 +478,12 @@
|
|
475 |
<li class="sfsiplus_wechat_section " data-index="<?php echo $index; ?>" id="sfsi_plus_wechatIcon_order">
|
476 |
<a href="#" title="WECHAT" ><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/wechat.png" alt="Wechat" width="50px" height="50px" /></a>
|
477 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
<?php break; ?>
|
479 |
|
480 |
<!--MZ CODE END-->
|
@@ -616,8 +625,17 @@
|
|
616 |
</div>
|
617 |
</li>
|
618 |
</ul>
|
619 |
-
|
620 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
621 |
<div class="sfsi_plus_new_prmium_follw sfsi_social_sharing" style="margin-bottom: 15px;">
|
622 |
<p><?php _e("Note: This feature is currently only available in the Premium Plugin.",SFSI_PLUS_DOMAIN); ?> <a style="cursor:pointer" class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" class="sfisi_plus_font_bold" target="_blank"><?php _e( 'Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=define_pic_and_text&utm_medium=banner" class="sfsi_plus_font_inherit" target="_blank"><?php _e( ' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
623 |
</p>
|
34 |
: 26 => 'wechat',
|
35 |
(isset($option5['sfsi_plus_weiboIcon_order']))
|
36 |
? $option5['sfsi_plus_weiboIcon_order']
|
37 |
+
: 25 => 'weibo',
|
38 |
+
(isset($option5['sfsi_plus_whatsappIcon_order']))
|
39 |
+
? $option5['sfsi_plus_whatsappIcon_order']
|
40 |
+
: 27 => 'whatsapp'
|
41 |
);
|
42 |
|
43 |
/*
|
478 |
<li class="sfsiplus_wechat_section " data-index="<?php echo $index; ?>" id="sfsi_plus_wechatIcon_order">
|
479 |
<a href="#" title="WECHAT" ><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/wechat.png" alt="Wechat" width="50px" height="50px" /></a>
|
480 |
</li>
|
481 |
+
<?php break; ?>
|
482 |
+
|
483 |
+
<?php case 'whatsapp' :?>
|
484 |
+
<li class="sfsiplus_whatsapp_section " data-index="<?php echo $index; ?>" id="sfsi_plus_whatsappIcon_order">
|
485 |
+
<a href="#" title="Whatsapp" ><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/whatsapp.png" alt="Whatsapp" width="50px" height="50px" /></a>
|
486 |
+
</li>
|
487 |
<?php break; ?>
|
488 |
|
489 |
<!--MZ CODE END-->
|
625 |
</div>
|
626 |
</li>
|
627 |
</ul>
|
628 |
+
</div>
|
629 |
+
|
630 |
+
<ul class="social_data_post_types">
|
631 |
+
<!-- <p><?php _e("",SFSI_PLUS_DOMAIN); ?></p> -->
|
632 |
+
<li>
|
633 |
+
<div class="radio_section tb_4_ck">
|
634 |
+
<input name="sfsi_plus_featured_image_rss" type="checkbox" <?php echo (isset($option5['sfsi_plus_featured_image_rss']) && $option5['sfsi_plus_featured_image_rss']=='yes') ? 'checked="true"' : '' ;?> value="yes" class="styled" />
|
635 |
+
<label class="cstmdsplsub"><?php _e("Add the featured image to the RSS",SFSI_PLUS_DOMAIN); ?></label>
|
636 |
+
</div>
|
637 |
+
</li>
|
638 |
+
</ul>
|
639 |
<div class="sfsi_plus_new_prmium_follw sfsi_social_sharing" style="margin-bottom: 15px;">
|
640 |
<p><?php _e("Note: This feature is currently only available in the Premium Plugin.",SFSI_PLUS_DOMAIN); ?> <a style="cursor:pointer" class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" class="sfisi_plus_font_bold" target="_blank"><?php _e( 'Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=define_pic_and_text&utm_medium=banner" class="sfsi_plus_font_inherit" target="_blank"><?php _e( ' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
641 |
</p>
|
views/sfsi_option_view7.php
CHANGED
@@ -47,9 +47,28 @@
|
|
47 |
$option7['sfsi_plus_premium_popup_box'] = (isset($option7['sfsi_plus_premium_popup_box']))
|
48 |
? sanitize_text_field($option7['sfsi_plus_premium_popup_box'])
|
49 |
: 'yes';
|
50 |
-
?>
|
51 |
<!-- Section 7 "Do you want to display a pop-up, asking people to subscribe?" main div Start -->
|
52 |
<div class="tab7">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
<p>
|
54 |
<?php _e( 'You can increase the chances people share or follow you by displaying a pop-up asking them to. You can define the design and layout below:', SFSI_PLUS_DOMAIN ); ?>
|
55 |
</p>
|
@@ -139,6 +158,12 @@
|
|
139 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/weibo.png" alt="Weibo" />
|
140 |
<span class="sfsi_Cdisplay" id="sfsi_plus_weibo_countsDisplay">12k</span>
|
141 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
</li>
|
143 |
|
144 |
|
47 |
$option7['sfsi_plus_premium_popup_box'] = (isset($option7['sfsi_plus_premium_popup_box']))
|
48 |
? sanitize_text_field($option7['sfsi_plus_premium_popup_box'])
|
49 |
: 'yes';
|
50 |
+
?>
|
51 |
<!-- Section 7 "Do you want to display a pop-up, asking people to subscribe?" main div Start -->
|
52 |
<div class="tab7">
|
53 |
+
<?php
|
54 |
+
$sfsi_plus_banner_popups = sanitize_text_field(get_option('sfsi_plus_banner_popups', false));
|
55 |
+
if($sfsi_plus_banner_popups == "yes"){
|
56 |
+
?>
|
57 |
+
<div id="sfsi_firsttime_offer" class="sfsi_new_prmium_follw sfsi_banner_body">
|
58 |
+
<div>
|
59 |
+
<p>Update: if you want many more features for your pop-ups, have a look at <a target="_blank" href="https://sellcodes.com/s/3NmlIE" style="color:#1a1d20 !important;font-weight: bold;border-bottom: 1px solid #1a1d20;">MyPopUps.</a></p>
|
60 |
+
</div>
|
61 |
+
<div style="text-align:right;">
|
62 |
+
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
63 |
+
<input type="hidden" name="sfsi-plus-banner-popups" value="true">
|
64 |
+
<input type="submit" name="dismiss" value="Dismiss" />
|
65 |
+
|
66 |
+
</form>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php
|
70 |
+
}
|
71 |
+
?>
|
72 |
<p>
|
73 |
<?php _e( 'You can increase the chances people share or follow you by displaying a pop-up asking them to. You can define the design and layout below:', SFSI_PLUS_DOMAIN ); ?>
|
74 |
</p>
|
158 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/weibo.png" alt="Weibo" />
|
159 |
<span class="sfsi_Cdisplay" id="sfsi_plus_weibo_countsDisplay">12k</span>
|
160 |
</div>
|
161 |
+
</li>
|
162 |
+
<li class="sfsiplus_whatsapp_section">
|
163 |
+
<div>
|
164 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/whatsapp.png" alt="WhatsApp" />
|
165 |
+
<span class="sfsi_Cdisplay" id="sfsi_plus_whatsapp_countsDisplay">12k</span>
|
166 |
+
</div>
|
167 |
</li>
|
168 |
|
169 |
|
views/sfsi_other_banners.php
CHANGED
@@ -244,7 +244,7 @@
|
|
244 |
|
245 |
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
246 |
|
247 |
-
<input type="hidden" name="sfsi-dismiss-
|
248 |
|
249 |
<input type="submit" name="dismiss" value="Dismiss" />
|
250 |
|
@@ -284,7 +284,7 @@
|
|
284 |
|
285 |
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
286 |
|
287 |
-
<input type="hidden" name="sfsi-dismiss-
|
288 |
|
289 |
<input type="submit" name="dismiss" value="Dismiss" />
|
290 |
|
244 |
|
245 |
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
246 |
|
247 |
+
<input type="hidden" name="sfsi-plus-dismiss-woocommerce" value="true">
|
248 |
|
249 |
<input type="submit" name="dismiss" value="Dismiss" />
|
250 |
|
284 |
|
285 |
<form method="post" class="sfsi_premiumNoticeDismiss" style="padding-bottom:8px;">
|
286 |
|
287 |
+
<input type="hidden" name="sfsi-plus-dismiss-twitter" value="true">
|
288 |
|
289 |
<input type="submit" name="dismiss" value="Dismiss" />
|
290 |
|
views/sfsi_plugin_lists.php
CHANGED
@@ -371,4 +371,10 @@ function sfsi_plus_get_plugin($dir_slug)
|
|
371 |
return null;
|
372 |
}
|
373 |
// }
|
374 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
371 |
return null;
|
372 |
}
|
373 |
// }
|
374 |
+
}
|
375 |
+
|
376 |
+
if(isset($_GET['page']) && $_GET['page'] == 'sfsi-plus-options' && isset($_GET["debuginstalldate"]) && isset($_GET["currentdate-plus-days"]) && $_GET["debuginstalldate"] == "yes"){
|
377 |
+
$sfsi_install_date = (date('Y-m-d h:i:s'));
|
378 |
+
$sfsi_plus_current_date_demo = date('Y-m-d H:i:s', strtotime(date('Y-m-d h:i:s') . $_GET['currentdate-plus-days']));
|
379 |
+
update_option('sfsi_plus_current_date_demo', $sfsi_plus_current_date_demo);
|
380 |
+
}
|