Social Media Share Buttons & Social Sharing Icons - Version 1.7.7

Version Description

  • Added more themed icon banners
Download this release

Release Info

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

Code changes from version 1.7.6 to 1.7.7

Files changed (73) hide show
  1. images/website_theme/Others.png +0 -0
  2. images/website_theme/agriculture.png +0 -0
  3. images/website_theme/american-football.png +0 -0
  4. images/website_theme/animals.png +0 -0
  5. images/website_theme/art-design.png +0 -0
  6. images/website_theme/automotives.png +0 -0
  7. images/website_theme/baseball.png +0 -0
  8. images/website_theme/beauty.png +0 -0
  9. images/website_theme/beer.png +0 -0
  10. images/website_theme/cat.png +0 -0
  11. images/website_theme/christianity.png +0 -0
  12. images/website_theme/communications.png +0 -0
  13. images/website_theme/construction.png +0 -0
  14. images/website_theme/cooking.png +0 -0
  15. images/website_theme/cricket.png +0 -0
  16. images/website_theme/database.png +0 -0
  17. images/website_theme/dinosaurs.png +0 -0
  18. images/website_theme/diy.png +0 -0
  19. images/website_theme/dogs.png +0 -0
  20. images/website_theme/drinking.png +0 -0
  21. images/website_theme/education.png +0 -0
  22. images/website_theme/family.png +0 -0
  23. images/website_theme/fantasy.png +0 -0
  24. images/website_theme/fashion.png +0 -0
  25. images/website_theme/finance.png +0 -0
  26. images/website_theme/fishing.png +0 -0
  27. images/website_theme/flags.png +0 -0
  28. images/website_theme/flowers.png +0 -0
  29. images/website_theme/fruits.png +0 -0
  30. images/website_theme/furniture.png +0 -0
  31. images/website_theme/gaming.png +0 -0
  32. images/website_theme/golf.png +0 -0
  33. images/website_theme/health.png +0 -0
  34. images/website_theme/history.png +0 -0
  35. images/website_theme/holidays.png +0 -0
  36. images/website_theme/horse.png +0 -0
  37. images/website_theme/hunting.png +0 -0
  38. images/website_theme/it.png +0 -0
  39. images/website_theme/jewelry.png +0 -0
  40. images/website_theme/law.png +0 -0
  41. images/website_theme/love.png +0 -0
  42. images/website_theme/martial-arts.png +0 -0
  43. images/website_theme/motorsports.png +0 -0
  44. images/website_theme/music.png +0 -0
  45. images/website_theme/naturegardening.png +0 -0
  46. images/website_theme/occult.png +0 -0
  47. images/website_theme/pets.png +0 -0
  48. images/website_theme/photography.png +0 -0
  49. images/website_theme/realestate.png +0 -0
  50. images/website_theme/religion.png +0 -0
  51. images/website_theme/science.png +0 -0
  52. images/website_theme/scifi.png +0 -0
  53. images/website_theme/sealife.png +0 -0
  54. images/website_theme/shoes.png +0 -0
  55. images/website_theme/shopping.png +0 -0
  56. images/website_theme/sky-diving.png +0 -0
  57. images/website_theme/snooker.png +0 -0
  58. images/website_theme/sports.png +0 -0
  59. images/website_theme/tech.png +0 -0
  60. images/website_theme/teeth.png +0 -0
  61. images/website_theme/tennis.png +0 -0
  62. images/website_theme/theatre.png +0 -0
  63. images/website_theme/toys.png +0 -0
  64. images/website_theme/travel.png +0 -0
  65. images/website_theme/vegetables.png +0 -0
  66. images/website_theme/video.png +0 -0
  67. images/website_theme/volleyball.png +0 -0
  68. libs/controllers/sfsi_buttons_controller.php +38 -3583
  69. libs/controllers/sfsi_class_theme_check.php +356 -0
  70. libs/sfsi_install_uninstall.php +1 -1
  71. readme.txt +5 -2
  72. themedata.csv +69 -0
  73. ultimate_social_media_icons.php +3 -2
images/website_theme/Others.png ADDED
Binary file
images/website_theme/agriculture.png ADDED
Binary file
images/website_theme/american-football.png ADDED
Binary file
images/website_theme/animals.png ADDED
Binary file
images/website_theme/art-design.png ADDED
Binary file
images/website_theme/automotives.png ADDED
Binary file
images/website_theme/baseball.png ADDED
Binary file
images/website_theme/beauty.png ADDED
Binary file
images/website_theme/beer.png ADDED
Binary file
images/website_theme/cat.png ADDED
Binary file
images/website_theme/christianity.png ADDED
Binary file
images/website_theme/communications.png ADDED
Binary file
images/website_theme/construction.png ADDED
Binary file
images/website_theme/cooking.png ADDED
Binary file
images/website_theme/cricket.png ADDED
Binary file
images/website_theme/database.png ADDED
Binary file
images/website_theme/dinosaurs.png ADDED
Binary file
images/website_theme/diy.png ADDED
Binary file
images/website_theme/dogs.png ADDED
Binary file
images/website_theme/drinking.png ADDED
Binary file
images/website_theme/education.png ADDED
Binary file
images/website_theme/family.png ADDED
Binary file
images/website_theme/fantasy.png ADDED
Binary file
images/website_theme/fashion.png ADDED
Binary file
images/website_theme/finance.png ADDED
Binary file
images/website_theme/fishing.png ADDED
Binary file
images/website_theme/flags.png ADDED
Binary file
images/website_theme/flowers.png ADDED
Binary file
images/website_theme/fruits.png ADDED
Binary file
images/website_theme/furniture.png ADDED
Binary file
images/website_theme/gaming.png ADDED
Binary file
images/website_theme/golf.png ADDED
Binary file
images/website_theme/health.png ADDED
Binary file
images/website_theme/history.png ADDED
Binary file
images/website_theme/holidays.png ADDED
Binary file
images/website_theme/horse.png ADDED
Binary file
images/website_theme/hunting.png ADDED
Binary file
images/website_theme/it.png ADDED
Binary file
images/website_theme/jewelry.png ADDED
Binary file
images/website_theme/law.png ADDED
Binary file
images/website_theme/love.png ADDED
Binary file
images/website_theme/martial-arts.png ADDED
Binary file
images/website_theme/motorsports.png ADDED
Binary file
images/website_theme/music.png ADDED
Binary file
images/website_theme/naturegardening.png ADDED
Binary file
images/website_theme/occult.png ADDED
Binary file
images/website_theme/pets.png ADDED
Binary file
images/website_theme/photography.png ADDED
Binary file
images/website_theme/realestate.png ADDED
Binary file
images/website_theme/religion.png ADDED
Binary file
images/website_theme/science.png ADDED
Binary file
images/website_theme/scifi.png ADDED
Binary file
images/website_theme/sealife.png ADDED
Binary file
images/website_theme/shoes.png ADDED
Binary file
images/website_theme/shopping.png ADDED
Binary file
images/website_theme/sky-diving.png ADDED
Binary file
images/website_theme/snooker.png ADDED
Binary file
images/website_theme/sports.png ADDED
Binary file
images/website_theme/tech.png ADDED
Binary file
images/website_theme/teeth.png ADDED
Binary file
images/website_theme/tennis.png ADDED
Binary file
images/website_theme/theatre.png ADDED
Binary file
images/website_theme/toys.png ADDED
Binary file
images/website_theme/travel.png ADDED
Binary file
images/website_theme/vegetables.png ADDED
Binary file
images/website_theme/video.png ADDED
Binary file
images/website_theme/volleyball.png ADDED
Binary file
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -875,3605 +875,60 @@ if(@!function_exists("sfsi_sanitize_hex_color"))
875
  }
876
  function sfsi_returningElement($element) {return $element[0];}
877
 
878
- add_action('wp_ajax_bannerOption','sfsi_bannerOption');
879
- function sfsi_bannerOption()
880
- {
881
- if(get_option("show_new_notification") == "yes")
882
- {
883
- $keywordFile = SFSI_DOCROOT."/All_english_words_better_list.csv";
884
- $keywordData = @file_get_contents($keywordFile);
885
- $keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
886
-
887
- $keywordEnglish = array_map('array_filter', $keywordEnglish);
888
- $keywordEnglish = array_filter(array_map(sfsi_returningElement($element), $keywordEnglish));
889
-
890
- $domainname = sfsi_getdomain(site_url());
891
-
892
- if(preg_match("/(cat|cattery|catrescue|recuedcat|kitten|kitty|meow)/im", $domainname))
893
- {
894
- if(!empty($domainname))
895
- {
896
- $domainname = preg_replace('/catherine|catherines/i', '', $domainname);
897
- $explode = explode(".", $domainname);
898
- $domainname = @$explode[0];
899
- }
900
-
901
- $catflag = false;
902
-
903
- if(preg_match("/(cattery|catrescue|recuedcat|kitten|kitty|meow)/im", $domainname))
904
- {
905
- $catflag = true;
906
- }
907
- elseif(preg_match("/(cats)/im", $domainname))
908
- {
909
- $explode = explode("cats", $domainname);
910
- $left = $explode[0];
911
- $right = $explode[1];
912
-
913
- $leftcatflag = false;
914
- if(!empty($left))
915
- {
916
- $left = str_split($left);
917
-
918
- $matchKeyword = ''; $j = 0;
919
- for($i = (count($left)-1); $i >= 0; $i--)
920
- {
921
- $matchKeyword = $left[$i].$matchKeyword;
922
-
923
- if($j > 0)
924
- {
925
- if(in_array($matchKeyword, $keywordEnglish))
926
- {
927
- $leftcatflag = true;
928
- break;
929
- }
930
- else
931
- {
932
- continue;
933
- }
934
- }
935
- else
936
- {
937
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
938
- {
939
- $leftcatflag = true;
940
- break;
941
- }
942
- }
943
-
944
- $j++;
945
- }
946
- }
947
-
948
- $rightcatflag = false;
949
- if(!empty($right))
950
- {
951
- $right = str_split($right);
952
-
953
- $matchKeyword = '';
954
- for($i = 0; $i < count($right); $i++)
955
- {
956
- $matchKeyword .= $right[$i];
957
-
958
- if($i > 0)
959
- {
960
- if(in_array($matchKeyword, $keywordEnglish))
961
- {
962
- $rightcatflag = true;
963
- break;
964
- }
965
- else
966
- {
967
- continue;
968
- }
969
- }
970
- else
971
- {
972
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
973
- {
974
- $rightcatflag = true;
975
- break;
976
- }
977
- }
978
- }
979
- }
980
-
981
- if(empty($left) && empty($right))
982
- {
983
- $catflag = true;
984
- }
985
- else
986
- {
987
- if(!empty($left) && !empty($right))
988
- {
989
- if($rightcatflag && $leftcatflag)
990
- {
991
- $catflag = true;
992
- }
993
- }
994
- elseif(empty($left) && !empty($right))
995
- {
996
- if($rightcatflag)
997
- {
998
- $catflag = true;
999
- }
1000
- }
1001
- elseif(!empty($left) && empty($right))
1002
- {
1003
- if($leftcatflag)
1004
- {
1005
- $catflag = true;
1006
- }
1007
- }
1008
- }
1009
- }
1010
- elseif(preg_match("/(cat)/im", $domainname))
1011
- {
1012
- $explode = explode("cat", $domainname);
1013
- $left = $explode[0];
1014
- $right = $explode[1];
1015
-
1016
- $leftcatflag = false;
1017
- if(!empty($left))
1018
- {
1019
- $left = str_split($left);
1020
-
1021
- $matchKeyword = ''; $j = 0;
1022
- for($i = (count($left)-1); $i >= 0; $i--)
1023
- {
1024
- $matchKeyword = $left[$i].$matchKeyword;
1025
-
1026
- if($j > 0)
1027
- {
1028
- if(in_array($matchKeyword, $keywordEnglish))
1029
- {
1030
- $leftcatflag = true;
1031
- break;
1032
- }
1033
- else
1034
- {
1035
- continue;
1036
- }
1037
- }
1038
- else
1039
- {
1040
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1041
- {
1042
- $leftcatflag = true;
1043
- break;
1044
- }
1045
- }
1046
-
1047
- $j++;
1048
- }
1049
- }
1050
-
1051
- $rightcatflag = false;
1052
- if(!empty($right))
1053
- {
1054
- $right = str_split($right);
1055
-
1056
- $matchKeyword = '';
1057
- for($i = 0; $i < count($right); $i++)
1058
- {
1059
- $matchKeyword .= $right[$i];
1060
- if($i > 0)
1061
- {
1062
- if(in_array($matchKeyword, $keywordEnglish))
1063
- {
1064
- $rightcatflag = true;
1065
- break;
1066
- }
1067
- else
1068
- {
1069
- continue;
1070
- }
1071
- }
1072
- else
1073
- {
1074
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1075
- {
1076
- $rightcatflag = true;
1077
- break;
1078
- }
1079
- }
1080
- }
1081
- }
1082
-
1083
- if(empty($left) && empty($right))
1084
- {
1085
- $catflag = true;
1086
- }
1087
- else
1088
- {
1089
- if(!empty($left) && !empty($right))
1090
- {
1091
- if($rightcatflag && $leftcatflag)
1092
- {
1093
- $catflag = true;
1094
- }
1095
- }
1096
- elseif(empty($left) && !empty($right))
1097
- {
1098
- if($rightcatflag)
1099
- {
1100
- $catflag = true;
1101
- }
1102
- }
1103
- elseif(!empty($left) && empty($right))
1104
- {
1105
- if($leftcatflag)
1106
- {
1107
- $catflag = true;
1108
- }
1109
- }
1110
- }
1111
- }
1112
- }
1113
- elseif(preg_match("/(horse|equine|gallop|pony|ponies)/im", $domainname))
1114
- {
1115
- if(!empty($domainname))
1116
- {
1117
- $domainname = preg_replace('/horseengine|seahorses|seahorse|seapony|seaponies|horseengines|ponytail/i', '', $domainname);
1118
- $explode = explode(".", $domainname);
1119
- $domainname = @$explode[0];
1120
- }
1121
-
1122
- $horseflag = false;
1123
-
1124
- if(preg_match("/(equine|gallop)/im", $domainname))
1125
- {
1126
- $horseflag = true;
1127
- }
1128
- elseif(preg_match("/(horses)/im", $domainname))
1129
- {
1130
- $explode = explode("horses", $domainname);
1131
- $left = $explode[0];
1132
- $right = $explode[1];
1133
-
1134
- $lefthorseflag = false;
1135
- if(!empty($left))
1136
- {
1137
- $left = str_split($left);
1138
-
1139
- $matchKeyword = ''; $j = 0;
1140
- for($i = (count($left)-1); $i >= 0; $i--)
1141
- {
1142
- $matchKeyword = $left[$i].$matchKeyword;
1143
-
1144
- if($j > 0)
1145
- {
1146
- if(in_array($matchKeyword, $keywordEnglish))
1147
- {
1148
- $lefthorseflag = true;
1149
- break;
1150
- }
1151
- else
1152
- {
1153
- continue;
1154
- }
1155
- }
1156
- else
1157
- {
1158
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1159
- {
1160
- $lefthorseflag = true;
1161
- break;
1162
- }
1163
- }
1164
-
1165
- $j++;
1166
- }
1167
- }
1168
-
1169
- $righthorseflag = false;
1170
- if(!empty($right))
1171
- {
1172
- $right = str_split($right);
1173
-
1174
- $matchKeyword = '';
1175
- for($i = 0; $i < count($right); $i++)
1176
- {
1177
- $matchKeyword .= $right[$i];
1178
-
1179
- if($i > 0)
1180
- {
1181
- if(in_array($matchKeyword, $keywordEnglish))
1182
- {
1183
- $righthorseflag = true;
1184
- break;
1185
- }
1186
- else
1187
- {
1188
- continue;
1189
- }
1190
- }
1191
- else
1192
- {
1193
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1194
- {
1195
- $righthorseflag = true;
1196
- break;
1197
- }
1198
- }
1199
- }
1200
- }
1201
-
1202
- if(empty($left) && empty($right))
1203
- {
1204
- $horseflag = true;
1205
- }
1206
- else
1207
- {
1208
- if(!empty($left) && !empty($right))
1209
- {
1210
- if($righthorseflag && $lefthorseflag)
1211
- {
1212
- $horseflag = true;
1213
- }
1214
- }
1215
- elseif(empty($left) && !empty($right))
1216
- {
1217
- if($righthorseflag)
1218
- {
1219
- $horseflag = true;
1220
- }
1221
- }
1222
- elseif(!empty($left) && empty($right))
1223
- {
1224
- if($lefthorseflag)
1225
- {
1226
- $horseflag = true;
1227
- }
1228
- }
1229
- }
1230
- }
1231
- elseif(preg_match("/(horse)/im", $domainname))
1232
- {
1233
- $explode = explode("horse", $domainname);
1234
- $left = $explode[0];
1235
- $right = $explode[1];
1236
-
1237
- $lefthorseflag = false;
1238
- if(!empty($left))
1239
- {
1240
- $left = str_split($left);
1241
-
1242
- $matchKeyword = ''; $j = 0;
1243
- for($i = (count($left)-1); $i >= 0; $i--)
1244
- {
1245
- $matchKeyword = $left[$i].$matchKeyword;
1246
-
1247
- if($j > 0)
1248
- {
1249
- if(in_array($matchKeyword, $keywordEnglish))
1250
- {
1251
- $lefthorseflag = true;
1252
- break;
1253
- }
1254
- else
1255
- {
1256
- continue;
1257
- }
1258
- }
1259
- else
1260
- {
1261
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1262
- {
1263
- $lefthorseflag = true;
1264
- break;
1265
- }
1266
- }
1267
-
1268
- $j++;
1269
- }
1270
- }
1271
-
1272
- $righthorseflag = false;
1273
- if(!empty($right))
1274
- {
1275
- $right = str_split($right);
1276
-
1277
- $matchKeyword = '';
1278
- for($i = 0; $i < count($right); $i++)
1279
- {
1280
- $matchKeyword .= $right[$i];
1281
- if($i > 0)
1282
- {
1283
- if(in_array($matchKeyword, $keywordEnglish))
1284
- {
1285
- $righthorseflag = true;
1286
- break;
1287
- }
1288
- else
1289
- {
1290
- continue;
1291
- }
1292
- }
1293
- else
1294
- {
1295
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1296
- {
1297
- $righthorseflag = true;
1298
- break;
1299
- }
1300
- }
1301
- }
1302
- }
1303
-
1304
- if(empty($left) && empty($right))
1305
- {
1306
- $horseflag = true;
1307
- }
1308
- else
1309
- {
1310
- if(!empty($left) && !empty($right))
1311
- {
1312
- if($righthorseflag && $lefthorseflag)
1313
- {
1314
- $horseflag = true;
1315
- }
1316
- }
1317
- elseif(empty($left) && !empty($right))
1318
- {
1319
- if($righthorseflag)
1320
- {
1321
- $horseflag = true;
1322
- }
1323
- }
1324
- elseif(!empty($left) && empty($right))
1325
- {
1326
- if($lefthorseflag)
1327
- {
1328
- $horseflag = true;
1329
- }
1330
- }
1331
- }
1332
- }
1333
- elseif(preg_match("/(ponies)/im", $domainname))
1334
- {
1335
- $explode = explode("ponies", $domainname);
1336
- $left = $explode[0];
1337
- $right = $explode[1];
1338
-
1339
- $lefthorseflag = false;
1340
- if(!empty($left))
1341
- {
1342
- $left = str_split($left);
1343
-
1344
- $matchKeyword = ''; $j = 0;
1345
- for($i = (count($left)-1); $i >= 0; $i--)
1346
- {
1347
- $matchKeyword = $left[$i].$matchKeyword;
1348
-
1349
- if($j > 0)
1350
- {
1351
- if(in_array($matchKeyword, $keywordEnglish))
1352
- {
1353
- $lefthorseflag = true;
1354
- break;
1355
- }
1356
- else
1357
- {
1358
- continue;
1359
- }
1360
- }
1361
- else
1362
- {
1363
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1364
- {
1365
- $lefthorseflag = true;
1366
- break;
1367
- }
1368
- }
1369
-
1370
- $j++;
1371
- }
1372
- }
1373
-
1374
- $righthorseflag = false;
1375
- if(!empty($right))
1376
- {
1377
- $right = str_split($right);
1378
-
1379
- $matchKeyword = '';
1380
- for($i = 0; $i < count($right); $i++)
1381
- {
1382
- $matchKeyword .= $right[$i];
1383
-
1384
- if($i > 0)
1385
- {
1386
- if(in_array($matchKeyword, $keywordEnglish))
1387
- {
1388
- $righthorseflag = true;
1389
- break;
1390
- }
1391
- else
1392
- {
1393
- continue;
1394
- }
1395
- }
1396
- else
1397
- {
1398
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1399
- {
1400
- $righthorseflag = true;
1401
- break;
1402
- }
1403
- }
1404
- }
1405
- }
1406
-
1407
- if(empty($left) && empty($right))
1408
- {
1409
- $horseflag = true;
1410
- }
1411
- else
1412
- {
1413
- if(!empty($left) && !empty($right))
1414
- {
1415
- if($righthorseflag && $lefthorseflag)
1416
- {
1417
- $horseflag = true;
1418
- }
1419
- }
1420
- elseif(empty($left) && !empty($right))
1421
- {
1422
- if($righthorseflag)
1423
- {
1424
- $horseflag = true;
1425
- }
1426
- }
1427
- elseif(!empty($left) && empty($right))
1428
- {
1429
- if($lefthorseflag)
1430
- {
1431
- $horseflag = true;
1432
- }
1433
- }
1434
- }
1435
- }
1436
- elseif(preg_match("/(pony)/im", $domainname))
1437
- {
1438
- $explode = explode("pony", $domainname);
1439
- $left = $explode[0];
1440
- $right = $explode[1];
1441
-
1442
- $lefthorseflag = false;
1443
- if(!empty($left))
1444
- {
1445
- $left = str_split($left);
1446
-
1447
- $matchKeyword = ''; $j = 0;
1448
- for($i = (count($left)-1); $i >= 0; $i--)
1449
- {
1450
- $matchKeyword = $left[$i].$matchKeyword;
1451
-
1452
- if($j > 0)
1453
- {
1454
- if(in_array($matchKeyword, $keywordEnglish))
1455
- {
1456
- $lefthorseflag = true;
1457
- break;
1458
- }
1459
- else
1460
- {
1461
- continue;
1462
- }
1463
- }
1464
- else
1465
- {
1466
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1467
- {
1468
- $lefthorseflag = true;
1469
- break;
1470
- }
1471
- }
1472
-
1473
- $j++;
1474
- }
1475
- }
1476
-
1477
- $righthorseflag = false;
1478
- if(!empty($right))
1479
- {
1480
- $right = str_split($right);
1481
-
1482
- $matchKeyword = '';
1483
- for($i = 0; $i < count($right); $i++)
1484
- {
1485
- $matchKeyword .= $right[$i];
1486
- if($i > 0)
1487
- {
1488
- if(in_array($matchKeyword, $keywordEnglish))
1489
- {
1490
- $righthorseflag = true;
1491
- break;
1492
- }
1493
- else
1494
- {
1495
- continue;
1496
- }
1497
- }
1498
- else
1499
- {
1500
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1501
- {
1502
- $righthorseflag = true;
1503
- break;
1504
- }
1505
- }
1506
- }
1507
- }
1508
-
1509
- if(empty($left) && empty($right))
1510
- {
1511
- $horseflag = true;
1512
- }
1513
- else
1514
- {
1515
- if(!empty($left) && !empty($right))
1516
- {
1517
- if($righthorseflag && $lefthorseflag)
1518
- {
1519
- $horseflag = true;
1520
- }
1521
- }
1522
- elseif(empty($left) && !empty($right))
1523
- {
1524
- if($righthorseflag)
1525
- {
1526
- $horseflag = true;
1527
- }
1528
- }
1529
- elseif(!empty($left) && empty($right))
1530
- {
1531
- if($lefthorseflag)
1532
- {
1533
- $horseflag = true;
1534
- }
1535
- }
1536
- }
1537
- }
1538
- }
1539
- elseif(preg_match("/(tooth|dentist|teeth|dental)/im", $domainname))
1540
- {
1541
- if(!empty($domainname))
1542
- {
1543
- $domainname = preg_replace('/bluetooth|gadgetooth/i', '', $domainname);
1544
- $explode = explode(".", $domainname);
1545
- $domainname = @$explode[0];
1546
- }
1547
- $toothflag = false;
1548
-
1549
- if(preg_match("/(dentist|teeth|dental)/im", $domainname))
1550
- {
1551
- $toothflag = true;
1552
- }
1553
- elseif(preg_match("/(tooth)/im", $domainname))
1554
- {
1555
- $explode = explode("tooth", $domainname);
1556
- $left = $explode[0];
1557
- $right = $explode[1];
1558
-
1559
- $lefttoothflag = false;
1560
- if(!empty($left))
1561
- {
1562
- $left = str_split($left);
1563
-
1564
- $matchKeyword = ''; $j = 0;
1565
- for($i = (count($left)-1); $i >= 0; $i--)
1566
- {
1567
- $matchKeyword = $left[$i].$matchKeyword;
1568
-
1569
- if($j > 0)
1570
- {
1571
- if(in_array($matchKeyword, $keywordEnglish))
1572
- {
1573
- $lefttoothflag = true;
1574
- break;
1575
- }
1576
- else
1577
- {
1578
- continue;
1579
- }
1580
- }
1581
- else
1582
- {
1583
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1584
- {
1585
- $lefttoothflag = true;
1586
- break;
1587
- }
1588
- }
1589
-
1590
- $j++;
1591
- }
1592
- }
1593
-
1594
- $righttoothflag = false;
1595
- if(!empty($right))
1596
- {
1597
- $right = str_split($right);
1598
-
1599
- $matchKeyword = '';
1600
- for($i = 0; $i < count($right); $i++)
1601
- {
1602
- $matchKeyword .= $right[$i];
1603
- if($i > 0)
1604
- {
1605
- if(in_array($matchKeyword, $keywordEnglish))
1606
- {
1607
- $righttoothflag = true;
1608
- break;
1609
- }
1610
- else
1611
- {
1612
- continue;
1613
- }
1614
- }
1615
- else
1616
- {
1617
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1618
- {
1619
- $righttoothflag = true;
1620
- break;
1621
- }
1622
- }
1623
- }
1624
- }
1625
-
1626
- if(empty($left) && empty($right))
1627
- {
1628
- $toothflag = true;
1629
- }
1630
- else
1631
- {
1632
- if(!empty($left) && !empty($right))
1633
- {
1634
- if($righttoothflag && $lefttoothflag)
1635
- {
1636
- $toothflag = true;
1637
- }
1638
- }
1639
- elseif(empty($left) && !empty($right))
1640
- {
1641
- if($righttoothflag)
1642
- {
1643
- $toothflag = true;
1644
- }
1645
- }
1646
- elseif(!empty($left) && empty($right))
1647
- {
1648
- if($lefttoothflag)
1649
- {
1650
- $toothflag = true;
1651
- }
1652
- }
1653
- }
1654
- }
1655
- }
1656
- elseif(preg_match("/(brew|beer|brewery|oktoberfest|barley|beerfest|brewers|brewer|stout|malt)/im", $domainname))
1657
- {
1658
- if(!empty($domainname))
1659
- {
1660
- $domainname = preg_replace('/hebrew|malta/i', '', $domainname);
1661
- $explode = explode(".", $domainname);
1662
- $domainname = @$explode[0];
1663
- }
1664
- $beerflag = false;
1665
-
1666
- if(preg_match("/(beer|brewery|oktoberfest|barley|beerfest|brewers|brewer)/im", $domainname))
1667
- {
1668
- $beerflag = true;
1669
- }
1670
- elseif(preg_match("/(brew)/im", $domainname))
1671
- {
1672
- $explode = explode("brew", $domainname);
1673
- $left = $explode[0];
1674
- $right = $explode[1];
1675
-
1676
- $leftbeerflag = false;
1677
- if(!empty($left))
1678
- {
1679
- $left = str_split($left);
1680
-
1681
- $matchKeyword = ''; $j = 0;
1682
- for($i = (count($left)-1); $i >= 0; $i--)
1683
- {
1684
- $matchKeyword = $left[$i].$matchKeyword;
1685
-
1686
- if($j > 0)
1687
- {
1688
- if(in_array($matchKeyword, $keywordEnglish))
1689
- {
1690
- $leftbeerflag = true;
1691
- break;
1692
- }
1693
- else
1694
- {
1695
- continue;
1696
- }
1697
- }
1698
- else
1699
- {
1700
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1701
- {
1702
- $leftbeerflag = true;
1703
- break;
1704
- }
1705
- }
1706
-
1707
- $j++;
1708
- }
1709
- }
1710
-
1711
- $rightbeerflag = false;
1712
- if(!empty($right))
1713
- {
1714
- $right = str_split($right);
1715
-
1716
- $matchKeyword = '';
1717
- for($i = 0; $i < count($right); $i++)
1718
- {
1719
- $matchKeyword .= $right[$i];
1720
- if($i > 0)
1721
- {
1722
- if(in_array($matchKeyword, $keywordEnglish))
1723
- {
1724
- $rightbeerflag = true;
1725
- break;
1726
- }
1727
- else
1728
- {
1729
- continue;
1730
- }
1731
- }
1732
- else
1733
- {
1734
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1735
- {
1736
- $rightbeerflag = true;
1737
- break;
1738
- }
1739
- }
1740
- }
1741
- }
1742
-
1743
- if(empty($left) && empty($right))
1744
- {
1745
- $beerflag = true;
1746
- }
1747
- else
1748
- {
1749
- if(!empty($left) && !empty($right))
1750
- {
1751
- if($rightbeerflag && $leftbeerflag)
1752
- {
1753
- $beerflag = true;
1754
- }
1755
- }
1756
- elseif(empty($left) && !empty($right))
1757
- {
1758
- if($rightbeerflag)
1759
- {
1760
- $beerflag = true;
1761
- }
1762
- }
1763
- elseif(!empty($left) && empty($right))
1764
- {
1765
- if($leftbeerflag)
1766
- {
1767
- $beerflag = true;
1768
- }
1769
- }
1770
- }
1771
- }
1772
- elseif(preg_match("/(stout)/im", $domainname))
1773
- {
1774
- $explode = explode("stout", $domainname);
1775
- $left = $explode[0];
1776
- $right = $explode[1];
1777
-
1778
- $leftbeerflag = false;
1779
- if(!empty($left))
1780
- {
1781
- $left = str_split($left);
1782
-
1783
- $matchKeyword = ''; $j = 0;
1784
- for($i = (count($left)-1); $i >= 0; $i--)
1785
- {
1786
- $matchKeyword = $left[$i].$matchKeyword;
1787
-
1788
- if($j > 0)
1789
- {
1790
- if(in_array($matchKeyword, $keywordEnglish))
1791
- {
1792
- $leftbeerflag = true;
1793
- break;
1794
- }
1795
- else
1796
- {
1797
- continue;
1798
- }
1799
- }
1800
- else
1801
- {
1802
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1803
- {
1804
- $leftbeerflag = true;
1805
- break;
1806
- }
1807
- }
1808
-
1809
- $j++;
1810
- }
1811
- }
1812
-
1813
- $rightbeerflag = false;
1814
- if(!empty($right))
1815
- {
1816
- $right = str_split($right);
1817
-
1818
- $matchKeyword = '';
1819
- for($i = 0; $i < count($right); $i++)
1820
- {
1821
- $matchKeyword .= $right[$i];
1822
- if($i > 0)
1823
- {
1824
- if(in_array($matchKeyword, $keywordEnglish))
1825
- {
1826
- $rightbeerflag = true;
1827
- break;
1828
- }
1829
- else
1830
- {
1831
- continue;
1832
- }
1833
- }
1834
- else
1835
- {
1836
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1837
- {
1838
- $rightbeerflag = true;
1839
- break;
1840
- }
1841
- }
1842
- }
1843
- }
1844
-
1845
- if(empty($left) && empty($right))
1846
- {
1847
- $beerflag = true;
1848
- }
1849
- else
1850
- {
1851
- if(!empty($left) && !empty($right))
1852
- {
1853
- if($rightbeerflag && $leftbeerflag)
1854
- {
1855
- $beerflag = true;
1856
- }
1857
- }
1858
- elseif(empty($left) && !empty($right))
1859
- {
1860
- if($rightbeerflag)
1861
- {
1862
- $beerflag = true;
1863
- }
1864
- }
1865
- elseif(!empty($left) && empty($right))
1866
- {
1867
- if($leftbeerflag)
1868
- {
1869
- $beerflag = true;
1870
- }
1871
- }
1872
- }
1873
- }
1874
- elseif(preg_match("/(malt)/im", $domainname))
1875
- {
1876
- $explode = explode("malt", $domainname);
1877
- $left = $explode[0];
1878
- $right = $explode[1];
1879
-
1880
- $leftbeerflag = false;
1881
- if(!empty($left))
1882
- {
1883
- $left = str_split($left);
1884
-
1885
- $matchKeyword = ''; $j = 0;
1886
- for($i = (count($left)-1); $i >= 0; $i--)
1887
- {
1888
- $matchKeyword = $left[$i].$matchKeyword;
1889
-
1890
- if($j > 0)
1891
- {
1892
- if(in_array($matchKeyword, $keywordEnglish))
1893
- {
1894
- $leftbeerflag = true;
1895
- break;
1896
- }
1897
- else
1898
- {
1899
- continue;
1900
- }
1901
- }
1902
- else
1903
- {
1904
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1905
- {
1906
- $leftbeerflag = true;
1907
- break;
1908
- }
1909
- }
1910
-
1911
- $j++;
1912
- }
1913
- }
1914
-
1915
- $rightbeerflag = false;
1916
- if(!empty($right))
1917
- {
1918
- $right = str_split($right);
1919
-
1920
- $matchKeyword = '';
1921
- for($i = 0; $i < count($right); $i++)
1922
- {
1923
- $matchKeyword .= $right[$i];
1924
- if($i > 0)
1925
- {
1926
- if(in_array($matchKeyword, $keywordEnglish))
1927
- {
1928
- $rightbeerflag = true;
1929
- break;
1930
- }
1931
- else
1932
- {
1933
- continue;
1934
- }
1935
- }
1936
- else
1937
- {
1938
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
1939
- {
1940
- $rightbeerflag = true;
1941
- break;
1942
- }
1943
- }
1944
- }
1945
- }
1946
-
1947
- if(empty($left) && empty($right))
1948
- {
1949
- $beerflag = true;
1950
- }
1951
- else
1952
- {
1953
- if(!empty($left) && !empty($right))
1954
- {
1955
- if($rightbeerflag && $leftbeerflag)
1956
- {
1957
- $beerflag = true;
1958
- }
1959
- }
1960
- elseif(empty($left) && !empty($right))
1961
- {
1962
- if($rightbeerflag)
1963
- {
1964
- $beerflag = true;
1965
- }
1966
- }
1967
- elseif(!empty($left) && empty($right))
1968
- {
1969
- if($leftbeerflag)
1970
- {
1971
- $beerflag = true;
1972
- }
1973
- }
1974
- }
1975
- }
1976
- }
1977
- elseif(preg_match("/(camera|photography|snapshot|photo|snap)/im", $domainname))
1978
- {
1979
- if(!empty($domainname))
1980
- {
1981
- $domainname = preg_replace('/cameracivile|cameradelcommercio|snapdragon|snappy/i', '', $domainname);
1982
- $explode = explode(".", $domainname);
1983
- $domainname = @$explode[0];
1984
- }
1985
- $cameraflag = false;
1986
-
1987
- if(preg_match("/(photography|snapshot)/im", $domainname))
1988
- {
1989
- $cameraflag = true;
1990
- }
1991
- elseif(preg_match("/(camera)/im", $domainname))
1992
- {
1993
- $explode = explode("camera", $domainname);
1994
- $left = $explode[0];
1995
- $right = $explode[1];
1996
-
1997
- $leftcameraflag = false;
1998
- if(!empty($left))
1999
- {
2000
- $left = str_split($left);
2001
-
2002
- $matchKeyword = ''; $j = 0;
2003
- for($i = (count($left)-1); $i >= 0; $i--)
2004
- {
2005
- $matchKeyword = $left[$i].$matchKeyword;
2006
-
2007
- if($j > 0)
2008
- {
2009
- if(in_array($matchKeyword, $keywordEnglish))
2010
- {
2011
- $leftcameraflag = true;
2012
- break;
2013
- }
2014
- else
2015
- {
2016
- continue;
2017
- }
2018
- }
2019
- else
2020
- {
2021
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2022
- {
2023
- $leftcameraflag = true;
2024
- break;
2025
- }
2026
- }
2027
-
2028
- $j++;
2029
- }
2030
- }
2031
-
2032
- $rightcameraflag = false;
2033
- if(!empty($right))
2034
- {
2035
- $right = str_split($right);
2036
-
2037
- $matchKeyword = '';
2038
- for($i = 0; $i < count($right); $i++)
2039
- {
2040
- $matchKeyword .= $right[$i];
2041
- if($i > 0)
2042
- {
2043
- if(in_array($matchKeyword, $keywordEnglish))
2044
- {
2045
- $rightcameraflag = true;
2046
- break;
2047
- }
2048
- else
2049
- {
2050
- continue;
2051
- }
2052
- }
2053
- else
2054
- {
2055
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2056
- {
2057
- $rightcameraflag = true;
2058
- break;
2059
- }
2060
- }
2061
- }
2062
- }
2063
-
2064
- if(empty($left) && empty($right))
2065
- {
2066
- $cameraflag = true;
2067
- }
2068
- else
2069
- {
2070
- if(!empty($left) && !empty($right))
2071
- {
2072
- if($rightcameraflag && $leftcameraflag)
2073
- {
2074
- $cameraflag = true;
2075
- }
2076
- }
2077
- elseif(empty($left) && !empty($right))
2078
- {
2079
- if($rightcameraflag)
2080
- {
2081
- $cameraflag = true;
2082
- }
2083
- }
2084
- elseif(!empty($left) && empty($right))
2085
- {
2086
- if($leftcameraflag)
2087
- {
2088
- $cameraflag = true;
2089
- }
2090
- }
2091
- }
2092
- }
2093
- elseif(preg_match("/(photo)/im", $domainname))
2094
- {
2095
- $explode = explode("photo", $domainname);
2096
- $left = $explode[0];
2097
- $right = $explode[1];
2098
-
2099
- $leftcameraflag = false;
2100
- if(!empty($left))
2101
- {
2102
- $left = str_split($left);
2103
-
2104
- $matchKeyword = ''; $j = 0;
2105
- for($i = (count($left)-1); $i >= 0; $i--)
2106
- {
2107
- $matchKeyword = $left[$i].$matchKeyword;
2108
-
2109
- if($j > 0)
2110
- {
2111
- if(in_array($matchKeyword, $keywordEnglish))
2112
- {
2113
- $leftcameraflag = true;
2114
- break;
2115
- }
2116
- else
2117
- {
2118
- continue;
2119
- }
2120
- }
2121
- else
2122
- {
2123
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2124
- {
2125
- $leftcameraflag = true;
2126
- break;
2127
- }
2128
- }
2129
-
2130
- $j++;
2131
- }
2132
- }
2133
-
2134
- $rightcameraflag = false;
2135
- if(!empty($right))
2136
- {
2137
- $right = str_split($right);
2138
-
2139
- $matchKeyword = '';
2140
- for($i = 0; $i < count($right); $i++)
2141
- {
2142
- $matchKeyword .= $right[$i];
2143
- if($i > 0)
2144
- {
2145
- if(in_array($matchKeyword, $keywordEnglish))
2146
- {
2147
- $rightcameraflag = true;
2148
- break;
2149
- }
2150
- else
2151
- {
2152
- continue;
2153
- }
2154
- }
2155
- else
2156
- {
2157
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2158
- {
2159
- $rightcameraflag = true;
2160
- break;
2161
- }
2162
- }
2163
- }
2164
- }
2165
-
2166
- if(empty($left) && empty($right))
2167
- {
2168
- $cameraflag = true;
2169
- }
2170
- else
2171
- {
2172
- if(!empty($left) && !empty($right))
2173
- {
2174
- if($rightcameraflag && $leftcameraflag)
2175
- {
2176
- $cameraflag = true;
2177
- }
2178
- }
2179
- elseif(empty($left) && !empty($right))
2180
- {
2181
- if($rightcameraflag)
2182
- {
2183
- $cameraflag = true;
2184
- }
2185
- }
2186
- elseif(!empty($left) && empty($right))
2187
- {
2188
- if($leftcameraflag)
2189
- {
2190
- $cameraflag = true;
2191
- }
2192
- }
2193
- }
2194
- }
2195
- elseif(preg_match("/(snap)/im", $domainname))
2196
- {
2197
- $explode = explode("snap", $domainname);
2198
- $left = $explode[0];
2199
- $right = $explode[1];
2200
-
2201
- $leftcameraflag = false;
2202
- if(!empty($left))
2203
- {
2204
- $left = str_split($left);
2205
-
2206
- $matchKeyword = ''; $j = 0;
2207
- for($i = (count($left)-1); $i >= 0; $i--)
2208
- {
2209
- $matchKeyword = $left[$i].$matchKeyword;
2210
-
2211
- if($j > 0)
2212
- {
2213
- if(in_array($matchKeyword, $keywordEnglish))
2214
- {
2215
- $leftcameraflag = true;
2216
- break;
2217
- }
2218
- else
2219
- {
2220
- continue;
2221
- }
2222
- }
2223
- else
2224
- {
2225
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2226
- {
2227
- $leftcameraflag = true;
2228
- break;
2229
- }
2230
- }
2231
-
2232
- $j++;
2233
- }
2234
- }
2235
-
2236
- $rightcameraflag = false;
2237
- if(!empty($right))
2238
- {
2239
- $right = str_split($right);
2240
-
2241
- $matchKeyword = '';
2242
- for($i = 0; $i < count($right); $i++)
2243
- {
2244
- $matchKeyword .= $right[$i];
2245
- if($i > 0)
2246
- {
2247
- if(in_array($matchKeyword, $keywordEnglish))
2248
- {
2249
- $rightcameraflag = true;
2250
- break;
2251
- }
2252
- else
2253
- {
2254
- continue;
2255
- }
2256
- }
2257
- else
2258
- {
2259
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2260
- {
2261
- $rightcameraflag = true;
2262
- break;
2263
- }
2264
- }
2265
- }
2266
- }
2267
-
2268
- if(empty($left) && empty($right))
2269
- {
2270
- $cameraflag = true;
2271
- }
2272
- else
2273
- {
2274
- if(!empty($left) && !empty($right))
2275
- {
2276
- if($rightcameraflag && $leftcameraflag)
2277
- {
2278
- $cameraflag = true;
2279
- }
2280
- }
2281
- elseif(empty($left) && !empty($right))
2282
- {
2283
- if($rightcameraflag)
2284
- {
2285
- $cameraflag = true;
2286
- }
2287
- }
2288
- elseif(!empty($left) && empty($right))
2289
- {
2290
- if($leftcameraflag)
2291
- {
2292
- $cameraflag = true;
2293
- }
2294
- }
2295
- }
2296
- }
2297
- }
2298
- elseif(preg_match("/(housing|realestate|realtor|property|immoveables)/im", $domainname))
2299
- {
2300
- /*if(!empty($domainname))
2301
- {
2302
- $domainname = preg_replace('/cameracivile|cameradelcommercio|snapdragon|snappy/i', '', $domainname);
2303
- $explode = explode(".", $domainname);
2304
- $domainname = @$explode[0];
2305
- }*/
2306
- $houseflag = false;
2307
-
2308
- if(preg_match("/(realestate|realtor|property|immoveables)/im", $domainname))
2309
- {
2310
- $houseflag = true;
2311
- }
2312
- elseif(preg_match("/(housing)/im", $domainname))
2313
- {
2314
- $explode = explode("housing", $domainname);
2315
- $left = $explode[0];
2316
- $right = $explode[1];
2317
-
2318
- $lefthouseflag = false;
2319
- if(!empty($left))
2320
- {
2321
- $left = str_split($left);
2322
-
2323
- $matchKeyword = ''; $j = 0;
2324
- for($i = (count($left)-1); $i >= 0; $i--)
2325
- {
2326
- $matchKeyword = $left[$i].$matchKeyword;
2327
-
2328
- if($j > 0)
2329
- {
2330
- if(in_array($matchKeyword, $keywordEnglish))
2331
- {
2332
- $lefthouseflag = true;
2333
- break;
2334
- }
2335
- else
2336
- {
2337
- continue;
2338
- }
2339
- }
2340
- else
2341
- {
2342
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2343
- {
2344
- $lefthouseflag = true;
2345
- break;
2346
- }
2347
- }
2348
-
2349
- $j++;
2350
- }
2351
- }
2352
-
2353
- $righthouseflag = false;
2354
- if(!empty($right))
2355
- {
2356
- $right = str_split($right);
2357
-
2358
- $matchKeyword = '';
2359
- for($i = 0; $i < count($right); $i++)
2360
- {
2361
- $matchKeyword .= $right[$i];
2362
- if($i > 0)
2363
- {
2364
- if(in_array($matchKeyword, $keywordEnglish))
2365
- {
2366
- $righthouseflag = true;
2367
- break;
2368
- }
2369
- else
2370
- {
2371
- continue;
2372
- }
2373
- }
2374
- else
2375
- {
2376
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2377
- {
2378
- $righthouseflag = true;
2379
- break;
2380
- }
2381
- }
2382
- }
2383
- }
2384
-
2385
- if(empty($left) && empty($right))
2386
- {
2387
- $houseflag = true;
2388
- }
2389
- else
2390
- {
2391
- if(!empty($left) && !empty($right))
2392
- {
2393
- if($righthouseflag && $lefthouseflag)
2394
- {
2395
- $houseflag = true;
2396
- }
2397
- }
2398
- elseif(empty($left) && !empty($right))
2399
- {
2400
- if($righthouseflag)
2401
- {
2402
- $houseflag = true;
2403
- }
2404
- }
2405
- elseif(!empty($left) && empty($right))
2406
- {
2407
- if($lefthouseflag)
2408
- {
2409
- $houseflag = true;
2410
- }
2411
- }
2412
- }
2413
- }
2414
- }
2415
- elseif(preg_match("/(cook|cooking|recipe|chef|baking|roasting|grilling|frying|bake|grill|fry)/im", $domainname))
2416
- {
2417
- if(!empty($domainname))
2418
- {
2419
- $domainname = preg_replace('/grillo|grilla/i', '', $domainname);
2420
- $explode = explode(".", $domainname);
2421
- $domainname = @$explode[0];
2422
- }
2423
- $cookflag = false;
2424
-
2425
- if(preg_match("/(cooking|recipe|chef|baking|roasting|grilling|frying)/im", $domainname))
2426
- {
2427
- $cookflag = true;
2428
- }
2429
- elseif(preg_match("/(cook)/im", $domainname))
2430
- {
2431
- $explode = explode("cook", $domainname);
2432
- $left = $explode[0];
2433
- $right = $explode[1];
2434
-
2435
- $leftcookflag = false;
2436
- if(!empty($left))
2437
- {
2438
- $left = str_split($left);
2439
-
2440
- $matchKeyword = ''; $j = 0;
2441
- for($i = (count($left)-1); $i >= 0; $i--)
2442
- {
2443
- $matchKeyword = $left[$i].$matchKeyword;
2444
-
2445
- if($j > 0)
2446
- {
2447
- if(in_array($matchKeyword, $keywordEnglish))
2448
- {
2449
- $leftcookflag = true;
2450
- break;
2451
- }
2452
- else
2453
- {
2454
- continue;
2455
- }
2456
- }
2457
- else
2458
- {
2459
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2460
- {
2461
- $leftcookflag = true;
2462
- break;
2463
- }
2464
- }
2465
-
2466
- $j++;
2467
- }
2468
- }
2469
-
2470
- $rightcookflag = false;
2471
- if(!empty($right))
2472
- {
2473
- $right = str_split($right);
2474
-
2475
- $matchKeyword = '';
2476
- for($i = 0; $i < count($right); $i++)
2477
- {
2478
- $matchKeyword .= $right[$i];
2479
- if($i > 0)
2480
- {
2481
- if(in_array($matchKeyword, $keywordEnglish))
2482
- {
2483
- $rightcookflag = true;
2484
- break;
2485
- }
2486
- else
2487
- {
2488
- continue;
2489
- }
2490
- }
2491
- else
2492
- {
2493
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2494
- {
2495
- $rightcookflag = true;
2496
- break;
2497
- }
2498
- }
2499
- }
2500
- }
2501
-
2502
- if(empty($left) && empty($right))
2503
- {
2504
- $cookflag = true;
2505
- }
2506
- else
2507
- {
2508
- if(!empty($left) && !empty($right))
2509
- {
2510
- if($rightcookflag && $leftcookflag)
2511
- {
2512
- $cookflag = true;
2513
- }
2514
- }
2515
- elseif(empty($left) && !empty($right))
2516
- {
2517
- if($rightcookflag)
2518
- {
2519
- $cookflag = true;
2520
- }
2521
- }
2522
- elseif(!empty($left) && empty($right))
2523
- {
2524
- if($leftcookflag)
2525
- {
2526
- $cookflag = true;
2527
- }
2528
- }
2529
- }
2530
- }
2531
- elseif(preg_match("/(bake)/im", $domainname))
2532
- {
2533
- $explode = explode("bake", $domainname);
2534
- $left = $explode[0];
2535
- $right = $explode[1];
2536
-
2537
- $leftcookflag = false;
2538
- if(!empty($left))
2539
- {
2540
- $left = str_split($left);
2541
-
2542
- $matchKeyword = ''; $j = 0;
2543
- for($i = (count($left)-1); $i >= 0; $i--)
2544
- {
2545
- $matchKeyword = $left[$i].$matchKeyword;
2546
-
2547
- if($j > 0)
2548
- {
2549
- if(in_array($matchKeyword, $keywordEnglish))
2550
- {
2551
- $leftcookflag = true;
2552
- break;
2553
- }
2554
- else
2555
- {
2556
- continue;
2557
- }
2558
- }
2559
- else
2560
- {
2561
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2562
- {
2563
- $leftcookflag = true;
2564
- break;
2565
- }
2566
- }
2567
-
2568
- $j++;
2569
- }
2570
- }
2571
-
2572
- $rightcookflag = false;
2573
- if(!empty($right))
2574
- {
2575
- $right = str_split($right);
2576
-
2577
- $matchKeyword = '';
2578
- for($i = 0; $i < count($right); $i++)
2579
- {
2580
- $matchKeyword .= $right[$i];
2581
- if($i > 0)
2582
- {
2583
- if(in_array($matchKeyword, $keywordEnglish))
2584
- {
2585
- $rightcookflag = true;
2586
- break;
2587
- }
2588
- else
2589
- {
2590
- continue;
2591
- }
2592
- }
2593
- else
2594
- {
2595
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2596
- {
2597
- $rightcookflag = true;
2598
- break;
2599
- }
2600
- }
2601
- }
2602
- }
2603
-
2604
- if(empty($left) && empty($right))
2605
- {
2606
- $cookflag = true;
2607
- }
2608
- else
2609
- {
2610
- if(!empty($left) && !empty($right))
2611
- {
2612
- if($rightcookflag && $leftcookflag)
2613
- {
2614
- $cookflag = true;
2615
- }
2616
- }
2617
- elseif(empty($left) && !empty($right))
2618
- {
2619
- if($rightcookflag)
2620
- {
2621
- $cookflag = true;
2622
- }
2623
- }
2624
- elseif(!empty($left) && empty($right))
2625
- {
2626
- if($leftcookflag)
2627
- {
2628
- $cookflag = true;
2629
- }
2630
- }
2631
- }
2632
- }
2633
- elseif(preg_match("/(grill)/im", $domainname))
2634
- {
2635
- $explode = explode("grill", $domainname);
2636
- $left = $explode[0];
2637
- $right = $explode[1];
2638
-
2639
- $leftcookflag = false;
2640
- if(!empty($left))
2641
- {
2642
- $left = str_split($left);
2643
-
2644
- $matchKeyword = ''; $j = 0;
2645
- for($i = (count($left)-1); $i >= 0; $i--)
2646
- {
2647
- $matchKeyword = $left[$i].$matchKeyword;
2648
-
2649
- if($j > 0)
2650
- {
2651
- if(in_array($matchKeyword, $keywordEnglish))
2652
- {
2653
- $leftcookflag = true;
2654
- break;
2655
- }
2656
- else
2657
- {
2658
- continue;
2659
- }
2660
- }
2661
- else
2662
- {
2663
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2664
- {
2665
- $leftcookflag = true;
2666
- break;
2667
- }
2668
- }
2669
-
2670
- $j++;
2671
- }
2672
- }
2673
-
2674
- $rightcookflag = false;
2675
- if(!empty($right))
2676
- {
2677
- $right = str_split($right);
2678
-
2679
- $matchKeyword = '';
2680
- for($i = 0; $i < count($right); $i++)
2681
- {
2682
- $matchKeyword .= $right[$i];
2683
- if($i > 0)
2684
- {
2685
- if(in_array($matchKeyword, $keywordEnglish))
2686
- {
2687
- $rightcookflag = true;
2688
- break;
2689
- }
2690
- else
2691
- {
2692
- continue;
2693
- }
2694
- }
2695
- else
2696
- {
2697
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2698
- {
2699
- $rightcookflag = true;
2700
- break;
2701
- }
2702
- }
2703
- }
2704
- }
2705
-
2706
- if(empty($left) && empty($right))
2707
- {
2708
- $cookflag = true;
2709
- }
2710
- else
2711
- {
2712
- if(!empty($left) && !empty($right))
2713
- {
2714
- if($rightcookflag && $leftcookflag)
2715
- {
2716
- $cookflag = true;
2717
- }
2718
- }
2719
- elseif(empty($left) && !empty($right))
2720
- {
2721
- if($rightcookflag)
2722
- {
2723
- $cookflag = true;
2724
- }
2725
- }
2726
- elseif(!empty($left) && empty($right))
2727
- {
2728
- if($leftcookflag)
2729
- {
2730
- $cookflag = true;
2731
- }
2732
- }
2733
- }
2734
- }
2735
- elseif(preg_match("/(fry)/im", $domainname))
2736
- {
2737
- $explode = explode("fry", $domainname);
2738
- $left = $explode[0];
2739
- $right = $explode[1];
2740
-
2741
- $leftcookflag = false;
2742
- if(!empty($left))
2743
- {
2744
- $left = str_split($left);
2745
-
2746
- $matchKeyword = ''; $j = 0;
2747
- for($i = (count($left)-1); $i >= 0; $i--)
2748
- {
2749
- $matchKeyword = $left[$i].$matchKeyword;
2750
-
2751
- if($j > 0)
2752
- {
2753
- if(in_array($matchKeyword, $keywordEnglish))
2754
- {
2755
- $leftcookflag = true;
2756
- break;
2757
- }
2758
- else
2759
- {
2760
- continue;
2761
- }
2762
- }
2763
- else
2764
- {
2765
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2766
- {
2767
- $leftcookflag = true;
2768
- break;
2769
- }
2770
- }
2771
-
2772
- $j++;
2773
- }
2774
- }
2775
-
2776
- $rightcookflag = false;
2777
- if(!empty($right))
2778
- {
2779
- $right = str_split($right);
2780
-
2781
- $matchKeyword = '';
2782
- for($i = 0; $i < count($right); $i++)
2783
- {
2784
- $matchKeyword .= $right[$i];
2785
- if($i > 0)
2786
- {
2787
- if(in_array($matchKeyword, $keywordEnglish))
2788
- {
2789
- $rightcookflag = true;
2790
- break;
2791
- }
2792
- else
2793
- {
2794
- continue;
2795
- }
2796
- }
2797
- else
2798
- {
2799
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2800
- {
2801
- $rightcookflag = true;
2802
- break;
2803
- }
2804
- }
2805
- }
2806
- }
2807
-
2808
- if(empty($left) && empty($right))
2809
- {
2810
- $cookflag = true;
2811
- }
2812
- else
2813
- {
2814
- if(!empty($left) && !empty($right))
2815
- {
2816
- if($rightcookflag && $leftcookflag)
2817
- {
2818
- $cookflag = true;
2819
- }
2820
- }
2821
- elseif(empty($left) && !empty($right))
2822
- {
2823
- if($rightcookflag)
2824
- {
2825
- $cookflag = true;
2826
- }
2827
- }
2828
- elseif(!empty($left) && empty($right))
2829
- {
2830
- if($leftcookflag)
2831
- {
2832
- $cookflag = true;
2833
- }
2834
- }
2835
- }
2836
- }
2837
- }
2838
- elseif(preg_match("/(drink|drinking|wine|winery|softdrinks|booze|guzzle|drunk)/im", $domainname))
2839
- {
2840
- /*if(!empty($domainname))
2841
- {
2842
- $domainname = preg_replace('/grillo|grilla/i', '', $domainname);
2843
- $explode = explode(".", $domainname);
2844
- $domainname = @$explode[0];
2845
- }*/
2846
- $drinkflag = false;
2847
-
2848
- if(preg_match("/(drinking|wine|winery|softdrinks|booze|guzzle)/im", $domainname))
2849
- {
2850
- $drinkflag = true;
2851
- }
2852
- elseif(preg_match("/(drunk)/im", $domainname))
2853
- {
2854
- $explode = explode("drunk", $domainname);
2855
- $left = $explode[0];
2856
- $right = $explode[1];
2857
-
2858
- $leftdrinkflag = false;
2859
- if(!empty($left))
2860
- {
2861
- $left = str_split($left);
2862
-
2863
- $matchKeyword = ''; $j = 0;
2864
- for($i = (count($left)-1); $i >= 0; $i--)
2865
- {
2866
- $matchKeyword = $left[$i].$matchKeyword;
2867
-
2868
- if($j > 0)
2869
- {
2870
- if(in_array($matchKeyword, $keywordEnglish))
2871
- {
2872
- $leftdrinkflag = true;
2873
- break;
2874
- }
2875
- else
2876
- {
2877
- continue;
2878
- }
2879
- }
2880
- else
2881
- {
2882
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2883
- {
2884
- $leftdrinkflag = true;
2885
- break;
2886
- }
2887
- }
2888
-
2889
- $j++;
2890
- }
2891
- }
2892
-
2893
- $rightdrinkflag = false;
2894
- if(!empty($right))
2895
- {
2896
- $right = str_split($right);
2897
-
2898
- $matchKeyword = '';
2899
- for($i = 0; $i < count($right); $i++)
2900
- {
2901
- $matchKeyword .= $right[$i];
2902
- if($i > 0)
2903
- {
2904
- if(in_array($matchKeyword, $keywordEnglish))
2905
- {
2906
- $rightdrinkflag = true;
2907
- break;
2908
- }
2909
- else
2910
- {
2911
- continue;
2912
- }
2913
- }
2914
- else
2915
- {
2916
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2917
- {
2918
- $rightdrinkflag = true;
2919
- break;
2920
- }
2921
- }
2922
- }
2923
- }
2924
-
2925
- if(empty($left) && empty($right))
2926
- {
2927
- $drinkflag = true;
2928
- }
2929
- else
2930
- {
2931
- if(!empty($left) && !empty($right))
2932
- {
2933
- if($rightdrinkflag && $leftdrinkflag)
2934
- {
2935
- $drinkflag = true;
2936
- }
2937
- }
2938
- elseif(empty($left) && !empty($right))
2939
- {
2940
- if($rightdrinkflag)
2941
- {
2942
- $drinkflag = true;
2943
- }
2944
- }
2945
- elseif(!empty($left) && empty($right))
2946
- {
2947
- if($leftdrinkflag)
2948
- {
2949
- $drinkflag = true;
2950
- }
2951
- }
2952
- }
2953
- }
2954
- elseif(preg_match("/(drink)/im", $domainname))
2955
- {
2956
- $explode = explode("drink", $domainname);
2957
- $left = $explode[0];
2958
- $right = $explode[1];
2959
-
2960
- $leftdrinkflag = false;
2961
- if(!empty($left))
2962
- {
2963
- $left = str_split($left);
2964
-
2965
- $matchKeyword = ''; $j = 0;
2966
- for($i = (count($left)-1); $i >= 0; $i--)
2967
- {
2968
- $matchKeyword = $left[$i].$matchKeyword;
2969
-
2970
- if($j > 0)
2971
- {
2972
- if(in_array($matchKeyword, $keywordEnglish))
2973
- {
2974
- $leftdrinkflag = true;
2975
- break;
2976
- }
2977
- else
2978
- {
2979
- continue;
2980
- }
2981
- }
2982
- else
2983
- {
2984
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
2985
- {
2986
- $leftdrinkflag = true;
2987
- break;
2988
- }
2989
- }
2990
-
2991
- $j++;
2992
- }
2993
- }
2994
-
2995
- $rightdrinkflag = false;
2996
- if(!empty($right))
2997
- {
2998
- $right = str_split($right);
2999
-
3000
- $matchKeyword = '';
3001
- for($i = 0; $i < count($right); $i++)
3002
- {
3003
- $matchKeyword .= $right[$i];
3004
- if($i > 0)
3005
- {
3006
- if(in_array($matchKeyword, $keywordEnglish))
3007
- {
3008
- $rightdrinkflag = true;
3009
- break;
3010
- }
3011
- else
3012
- {
3013
- continue;
3014
- }
3015
- }
3016
- else
3017
- {
3018
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3019
- {
3020
- $rightdrinkflag = true;
3021
- break;
3022
- }
3023
- }
3024
- }
3025
- }
3026
-
3027
- if(empty($left) && empty($right))
3028
- {
3029
- $drinkflag = true;
3030
- }
3031
- else
3032
- {
3033
- if(!empty($left) && !empty($right))
3034
- {
3035
- if($rightdrinkflag && $leftdrinkflag)
3036
- {
3037
- $drinkflag = true;
3038
- }
3039
- }
3040
- elseif(empty($left) && !empty($right))
3041
- {
3042
- if($rightdrinkflag)
3043
- {
3044
- $drinkflag = true;
3045
- }
3046
- }
3047
- elseif(!empty($left) && empty($right))
3048
- {
3049
- if($leftdrinkflag)
3050
- {
3051
- $drinkflag = true;
3052
- }
3053
- }
3054
- }
3055
- }
3056
- }
3057
- elseif (preg_match("/(travel|journey|trekking|voyage|trek|trip|hike|hiking)/im", $domainname))
3058
- {
3059
- if(!empty($domainname))
3060
- {
3061
- $domainname = preg_replace('/startrek|trekstar|strip|stripper|trippy|stripping|tripwire/i', '', $domainname);
3062
- $explode = explode(".", $domainname);
3063
- $domainname = @$explode[0];
3064
- }
3065
-
3066
- $travelflag = false;
3067
-
3068
- if(preg_match("/(travel|journey|trekking|voyage)/im", $domainname))
3069
- {
3070
- $travelflag = true;
3071
- }
3072
- elseif(preg_match("/(treks)/im", $domainname))
3073
- {
3074
- $explode = explode("treks", $domainname);
3075
- $left = $explode[0];
3076
- $right = $explode[1];
3077
-
3078
- $lefttravelflag = false;
3079
- if(!empty($left))
3080
- {
3081
- $left = str_split($left);
3082
-
3083
- $matchKeyword = ''; $j = 0;
3084
- for($i = (count($left)-1); $i >= 0; $i--)
3085
- {
3086
- $matchKeyword = $left[$i].$matchKeyword;
3087
-
3088
- if($j > 0)
3089
- {
3090
- if(in_array($matchKeyword, $keywordEnglish))
3091
- {
3092
- $lefttravelflag = true;
3093
- break;
3094
- }
3095
- else
3096
- {
3097
- continue;
3098
- }
3099
- }
3100
- else
3101
- {
3102
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3103
- {
3104
- $lefttravelflag = true;
3105
- break;
3106
- }
3107
- }
3108
-
3109
- $j++;
3110
- }
3111
- }
3112
-
3113
- $righttravelflag = false;
3114
- if(!empty($right))
3115
- {
3116
- $right = str_split($right);
3117
-
3118
- $matchKeyword = '';
3119
- for($i = 0; $i < count($right); $i++)
3120
- {
3121
- $matchKeyword .= $right[$i];
3122
-
3123
- if($i > 0)
3124
- {
3125
- if(in_array($matchKeyword, $keywordEnglish))
3126
- {
3127
- $righttravelflag = true;
3128
- break;
3129
- }
3130
- else
3131
- {
3132
- continue;
3133
- }
3134
- }
3135
- else
3136
- {
3137
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3138
- {
3139
- $righttravelflag = true;
3140
- break;
3141
- }
3142
- }
3143
- }
3144
- }
3145
-
3146
- if(empty($left) && empty($right))
3147
- {
3148
- $travelflag = true;
3149
- }
3150
- else
3151
- {
3152
- if(!empty($left) && !empty($right))
3153
- {
3154
- if($righttravelflag && $lefttravelflag)
3155
- {
3156
- $travelflag = true;
3157
- }
3158
- }
3159
- elseif(empty($left) && !empty($right))
3160
- {
3161
- if($righttravelflag)
3162
- {
3163
- $travelflag = true;
3164
- }
3165
- }
3166
- elseif(!empty($left) && empty($right))
3167
- {
3168
- if($lefttravelflag)
3169
- {
3170
- $travelflag = true;
3171
- }
3172
- }
3173
- }
3174
- }
3175
- elseif(preg_match("/(trek)/im", $domainname))
3176
- {
3177
- $explode = explode("trek", $domainname);
3178
- $left = $explode[0];
3179
- $right = $explode[1];
3180
-
3181
- $lefttravelflag = false;
3182
- if(!empty($left))
3183
- {
3184
- $left = str_split($left);
3185
-
3186
- $matchKeyword = ''; $j = 0;
3187
- for($i = (count($left)-1); $i >= 0; $i--)
3188
- {
3189
- $matchKeyword = $left[$i].$matchKeyword;
3190
-
3191
- if($j > 0)
3192
- {
3193
- if(in_array($matchKeyword, $keywordEnglish))
3194
- {
3195
- $lefttravelflag = true;
3196
- break;
3197
- }
3198
- else
3199
- {
3200
- continue;
3201
- }
3202
- }
3203
- else
3204
- {
3205
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3206
- {
3207
- $lefttravelflag = true;
3208
- break;
3209
- }
3210
- }
3211
-
3212
- $j++;
3213
- }
3214
- }
3215
-
3216
- $righttravelflag = false;
3217
- if(!empty($right))
3218
- {
3219
- $right = str_split($right);
3220
-
3221
- $matchKeyword = '';
3222
- for($i = 0; $i < count($right); $i++)
3223
- {
3224
- $matchKeyword .= $right[$i];
3225
- if($i > 0)
3226
- {
3227
- if(in_array($matchKeyword, $keywordEnglish))
3228
- {
3229
- $righttravelflag = true;
3230
- break;
3231
- }
3232
- else
3233
- {
3234
- continue;
3235
- }
3236
- }
3237
- else
3238
- {
3239
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3240
- {
3241
- $righttravelflag = true;
3242
- break;
3243
- }
3244
- }
3245
- }
3246
- }
3247
-
3248
- if(empty($left) && empty($right))
3249
- {
3250
- $travelflag = true;
3251
- }
3252
- else
3253
- {
3254
- if(!empty($left) && !empty($right))
3255
- {
3256
- if($righttravelflag && $lefttravelflag)
3257
- {
3258
- $travelflag = true;
3259
- }
3260
- }
3261
- elseif(empty($left) && !empty($right))
3262
- {
3263
- if($righttravelflag)
3264
- {
3265
- $travelflag = true;
3266
- }
3267
- }
3268
- elseif(!empty($left) && empty($right))
3269
- {
3270
- if($lefttravelflag)
3271
- {
3272
- $travelflag = true;
3273
- }
3274
- }
3275
- }
3276
- }
3277
- elseif(preg_match("/(trips)/im", $domainname))
3278
- {
3279
- $explode = explode("trips", $domainname);
3280
- $left = $explode[0];
3281
- $right = $explode[1];
3282
-
3283
- $lefttravelflag = false;
3284
- if(!empty($left))
3285
- {
3286
- $left = str_split($left);
3287
-
3288
- $matchKeyword = ''; $j = 0;
3289
- for($i = (count($left)-1); $i >= 0; $i--)
3290
- {
3291
- $matchKeyword = $left[$i].$matchKeyword;
3292
-
3293
- if($j > 0)
3294
- {
3295
- if(in_array($matchKeyword, $keywordEnglish))
3296
- {
3297
- $lefttravelflag = true;
3298
- break;
3299
- }
3300
- else
3301
- {
3302
- continue;
3303
- }
3304
- }
3305
- else
3306
- {
3307
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3308
- {
3309
- $lefttravelflag = true;
3310
- break;
3311
- }
3312
- }
3313
-
3314
- $j++;
3315
- }
3316
- }
3317
-
3318
- $righttravelflag = false;
3319
- if(!empty($right))
3320
- {
3321
- $right = str_split($right);
3322
-
3323
- $matchKeyword = '';
3324
- for($i = 0; $i < count($right); $i++)
3325
- {
3326
- $matchKeyword .= $right[$i];
3327
-
3328
- if($i > 0)
3329
- {
3330
- if(in_array($matchKeyword, $keywordEnglish))
3331
- {
3332
- $righttravelflag = true;
3333
- break;
3334
- }
3335
- else
3336
- {
3337
- continue;
3338
- }
3339
- }
3340
- else
3341
- {
3342
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3343
- {
3344
- $righttravelflag = true;
3345
- break;
3346
- }
3347
- }
3348
- }
3349
- }
3350
-
3351
- if(empty($left) && empty($right))
3352
- {
3353
- $travelflag = true;
3354
- }
3355
- else
3356
- {
3357
- if(!empty($left) && !empty($right))
3358
- {
3359
- if($righttravelflag && $lefttravelflag)
3360
- {
3361
- $travelflag = true;
3362
- }
3363
- }
3364
- elseif(empty($left) && !empty($right))
3365
- {
3366
- if($righttravelflag)
3367
- {
3368
- $travelflag = true;
3369
- }
3370
- }
3371
- elseif(!empty($left) && empty($right))
3372
- {
3373
- if($lefttravelflag)
3374
- {
3375
- $travelflag = true;
3376
- }
3377
- }
3378
- }
3379
- }
3380
- elseif(preg_match("/(trip)/im", $domainname))
3381
- {
3382
- $explode = explode("trip", $domainname);
3383
- $left = $explode[0];
3384
- $right = $explode[1];
3385
-
3386
- $lefttravelflag = false;
3387
- if(!empty($left))
3388
- {
3389
- $left = str_split($left);
3390
-
3391
- $matchKeyword = ''; $j = 0;
3392
- for($i = (count($left)-1); $i >= 0; $i--)
3393
- {
3394
- $matchKeyword = $left[$i].$matchKeyword;
3395
-
3396
- if($j > 0)
3397
- {
3398
- if(in_array($matchKeyword, $keywordEnglish))
3399
- {
3400
- $lefttravelflag = true;
3401
- break;
3402
- }
3403
- else
3404
- {
3405
- continue;
3406
- }
3407
- }
3408
- else
3409
- {
3410
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3411
- {
3412
- $lefttravelflag = true;
3413
- break;
3414
- }
3415
- }
3416
-
3417
- $j++;
3418
- }
3419
- }
3420
-
3421
- $righttravelflag = false;
3422
- if(!empty($right))
3423
- {
3424
- $right = str_split($right);
3425
-
3426
- $matchKeyword = '';
3427
- for($i = 0; $i < count($right); $i++)
3428
- {
3429
- $matchKeyword .= $right[$i];
3430
- if($i > 0)
3431
- {
3432
- if(in_array($matchKeyword, $keywordEnglish))
3433
- {
3434
- $righttravelflag = true;
3435
- break;
3436
- }
3437
- else
3438
- {
3439
- continue;
3440
- }
3441
- }
3442
- else
3443
- {
3444
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3445
- {
3446
- $righttravelflag = true;
3447
- break;
3448
- }
3449
- }
3450
- }
3451
- }
3452
-
3453
- if(empty($left) && empty($right))
3454
- {
3455
- $travelflag = true;
3456
- }
3457
- else
3458
- {
3459
- if(!empty($left) && !empty($right))
3460
- {
3461
- if($righttravelflag && $lefttravelflag)
3462
- {
3463
- $travelflag = true;
3464
- }
3465
- }
3466
- elseif(empty($left) && !empty($right))
3467
- {
3468
- if($righttravelflag)
3469
- {
3470
- $travelflag = true;
3471
- }
3472
- }
3473
- elseif(!empty($left) && empty($right))
3474
- {
3475
- if($lefttravelflag)
3476
- {
3477
- $travelflag = true;
3478
- }
3479
- }
3480
- }
3481
- }
3482
- elseif(preg_match("/(hike)/im", $domainname))
3483
- {
3484
- $explode = explode("hike", $domainname);
3485
- $left = $explode[0];
3486
- $right = $explode[1];
3487
-
3488
- $lefttravelflag = false;
3489
- if(!empty($left))
3490
- {
3491
- $left = str_split($left);
3492
-
3493
- $matchKeyword = ''; $j = 0;
3494
- for($i = (count($left)-1); $i >= 0; $i--)
3495
- {
3496
- $matchKeyword = $left[$i].$matchKeyword;
3497
-
3498
- if($j > 0)
3499
- {
3500
- if(in_array($matchKeyword, $keywordEnglish))
3501
- {
3502
- $lefttravelflag = true;
3503
- break;
3504
- }
3505
- else
3506
- {
3507
- continue;
3508
- }
3509
- }
3510
- else
3511
- {
3512
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3513
- {
3514
- $lefttravelflag = true;
3515
- break;
3516
- }
3517
- }
3518
-
3519
- $j++;
3520
- }
3521
- }
3522
-
3523
- $righttravelflag = false;
3524
- if(!empty($right))
3525
- {
3526
- $right = str_split($right);
3527
-
3528
- $matchKeyword = '';
3529
- for($i = 0; $i < count($right); $i++)
3530
- {
3531
- $matchKeyword .= $right[$i];
3532
-
3533
- if($i > 0)
3534
- {
3535
- if(in_array($matchKeyword, $keywordEnglish))
3536
- {
3537
- $righttravelflag = true;
3538
- break;
3539
- }
3540
- else
3541
- {
3542
- continue;
3543
- }
3544
- }
3545
- else
3546
- {
3547
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3548
- {
3549
- $righttravelflag = true;
3550
- break;
3551
- }
3552
- }
3553
- }
3554
- }
3555
-
3556
- if(empty($left) && empty($right))
3557
- {
3558
- $travelflag = true;
3559
- }
3560
- else
3561
- {
3562
- if(!empty($left) && !empty($right))
3563
- {
3564
- if($righttravelflag && $lefttravelflag)
3565
- {
3566
- $travelflag = true;
3567
- }
3568
- }
3569
- elseif(empty($left) && !empty($right))
3570
- {
3571
- if($righttravelflag)
3572
- {
3573
- $travelflag = true;
3574
- }
3575
- }
3576
- elseif(!empty($left) && empty($right))
3577
- {
3578
- if($lefttravelflag)
3579
- {
3580
- $travelflag = true;
3581
- }
3582
- }
3583
- }
3584
- }
3585
- elseif(preg_match("/(hiking)/im", $domainname))
3586
- {
3587
- $explode = explode("hiking", $domainname);
3588
- $left = $explode[0];
3589
- $right = $explode[1];
3590
-
3591
- $lefttravelflag = false;
3592
- if(!empty($left))
3593
- {
3594
- $left = str_split($left);
3595
-
3596
- $matchKeyword = ''; $j = 0;
3597
- for($i = (count($left)-1); $i >= 0; $i--)
3598
- {
3599
- $matchKeyword = $left[$i].$matchKeyword;
3600
-
3601
- if($j > 0)
3602
- {
3603
- if(in_array($matchKeyword, $keywordEnglish))
3604
- {
3605
- $lefttravelflag = true;
3606
- break;
3607
- }
3608
- else
3609
- {
3610
- continue;
3611
- }
3612
- }
3613
- else
3614
- {
3615
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3616
- {
3617
- $lefttravelflag = true;
3618
- break;
3619
- }
3620
- }
3621
-
3622
- $j++;
3623
- }
3624
- }
3625
-
3626
- $righttravelflag = false;
3627
- if(!empty($right))
3628
- {
3629
- $right = str_split($right);
3630
-
3631
- $matchKeyword = '';
3632
- for($i = 0; $i < count($right); $i++)
3633
- {
3634
- $matchKeyword .= $right[$i];
3635
- if($i > 0)
3636
- {
3637
- if(in_array($matchKeyword, $keywordEnglish))
3638
- {
3639
- $righttravelflag = true;
3640
- break;
3641
- }
3642
- else
3643
- {
3644
- continue;
3645
- }
3646
- }
3647
- else
3648
- {
3649
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3650
- {
3651
- $righttravelflag = true;
3652
- break;
3653
- }
3654
- }
3655
- }
3656
- }
3657
-
3658
- if(empty($left) && empty($right))
3659
- {
3660
- $travelflag = true;
3661
- }
3662
- else
3663
- {
3664
- if(!empty($left) && !empty($right))
3665
- {
3666
- if($righttravelflag && $lefttravelflag)
3667
- {
3668
- $travelflag = true;
3669
- }
3670
- }
3671
- elseif(empty($left) && !empty($right))
3672
- {
3673
- if($righttravelflag)
3674
- {
3675
- $travelflag = true;
3676
- }
3677
- }
3678
- elseif(!empty($left) && empty($right))
3679
- {
3680
- if($lefttravelflag)
3681
- {
3682
- $travelflag = true;
3683
- }
3684
- }
3685
- }
3686
- }
3687
- }
3688
- elseif (preg_match("/(music|sound|rhythm|guitar|singing|audio|piano|violin|cello|song|drums)/im", $domainname))
3689
- {
3690
- if(!empty($domainname))
3691
- {
3692
- $domainname = preg_replace('/eardrums|balisong|thaisong/i', '', $domainname);
3693
- $explode = explode(".", $domainname);
3694
- $domainname = @$explode[0];
3695
- }
3696
-
3697
- $musicflag = false;
3698
-
3699
- if(preg_match("/(music|sound|rhythm|guitar|singing|audio|piano|violin)/im", $domainname))
3700
- {
3701
- $musicflag = true;
3702
- }
3703
- elseif(preg_match("/(drums)/im", $domainname))
3704
- {
3705
- $explode = explode("drums", $domainname);
3706
- $left = $explode[0];
3707
- $right = $explode[1];
3708
-
3709
- $leftmusicflag = false;
3710
- if(!empty($left))
3711
- {
3712
- $left = str_split($left);
3713
-
3714
- $matchKeyword = ''; $j = 0;
3715
- for($i = (count($left)-1); $i >= 0; $i--)
3716
- {
3717
- $matchKeyword = $left[$i].$matchKeyword;
3718
-
3719
- if($j > 0)
3720
- {
3721
- if(in_array($matchKeyword, $keywordEnglish))
3722
- {
3723
- $leftmusicflag = true;
3724
- break;
3725
- }
3726
- else
3727
- {
3728
- continue;
3729
- }
3730
- }
3731
- else
3732
- {
3733
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3734
- {
3735
- $leftmusicflag = true;
3736
- break;
3737
- }
3738
- }
3739
-
3740
- $j++;
3741
- }
3742
- }
3743
-
3744
- $rightmusicflag = false;
3745
- if(!empty($right))
3746
- {
3747
- $right = str_split($right);
3748
-
3749
- $matchKeyword = '';
3750
- for($i = 0; $i < count($right); $i++)
3751
- {
3752
- $matchKeyword .= $right[$i];
3753
-
3754
- if($i > 0)
3755
- {
3756
- if(in_array($matchKeyword, $keywordEnglish))
3757
- {
3758
- $rightmusicflag = true;
3759
- break;
3760
- }
3761
- else
3762
- {
3763
- continue;
3764
- }
3765
- }
3766
- else
3767
- {
3768
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3769
- {
3770
- $rightmusicflag = true;
3771
- break;
3772
- }
3773
- }
3774
- }
3775
- }
3776
-
3777
- if(empty($left) && empty($right))
3778
- {
3779
- $musicflag = true;
3780
- }
3781
- else
3782
- {
3783
- if(!empty($left) && !empty($right))
3784
- {
3785
- if($rightmusicflag && $leftmusicflag)
3786
- {
3787
- $musicflag = true;
3788
- }
3789
- }
3790
- elseif(empty($left) && !empty($right))
3791
- {
3792
- if($rightmusicflag)
3793
- {
3794
- $musicflag = true;
3795
- }
3796
- }
3797
- elseif(!empty($left) && empty($right))
3798
- {
3799
- if($leftmusicflag)
3800
- {
3801
- $musicflag = true;
3802
- }
3803
- }
3804
- }
3805
- }
3806
- elseif(preg_match("/(celloes)/im", $domainname))
3807
- {
3808
- $explode = explode("celloes", $domainname);
3809
- $left = $explode[0];
3810
- $right = $explode[1];
3811
-
3812
- $leftmusicflag = false;
3813
- if(!empty($left))
3814
- {
3815
- $left = str_split($left);
3816
-
3817
- $matchKeyword = ''; $j = 0;
3818
- for($i = (count($left)-1); $i >= 0; $i--)
3819
- {
3820
- $matchKeyword = $left[$i].$matchKeyword;
3821
-
3822
- if($j > 0)
3823
- {
3824
- if(in_array($matchKeyword, $keywordEnglish))
3825
- {
3826
- $leftmusicflag = true;
3827
- break;
3828
- }
3829
- else
3830
- {
3831
- continue;
3832
- }
3833
- }
3834
- else
3835
- {
3836
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3837
- {
3838
- $leftmusicflag = true;
3839
- break;
3840
- }
3841
- }
3842
 
3843
- $j++;
3844
- }
3845
- }
3846
 
3847
- $rightmusicflag = false;
3848
- if(!empty($right))
3849
- {
3850
- $right = str_split($right);
3851
-
3852
- $matchKeyword = '';
3853
- for($i = 0; $i < count($right); $i++)
3854
- {
3855
- $matchKeyword .= $right[$i];
3856
- if($i > 0)
3857
- {
3858
- if(in_array($matchKeyword, $keywordEnglish))
3859
- {
3860
- $rightmusicflag = true;
3861
- break;
3862
- }
3863
- else
3864
- {
3865
- continue;
3866
- }
3867
- }
3868
- else
3869
- {
3870
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3871
- {
3872
- $rightmusicflag = true;
3873
- break;
3874
- }
3875
- }
3876
- }
3877
- }
3878
 
3879
- if(empty($left) && empty($right))
3880
- {
3881
- $musicflag = true;
3882
- }
3883
- else
3884
- {
3885
- if(!empty($left) && !empty($right))
3886
- {
3887
- if($rightmusicflag && $leftmusicflag)
3888
- {
3889
- $musicflag = true;
3890
- }
3891
- }
3892
- elseif(empty($left) && !empty($right))
3893
- {
3894
- if($rightmusicflag)
3895
- {
3896
- $musicflag = true;
3897
- }
3898
- }
3899
- elseif(!empty($left) && empty($right))
3900
- {
3901
- if($leftmusicflag)
3902
- {
3903
- $musicflag = true;
3904
- }
3905
- }
3906
- }
3907
- }
3908
- elseif(preg_match("/(cello)/im", $domainname))
3909
- {
3910
- $explode = explode("cello", $domainname);
3911
- $left = $explode[0];
3912
- $right = $explode[1];
3913
 
3914
- $leftmusicflag = false;
3915
- if(!empty($left))
3916
- {
3917
- $left = str_split($left);
3918
-
3919
- $matchKeyword = ''; $j = 0;
3920
- for($i = (count($left)-1); $i >= 0; $i--)
3921
- {
3922
- $matchKeyword = $left[$i].$matchKeyword;
3923
-
3924
- if($j > 0)
3925
- {
3926
- if(in_array($matchKeyword, $keywordEnglish))
3927
- {
3928
- $leftmusicflag = true;
3929
- break;
3930
- }
3931
- else
3932
- {
3933
- continue;
3934
- }
3935
- }
3936
- else
3937
- {
3938
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3939
- {
3940
- $leftmusicflag = true;
3941
- break;
3942
- }
3943
- }
3944
 
3945
- $j++;
3946
- }
3947
- }
3948
 
3949
- $rightmusicflag = false;
3950
- if(!empty($right))
3951
- {
3952
- $right = str_split($right);
3953
-
3954
- $matchKeyword = '';
3955
- for($i = 0; $i < count($right); $i++)
3956
- {
3957
- $matchKeyword .= $right[$i];
3958
- if($i > 0)
3959
- {
3960
- if(in_array($matchKeyword, $keywordEnglish))
3961
- {
3962
- $rightmusicflag = true;
3963
- break;
3964
- }
3965
- else
3966
- {
3967
- continue;
3968
- }
3969
- }
3970
- else
3971
- {
3972
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
3973
- {
3974
- $rightmusicflag = true;
3975
- break;
3976
- }
3977
- }
3978
- }
3979
- }
3980
 
3981
- if(empty($left) && empty($right))
3982
- {
3983
- $musicflag = true;
3984
- }
3985
- else
3986
- {
3987
- if(!empty($left) && !empty($right))
3988
- {
3989
- if($rightmusicflag && $leftmusicflag)
3990
- {
3991
- $musicflag = true;
3992
- }
3993
- }
3994
- elseif(empty($left) && !empty($right))
3995
- {
3996
- if($rightmusicflag)
3997
- {
3998
- $musicflag = true;
3999
- }
4000
- }
4001
- elseif(!empty($left) && empty($right))
4002
- {
4003
- if($leftmusicflag)
4004
- {
4005
- $musicflag = true;
4006
- }
4007
- }
4008
- }
4009
- }
4010
- elseif(preg_match("/(songs)/im", $domainname))
4011
  {
4012
- $explode = explode("songs", $domainname);
4013
- $left = $explode[0];
4014
- $right = $explode[1];
4015
-
4016
- $leftmusicflag = false;
4017
- if(!empty($left))
4018
- {
4019
- $left = str_split($left);
4020
-
4021
- $matchKeyword = ''; $j = 0;
4022
- for($i = (count($left)-1); $i >= 0; $i--)
4023
- {
4024
- $matchKeyword = $left[$i].$matchKeyword;
4025
-
4026
- if($j > 0)
4027
- {
4028
- if(in_array($matchKeyword, $keywordEnglish))
4029
- {
4030
- $leftmusicflag = true;
4031
- break;
4032
- }
4033
- else
4034
- {
4035
- continue;
4036
- }
4037
- }
4038
- else
4039
- {
4040
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
4041
- {
4042
- $leftmusicflag = true;
4043
- break;
4044
- }
4045
- }
4046
 
4047
- $j++;
4048
- }
4049
- }
4050
 
4051
- $rightmusicflag = false;
4052
- if(!empty($right))
4053
- {
4054
- $right = str_split($right);
4055
-
4056
- $matchKeyword = '';
4057
- for($i = 0; $i < count($right); $i++)
4058
- {
4059
- $matchKeyword .= $right[$i];
4060
- if($i > 0)
4061
- {
4062
- if(in_array($matchKeyword, $keywordEnglish))
4063
- {
4064
- $rightmusicflag = true;
4065
- break;
4066
- }
4067
- else
4068
- {
4069
- continue;
4070
- }
4071
- }
4072
- else
4073
- {
4074
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
4075
- {
4076
- $rightmusicflag = true;
4077
- break;
4078
- }
4079
- }
4080
- }
4081
- }
4082
 
4083
- if(empty($left) && empty($right))
4084
- {
4085
- $musicflag = true;
4086
- }
4087
- else
4088
- {
4089
- if(!empty($left) && !empty($right))
4090
- {
4091
- if($rightmusicflag && $leftmusicflag)
4092
- {
4093
- $musicflag = true;
4094
- }
4095
- }
4096
- elseif(empty($left) && !empty($right))
4097
- {
4098
- if($rightmusicflag)
4099
- {
4100
- $musicflag = true;
4101
- }
4102
- }
4103
- elseif(!empty($left) && empty($right))
4104
- {
4105
- if($leftmusicflag)
4106
- {
4107
- $musicflag = true;
4108
- }
4109
- }
4110
- }
4111
  }
4112
- elseif(preg_match("/(song)/im", $domainname))
4113
- {
4114
- $explode = explode("song", $domainname);
4115
- $left = $explode[0];
4116
- $right = $explode[1];
4117
-
4118
- $leftmusicflag = false;
4119
- if(!empty($left))
4120
- {
4121
- $left = str_split($left);
4122
-
4123
- $matchKeyword = ''; $j = 0;
4124
- for($i = (count($left)-1); $i >= 0; $i--)
4125
- {
4126
- $matchKeyword = $left[$i].$matchKeyword;
4127
-
4128
- if($j > 0)
4129
- {
4130
- if(in_array($matchKeyword, $keywordEnglish))
4131
- {
4132
- $leftmusicflag = true;
4133
- break;
4134
- }
4135
- else
4136
- {
4137
- continue;
4138
- }
4139
- }
4140
- else
4141
- {
4142
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
4143
- {
4144
- $leftmusicflag = true;
4145
- break;
4146
- }
4147
- }
4148
-
4149
- $j++;
4150
- }
4151
- }
4152
 
4153
- $rightmusicflag = false;
4154
- if(!empty($right))
4155
- {
4156
- $right = str_split($right);
4157
-
4158
- $matchKeyword = '';
4159
- for($i = 0; $i < count($right); $i++)
4160
- {
4161
- $matchKeyword .= $right[$i];
4162
- if($i > 0)
4163
- {
4164
- if(in_array($matchKeyword, $keywordEnglish))
4165
- {
4166
- $rightmusicflag = true;
4167
- break;
4168
- }
4169
- else
4170
- {
4171
- continue;
4172
- }
4173
- }
4174
- else
4175
- {
4176
- if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
4177
- {
4178
- $rightmusicflag = true;
4179
- break;
4180
- }
4181
- }
4182
- }
4183
- }
4184
 
4185
- if(empty($left) && empty($right))
4186
- {
4187
- $musicflag = true;
4188
- }
4189
- else
4190
- {
4191
- if(!empty($left) && !empty($right))
4192
- {
4193
- if($rightmusicflag && $leftmusicflag)
4194
- {
4195
- $musicflag = true;
4196
- }
4197
- }
4198
- elseif(empty($left) && !empty($right))
4199
- {
4200
- if($rightmusicflag)
4201
- {
4202
- $musicflag = true;
4203
- }
4204
- }
4205
- elseif(!empty($left) && empty($right))
4206
- {
4207
- if($leftmusicflag)
4208
- {
4209
- $musicflag = true;
4210
- }
4211
- }
4212
- }
4213
- }
4214
- }
4215
-
4216
- if($catflag)
4217
- {
4218
- echo '<div class="sfsi_new_notification_cat">
4219
- <div class="sfsi_new_notification_header_cat">
4220
- <h1>Do you like cats?</h1>
4221
- <h3>The <a href="https://www.ultimatelysocial.com/Cat-themed-icons/?utm_source=any_settings_page&utm_campaign=Cat_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4222
- <div class="sfsi_new_notification_cross_cat">X</div>
4223
- </div>
4224
-
4225
- <div class="sfsi_new_notification_body_link_cat">
4226
- <a href="https://www.ultimatelysocial.com/Cat-themed-icons/?utm_source=any_settings_page&utm_campaign=Cat_icons&utm_medium=banner" target="_blank">
4227
- <div class="sfsi_new_notification_body_cat">
4228
- <div class="sfsi_new_notification_image_cat">
4229
- <img src="'.SFSI_PLUGURL.'images/cats.png" id="newImg" />
4230
- </div>
4231
- </div>
4232
- </a>
4233
- <div class="bottom_text">
4234
- <a href="https://www.ultimatelysocial.com/Cat-themed-icons/?utm_source=any_settings_page&utm_campaign=Cat_icons&utm_medium=banner">
4235
- See all cat-themed-icons >
4236
- </a>
4237
- </div>
4238
- </div>
4239
- </div>';
4240
- }
4241
- elseif($horseflag)
4242
- {
4243
- echo '<div class="sfsi_new_notification_cat">
4244
- <div class="sfsi_new_notification_header_cat">
4245
- <h1>Do you like horses?</h1>
4246
- <h3>The <a href="https://www.ultimatelysocial.com/Horse-themed-icons/?utm_source=any_settings_page&utm_campaign=Horse_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4247
- <div class="sfsi_new_notification_cross_cat">X</div>
4248
- </div>
4249
-
4250
- <div class="sfsi_new_notification_body_link_cat">
4251
- <a href="https://www.ultimatelysocial.com/Horse-themed-icons/?utm_source=any_settings_page&utm_campaign=Horse_icons&utm_medium=banner" target="_blank">
4252
- <div class="sfsi_new_notification_body_cat">
4253
- <div class="sfsi_new_notification_image_cat">
4254
- <img src="'.SFSI_PLUGURL.'images/horses.png" id="newImg" />
4255
- </div>
4256
- </div>
4257
- </a>
4258
- <div class="bottom_text">
4259
- <a href="https://www.ultimatelysocial.com/Horse-themed-icons/?utm_source=any_settings_page&utm_campaign=Horse_icons&utm_medium=banner">
4260
- See all horse-themed-icons >
4261
- </a>
4262
- </div>
4263
- </div>
4264
- </div>';
4265
- }
4266
- elseif($toothflag)
4267
- {
4268
- echo '<div class="sfsi_new_notification_cat">
4269
- <div class="sfsi_new_notification_header_cat">
4270
- <h1>You got a thing with teeth?</h1>
4271
- <h3>The <a href="https://www.ultimatelysocial.com/Teeth-shaped-icons/?utm_source=any_settings_page&utm_campaign=Teeth_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4272
- <div class="sfsi_new_notification_cross_cat">X</div>
4273
- </div>
4274
-
4275
- <div class="sfsi_new_notification_body_link_cat">
4276
- <a href="https://www.ultimatelysocial.com/Teeth-shaped-icons/?utm_source=any_settings_page&utm_campaign=Teeth_icons&utm_medium=banner" target="_blank">
4277
- <div class="sfsi_new_notification_body_cat">
4278
- <div class="sfsi_new_notification_image_cat">
4279
- <img src="'.SFSI_PLUGURL.'images/teeth.png" id="newImg" />
4280
- </div>
4281
- </div>
4282
- </a>
4283
- <div class="bottom_text">
4284
- <a href="https://www.ultimatelysocial.com/Teeth-shaped-icons/?utm_source=any_settings_page&utm_campaign=Teeth_icons&utm_medium=banner">
4285
- See all teeth-themed-icons >
4286
- </a>
4287
- </div>
4288
- </div>
4289
- </div>';
4290
- }
4291
- elseif($beerflag)
4292
- {
4293
- echo '<div class="sfsi_new_notification_cat">
4294
- <div class="sfsi_new_notification_header_cat">
4295
- <h1>You like beer?</h1>
4296
- <h3>The <a href="https://www.ultimatelysocial.com/Beer-themed-icons/?utm_source=any_settings_page&utm_campaign=Beer_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4297
- <div class="sfsi_new_notification_cross_cat">X</div>
4298
- </div>
4299
-
4300
- <div class="sfsi_new_notification_body_link_cat">
4301
- <a href="https://www.ultimatelysocial.com/Beer-themed-icons/?utm_source=any_settings_page&utm_campaign=Beer_icons&utm_medium=banner" target="_blank">
4302
- <div class="sfsi_new_notification_body_cat">
4303
- <div class="sfsi_new_notification_image_cat">
4304
- <img src="'.SFSI_PLUGURL.'images/beer.png" id="newImg" />
4305
- </div>
4306
- </div>
4307
- </a>
4308
- <div class="bottom_text">
4309
- <a href="https://www.ultimatelysocial.com/Beer-themed-icons/?utm_source=any_settings_page&utm_campaign=Beer_icons&utm_medium=banner">
4310
- See all beer-themed-icons >
4311
- </a>
4312
- </div>
4313
- </div>
4314
- </div>';
4315
- }
4316
- elseif($cameraflag)
4317
- {
4318
- echo '<div class="sfsi_new_notification_cat">
4319
- <div class="sfsi_new_notification_header_cat">
4320
- <h1>You like photography?</h1>
4321
- <h3>The <a href="https://www.ultimatelysocial.com/Photography-themed-icons/?utm_source=any_settings_page&utm_campaign=Photography_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4322
- <div class="sfsi_new_notification_cross_cat">X</div>
4323
- </div>
4324
-
4325
- <div class="sfsi_new_notification_body_link_cat">
4326
- <a href="https://www.ultimatelysocial.com/Photography-themed-icons/?utm_source=any_settings_page&utm_campaign=Photography_icons&utm_medium=banner" target="_blank">
4327
- <div class="sfsi_new_notification_body_cat">
4328
- <div class="sfsi_new_notification_image_cat">
4329
- <img src="'.SFSI_PLUGURL.'images/photo.png" id="newImg" />
4330
- </div>
4331
- </div>
4332
- </a>
4333
- <div class="bottom_text">
4334
- <a href="https://www.ultimatelysocial.com/Photography-themed-icons/?utm_source=any_settings_page&utm_campaign=Photography_icons&utm_medium=banner">
4335
- See all photography-themed-icons >
4336
- </a>
4337
- </div>
4338
- </div>
4339
- </div>';
4340
- }
4341
- elseif($houseflag)
4342
- {
4343
- echo '<div class="sfsi_new_notification_cat">
4344
- <div class="sfsi_new_notification_header_cat">
4345
- <h1>You are into real estate?</h1>
4346
- <h3>The <a href="https://www.ultimatelysocial.com/Realestate-themed-icons/?utm_source=any_settings_page&utm_campaign=Realestate_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4347
- <div class="sfsi_new_notification_cross_cat">X</div>
4348
- </div>
4349
-
4350
- <div class="sfsi_new_notification_body_link_cat">
4351
- <a href="https://www.ultimatelysocial.com/Realestate-themed-icons/?utm_source=any_settings_page&utm_campaign=Realestate_icons&utm_medium=banner" target="_blank">
4352
- <div class="sfsi_new_notification_body_cat">
4353
- <div class="sfsi_new_notification_image_cat">
4354
- <img src="'.SFSI_PLUGURL.'images/house.png" id="newImg" />
4355
- </div>
4356
- </div>
4357
- </a>
4358
- <div class="bottom_text">
4359
- <a href="https://www.ultimatelysocial.com/Realestate-themed-icons/?utm_source=any_settings_page&utm_campaign=Realestate_icons&utm_medium=banner">
4360
- See all real-estate-themed-icons >
4361
- </a>
4362
- </div>
4363
- </div>
4364
- </div>';
4365
- }
4366
- elseif($cookflag)
4367
- {
4368
- echo '<div class="sfsi_new_notification_cat">
4369
- <div class="sfsi_new_notification_header_cat">
4370
- <h1>You like cooking?</h1>
4371
- <h3>The <a href="https://www.ultimatelysocial.com/Cooking-themed-icons/?utm_source=any_settings_page&utm_campaign=Cooking_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4372
- <div class="sfsi_new_notification_cross_cat">X</div>
4373
- </div>
4374
-
4375
- <div class="sfsi_new_notification_body_link_cat">
4376
- <a href="https://www.ultimatelysocial.com/Cooking-themed-icons/?utm_source=any_settings_page&utm_campaign=Cooking_icons&utm_medium=banner" target="_blank">
4377
- <div class="sfsi_new_notification_body_cat">
4378
- <div class="sfsi_new_notification_image_cat">
4379
- <img src="'.SFSI_PLUGURL.'images/cooking.png" id="newImg" />
4380
- </div>
4381
- </div>
4382
- </a>
4383
- <div class="bottom_text">
4384
- <a href="https://www.ultimatelysocial.com/Cooking-themed-icons/?utm_source=any_settings_page&utm_campaign=Cooking_icons&utm_medium=banner">
4385
- See all cooking-themed-icons >
4386
- </a>
4387
- </div>
4388
- </div>
4389
- </div>';
4390
- }
4391
- elseif($drinkflag)
4392
- {
4393
- echo '<div class="sfsi_new_notification_cat">
4394
- <div class="sfsi_new_notification_header_cat">
4395
- <h1>You like drinks?</h1>
4396
- <h3>The <a href="https://www.ultimatelysocial.com/Drinking-themed-icons/?utm_source=any_settings_page&utm_campaign=Drinking_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4397
- <div class="sfsi_new_notification_cross_cat">X</div>
4398
- </div>
4399
-
4400
- <div class="sfsi_new_notification_body_link_cat">
4401
- <a href="https://www.ultimatelysocial.com/Drinking-themed-icons/?utm_source=any_settings_page&utm_campaign=Drinking_icons&utm_medium=banner" target="_blank">
4402
- <div class="sfsi_new_notification_body_cat">
4403
- <div class="sfsi_new_notification_image_cat">
4404
- <img src="'.SFSI_PLUGURL.'images/beer.png" id="newImg" />
4405
- </div>
4406
- </div>
4407
- </a>
4408
- <div class="bottom_text">
4409
- <a href="https://www.ultimatelysocial.com/Drinking-themed-icons/?utm_source=any_settings_page&utm_campaign=Drinking_icons&utm_medium=banner">
4410
- See all drinking-themed-icons >
4411
- </a>
4412
- </div>
4413
- </div>
4414
- </div>';
4415
- }
4416
- elseif($travelflag)
4417
- {
4418
- echo '<div class="sfsi_new_notification_cat">
4419
- <div class="sfsi_new_notification_header_cat">
4420
- <h1>You like travelling?</h1>
4421
- <h3>The <a href="https://www.ultimatelysocial.com/Travel-themed-icons/?utm_source=any_settings_page&utm_campaign=Travel_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4422
- <div class="sfsi_new_notification_cross_cat">X</div>
4423
- </div>
4424
-
4425
- <div class="sfsi_new_notification_body_link_cat">
4426
- <a href="https://www.ultimatelysocial.com/Travel-themed-icons/?utm_source=any_settings_page&utm_campaign=Travel_icons&utm_medium=banner" target="_blank">
4427
- <div class="sfsi_new_notification_body_cat">
4428
- <div class="sfsi_new_notification_image_cat">
4429
- <img src="'.SFSI_PLUGURL.'images/travel.png" id="newImg" />
4430
- </div>
4431
- </div>
4432
- </a>
4433
- <div class="bottom_text">
4434
- <a href="https://www.ultimatelysocial.com/Travel-themed-icons/?utm_source=any_settings_page&utm_campaign=Travel_icons&utm_medium=banner">
4435
- See all travel-themed-icons >
4436
- </a>
4437
- </div>
4438
- </div>
4439
- </div>';
4440
- }
4441
- elseif($musicflag)
4442
- {
4443
- echo '<div class="sfsi_new_notification_cat">
4444
- <div class="sfsi_new_notification_header_cat">
4445
- <h1>You like music?</h1>
4446
- <h3>The <a href="https://www.ultimatelysocial.com/Music-themed-icons/?utm_source=any_settings_page&utm_campaign=Music_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4447
- <div class="sfsi_new_notification_cross_cat">X</div>
4448
- </div>
4449
-
4450
- <div class="sfsi_new_notification_body_link_cat">
4451
- <a href="https://www.ultimatelysocial.com/Music-themed-icons/?utm_source=any_settings_page&utm_campaign=Music_icons&utm_medium=banner" target="_blank">
4452
- <div class="sfsi_new_notification_body_cat">
4453
- <div class="sfsi_new_notification_image_cat">
4454
- <img src="'.SFSI_PLUGURL.'images/music.png" id="newImg" />
4455
- </div>
4456
- </div>
4457
- </a>
4458
- <div class="bottom_text">
4459
- <a href="https://www.ultimatelysocial.com/Music-themed-icons/?utm_source=any_settings_page&utm_campaign=Music_icons&utm_medium=banner">
4460
- See all music-themed-icons >
4461
- </a>
4462
- </div>
4463
- </div>
4464
- </div>';
4465
- }
4466
- else
4467
- {
4468
  echo '<div class="sfsi_new_notification_cat">
4469
  <div class="sfsi_new_notification_header_cat">
4470
  <h1>New feature: Tailored icons</h1>
4471
- <h3>The <a href="https://www.ultimatelysocial.com/themed-icons/?utm_source=any_settings_page&utm_campaign=Themed_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
4472
  <div class="sfsi_new_notification_cross_cat">X</div>
4473
  </div>
4474
-
4475
  <div class="sfsi_new_notification_body_link_cat">
4476
- <a class ="tailored_icons_img" href="https://www.ultimatelysocial.com/themed-icons/?utm_source=any_settings_page&utm_campaign=Themed_icons&utm_medium=banner" target="_blank">
4477
  <div class="sfsi_new_notification_body_cat">
4478
  <div class="sfsi_new_notification_image_cat">
4479
  <img src="'.SFSI_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
@@ -4481,13 +936,13 @@ function sfsi_bannerOption()
4481
  </div>
4482
  </a>
4483
  <div class="bottom_text">
4484
- <a href="https://www.ultimatelysocial.com/themed-icons/?utm_source=any_settings_page&utm_campaign=Themed_icons&utm_medium=banner">
4485
  See more-themed-icons >
4486
  </a>
4487
  </div>
4488
  </div>
4489
- </div>';
4490
- }
4491
 
4492
  echo '<script type="text/javascript">
4493
  jQuery("body").on("click", ".sfsi_new_notification_cross", function(){
@@ -4517,7 +972,7 @@ function sfsi_bannerOption()
4517
  });
4518
  });
4519
  </script>';
4520
- }
4521
  die;
4522
  }
4523
  ?>
875
  }
876
  function sfsi_returningElement($element) {return $element[0];}
877
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
878
 
879
+ add_action('wp_ajax_bannerOption','sfsi_bannerOption');
 
 
880
 
881
+ function sfsi_bannerOption(){
882
+ error_reporting(0);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
883
 
884
+ if(get_option("show_new_notification") == "yes"){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
885
 
886
+ $objThemeCheck = new sfsi_ThemeCheck();
887
+
888
+ $domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
889
+ // Get all themes data which incudes nobrainer
890
+ $themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
891
 
892
+ $matchFound = false;
 
 
893
 
894
+ foreach ($themeDataArr as $themeDataObj) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
895
 
896
+ if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0){
897
+
898
+ $themeName = $themeDataObj->themeName;
899
+ $noBrainerKeywords = $themeDataObj->noBrainerKeywords;
900
+ $separateKeywords = $themeDataObj->separateKeywords;
901
+ $negativeKeywords = $themeDataObj->negativeKeywords;
902
+ $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
903
+
904
+ if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
905
  {
906
+ $matchFound = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
907
 
908
+ $themeName = strtolower($themeName);
 
 
909
 
910
+ $objThemeCheck->sfsi_plus_bannereHtml(
911
+ $themeDataObj->headline,
912
+ $themeDataObj->themeLink,
913
+ SFSI_PLUGURL.'images/website_theme/'.$themeName.'.png',
914
+ $themeDataObj->bottomtext
915
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
916
 
917
+ break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
918
  }
919
+ }
920
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
921
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
922
 
923
+ if(!$matchFound){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
924
  echo '<div class="sfsi_new_notification_cat">
925
  <div class="sfsi_new_notification_header_cat">
926
  <h1>New feature: Tailored icons</h1>
927
+ <h3>The <a href="https://www.ultimatelysocial.com/tailor-made-icons/?utm_source=usmplus_settings_page&utm_campaign=tailored_icons&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
928
  <div class="sfsi_new_notification_cross_cat">X</div>
929
  </div>
 
930
  <div class="sfsi_new_notification_body_link_cat">
931
+ <a class ="tailored_icons_img" href="https://www.ultimatelysocial.com/tailor-made-icons/?utm_source=usmplus_settings_page&utm_campaign=tailored_icons&utm_medium=banner" target="_blank">
932
  <div class="sfsi_new_notification_body_cat">
933
  <div class="sfsi_new_notification_image_cat">
934
  <img src="'.SFSI_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
936
  </div>
937
  </a>
938
  <div class="bottom_text">
939
+ <a href="https://www.ultimatelysocial.com/tailor-made-icons/?utm_source=usmplus_settings_page&utm_campaign=tailored_icons&utm_medium=banner">
940
  See more-themed-icons >
941
  </a>
942
  </div>
943
  </div>
944
+ </div>';
945
+ }
946
 
947
  echo '<script type="text/javascript">
948
  jQuery("body").on("click", ".sfsi_new_notification_cross", function(){
972
  });
973
  });
974
  </script>';
975
+ }
976
  die;
977
  }
978
  ?>
libs/controllers/sfsi_class_theme_check.php ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class sfsi_ThemeCheck
4
+ {
5
+ public function sfsi_plus_string_to_arr($str){
6
+
7
+ $arrSingleQuote = array();
8
+
9
+ if(strlen(trim($str))>0){
10
+ $arrSingleQuote = explode(",", $str);
11
+ }
12
+ return $arrSingleQuote;
13
+ }
14
+
15
+ public function sfsi_plus_getdomain($url)
16
+ {
17
+ $pieces = parse_url($url);
18
+ $domain = isset($pieces['host']) ? $pieces['host'] : '';
19
+ if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)) {
20
+ return $regs['domain'];
21
+ }
22
+ return false;
23
+ }
24
+
25
+ public function sfsi_plus_returningElement($element) {return $element[0];}
26
+
27
+ public function sfsi_plus_get_themeData(){
28
+
29
+ $keywordFile = SFSI_PLUS_DOCROOT."/themedata.csv";
30
+ $keywordData = @file_get_contents($keywordFile);
31
+ $keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
32
+ $themeDataArr = array();
33
+
34
+ if(isset($keywordEnglish) && count($keywordEnglish)>0){
35
+
36
+ unset($keywordEnglish[0]);
37
+
38
+ $finalArr = array_filter(array_values($keywordEnglish));
39
+
40
+ if(isset($finalArr) && count($finalArr)>0){
41
+
42
+ for($i=0;$i<count($finalArr);$i++) {
43
+
44
+ if(is_array($finalArr[$i])){
45
+
46
+ $arrVal = $finalArr[$i];
47
+
48
+ $themeArr = array();
49
+ $themeArr['themeName'] = preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[0]));
50
+ $themeArr['noBrainerKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[1])));
51
+ $themeArr['separateKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[2])));
52
+ $themeArr['negativeKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[3])));
53
+ $themeArr['headline'] = (isset($arrVal[4]) && strlen(trim($arrVal[4]))==0)? "You like ".trim($arrVal[0])." ?" : trim($arrVal[4]);
54
+ $themeArr['themeLink'] = trim($arrVal[5]);
55
+ $themeArr['bottomtext'] = (isset($arrVal[6]) && strlen(trim($arrVal[6]))==0)? "See all ".strtolower(trim($arrVal[0]))."-themed-icons": trim($arrVal[6]);
56
+
57
+ array_push($themeDataArr, (object)$themeArr);
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ return $themeDataArr;
64
+ }
65
+
66
+ public function sfsi_plus_get_keywordEnglish(){
67
+ $keywordFile = SFSI_PLUS_DOCROOT."/All_english_words_better_list.csv";
68
+ $keywordData = @file_get_contents($keywordFile);
69
+ $keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
70
+ $keywordEnglish = array_map('array_filter', $keywordEnglish);
71
+ $keywordEnglish = array_filter(array_map(sfsi_plus_returningElement($element), $keywordEnglish));
72
+ return $keywordEnglish;
73
+ }
74
+
75
+
76
+ public function sfsi_plus_regex_for_keywords($arrKeyWords){
77
+
78
+ $strRegex = "";
79
+
80
+ if(isset($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
81
+
82
+ $count = count($arrKeyWords);
83
+
84
+ if($count==1){
85
+ $strRegex .= "/".$arrKeyWords[0]."/im";
86
+ }
87
+ else{
88
+ for ($i=0; $i <$count ; $i++) {
89
+
90
+ $val = trim($arrKeyWords[$i]);
91
+
92
+ if($i==0){
93
+ $strRegex .= "/(".$val."|";
94
+ }
95
+ elseif ($i==$count-1) {
96
+ $strRegex .= $val.")/im";
97
+ }
98
+ else{
99
+ $strRegex.= $val."|";
100
+ }
101
+ }
102
+ }
103
+ }
104
+ return $strRegex;
105
+ }
106
+
107
+ public function sfsi_plus_regex_forNegative_keywords($arrKeyWords){
108
+
109
+ $strRegex = "";
110
+
111
+ if(isset($arrKeyWords) && count($arrKeyWords)>0 && is_array($arrKeyWords)){
112
+
113
+ $count = count($arrKeyWords);
114
+
115
+ if($count==1){
116
+ $strRegex .= "/".$arrKeyWords[0]."/i";
117
+ }
118
+ else{
119
+
120
+ for ($i=0; $i <$count ; $i++) {
121
+
122
+ $val = trim($arrKeyWords[$i]);
123
+
124
+ if($i==0){
125
+ $strRegex .= "/".$val."|";
126
+ }
127
+ elseif ($i==$count-1) {
128
+ $strRegex .= $val."/i";
129
+ }
130
+ else{
131
+ $strRegex.= $val."|";
132
+ }
133
+ }
134
+ }
135
+ }
136
+ return $strRegex;
137
+ }
138
+
139
+ public function sfsi_plus_match_separate_word_with_csv_data($seprateWord,$domainname){
140
+
141
+
142
+ $keywordEnglish = $this->sfsi_plus_get_keywordEnglish();
143
+
144
+ $finalKeywordEnglish = array();
145
+
146
+ foreach ($keywordEnglish as $val) {
147
+ if(is_array($val)) {
148
+ array_push($finalKeywordEnglish, $val[0]);
149
+ }
150
+ }
151
+
152
+ $catflag = false;
153
+
154
+ $explode = explode($seprateWord,$domainname);
155
+ $left = trim($explode[0]);
156
+ $right = trim($explode[1]);
157
+
158
+ $leftcatflag = false;
159
+
160
+ if(!empty($left))
161
+ {
162
+ $left = str_split($left);
163
+
164
+ $matchKeyword = ''; $j = 0;
165
+ for($i = (count($left)-1); $i >= 0; $i--)
166
+ {
167
+ $matchKeyword = $left[$i].$matchKeyword;
168
+
169
+ if($j > 0)
170
+ {
171
+ if(in_array($matchKeyword, $finalKeywordEnglish))
172
+ {
173
+ $leftcatflag = true;
174
+ break;
175
+ }
176
+ else
177
+ {
178
+ continue;
179
+ }
180
+ }
181
+ else
182
+ {
183
+ if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
184
+ {
185
+ $leftcatflag = true;
186
+ break;
187
+ }
188
+ }
189
+
190
+ $j++;
191
+ }
192
+ }
193
+
194
+ $rightcatflag = false;
195
+ if(!empty($right))
196
+ {
197
+ $right = str_split($right);
198
+
199
+ $matchKeyword = '';
200
+ for($i = 0; $i < count($right); $i++)
201
+ {
202
+ $matchKeyword .= $right[$i];
203
+
204
+ if($i > 0)
205
+ {
206
+ if(in_array($matchKeyword, $finalKeywordEnglish))
207
+ {
208
+ $rightcatflag = true;
209
+ break;
210
+ }
211
+ else
212
+ {
213
+ continue;
214
+ }
215
+ }
216
+ else
217
+ {
218
+ if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
219
+ {
220
+ $rightcatflag = true;
221
+ break;
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ if(empty($left) && empty($right))
228
+ {
229
+ $catflag = true;
230
+ }
231
+ else
232
+ {
233
+ if(!empty($left) && !empty($right))
234
+ {
235
+ if($rightcatflag && $leftcatflag)
236
+ {
237
+ $catflag = true;
238
+ }
239
+ }
240
+ elseif(empty($left) && !empty($right))
241
+ {
242
+ if($rightcatflag)
243
+ {
244
+ $catflag = true;
245
+ }
246
+ }
247
+ elseif(!empty($left) && empty($right))
248
+ {
249
+ if($leftcatflag)
250
+ {
251
+ $catflag = true;
252
+ }
253
+ }
254
+ }
255
+
256
+ return $catflag;
257
+ }
258
+
259
+ public function sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$domainname){
260
+
261
+ $boolSeparateWord = false;
262
+
263
+ if(isset($arrSeparateKeywords) && is_array($arrSeparateKeywords) && count($arrSeparateKeywords)>0){
264
+
265
+ foreach ($arrSeparateKeywords as $value) {
266
+
267
+ $val = trim($value);
268
+
269
+ if(isset($value) && strlen($val)>0){
270
+
271
+ if(preg_match("/(".$val.")/im", $domainname)){
272
+
273
+ $boolSeparateWord = $this->sfsi_plus_match_separate_word_with_csv_data($val,$domainname);
274
+
275
+ if($boolSeparateWord) {
276
+ break;
277
+ }
278
+
279
+ }
280
+ }
281
+ }
282
+ }
283
+
284
+ return $boolSeparateWord;
285
+ }
286
+
287
+
288
+ public function sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords,$domainname){
289
+
290
+ $bflag = false;
291
+
292
+ if(isset($arrNoBrainerKeywords) && count($arrNoBrainerKeywords)>0 && is_array($arrNoBrainerKeywords)>0){
293
+
294
+ if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerKeywords), $domainname)){
295
+ $bflag = true;
296
+ }
297
+ }
298
+ return $bflag;
299
+ }
300
+
301
+
302
+ public function sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($strCheckForThemeType,$arrNoBrainerKeywords,$arrSeparateKeywords,$arrNoBrainerAndSeparateKeywords,$arrNegativeKeywords,$domainname){
303
+
304
+ $flag = false;
305
+
306
+ if(is_array($arrNoBrainerAndSeparateKeywords) && isset($arrNoBrainerAndSeparateKeywords) && count($arrNoBrainerAndSeparateKeywords)>0){
307
+
308
+ if(preg_match($this->sfsi_plus_regex_for_keywords($arrNoBrainerAndSeparateKeywords), $domainname))
309
+ {
310
+ if(!empty($domainname))
311
+ {
312
+ if(is_array($arrNegativeKeywords) && isset($arrNegativeKeywords) && count($arrNegativeKeywords)){
313
+ $domainname = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $domainname);
314
+ $explode = explode(".", $domainname);
315
+ $domainname = @$explode[0];
316
+ }
317
+ }
318
+
319
+ if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $domainname)){
320
+ $flag = true;
321
+ }
322
+ else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$domainname)){
323
+ $flag = true;
324
+ }
325
+ }
326
+ }
327
+ return ($flag)? $strCheckForThemeType:$flag;
328
+ }
329
+
330
+ public function sfsi_plus_bannereHtml($title, $siteLink, $bannerImage, $buttonTitle)
331
+ {
332
+ echo '<div class="sfsi_plus_new_notification_cat">
333
+ <div class="sfsi_plus_new_notification_header_cat">
334
+ <h1>'.$title.'</h1>
335
+ <h3>The <a href="'.$siteLink.'" target="_blank">Premium Plugin</a> Includes these icons...</h3>
336
+ <div class="sfsi_plus_new_notification_cross_cat">X</div>
337
+ </div>
338
+
339
+ <div class="sfsi_plus_new_notification_body_link_cat">
340
+ <a href="'.$siteLink.'" target="_blank">
341
+ <div class="sfsi_plus_new_notification_body_cat">
342
+ <div class="sfsi_plus_new_notification_image_cat">
343
+ <img src="'.$bannerImage.'" id="newImg" />
344
+ </div>
345
+ </div>
346
+ </a>
347
+ <div class="sfsiplus_bottom_text">
348
+ <a href="'.$siteLink.'">
349
+ '.$buttonTitle.' >
350
+ </a>
351
+ </div>
352
+ </div>
353
+ </div>';
354
+ }
355
+ }
356
+ ?>
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "1.76");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "1.77");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude
3
  Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 2.8
5
  Tested up to: 4.8.1
6
- Stable tag: 1.7.6
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -267,6 +267,9 @@ You cannot use the same plugin twice, however you can install both the USM as we
267
 
268
  == Changelog ==
269
 
 
 
 
270
  = 1.7.6 =
271
  * Comment to selecting of specific text and picture per page/post added
272
 
@@ -630,5 +633,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
630
 
631
  == Upgrade Notice ==
632
 
633
- = 1.7.6 =
634
  Please upgrade
3
  Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 2.8
5
  Tested up to: 4.8.1
6
+ Stable tag: 1.7.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
267
 
268
  == Changelog ==
269
 
270
+ = 1.7.7 =
271
+ * Added more themed icon banners
272
+
273
  = 1.7.6 =
274
  * Comment to selecting of specific text and picture per page/post added
275
 
633
 
634
  == Upgrade Notice ==
635
 
636
+ = 1.7.7 =
637
  Please upgrade
themedata.csv ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,No-brainer keywords,Keywords as separate words (simulated in tool),Negative keywords,Headline,Link pointing to,Bottom-text
2
+ Cat,"cattery, catrescue, rescuedcat, kitten, kitty, meow, feline","cat, cats","Catherine,catwalk,",Do you like cats?,https://www.ultimatelysocial.com/Cat-themed-icons/?utm_source=any_settings_page&utm_campaign=Cat_icons&utm_medium=banner,See all cat-themed-icons >
3
+ Horse,"equine, gallop","horse, horses, pony, ponies","horseengine, seahorses, seahorse, seapony, seaponies, horseengines, ponytail",Do you like horses?,https://www.ultimatelysocial.com/Horse-themed-icons/?utm_source=any_settings_page&utm_campaign=Horse_icons&utm_medium=banner,See all horse-themed-icons >
4
+ Teeth,"dentist, teeth, dental",tooth,"bluetooth, gadgetooth",You got a thing with teeth?,https://www.ultimatelysocial.com/Teeth-shaped-icons/?utm_source=any_settings_page&utm_campaign=Teeth_icons&utm_medium=banner,See all teeth-themed-icons >
5
+ Beer,"beer, brewery, oktoberfest, barley, beerfest, brewers, brewer","brew, stout, malt, brews, stouts, malts","hebrew, malta",You like beer?,https://www.ultimatelysocial.com/Beer-themed-icons/?utm_source=any_settings_page&utm_campaign=Beer_icons&utm_medium=banner,See all beer-themed-icons >
6
+ Photography,"photography, snapshot, fotografia","camera, photo, snap, cameras, photos, snaps, foto, ","cameracivile, cameradelcommercio, snapdragon, snappy",You like photography?,https://www.ultimatelysocial.com/Photography-themed-icons/?utm_source=any_settings_page&utm_campaign=Photography_icons&utm_medium=banner,See all photography-themed-icons >
7
+ Realestate,"realestate, realtor, property, immoveables, accomodation","housing, housings, houses, house, casa ",bakehouse,Are you into real estate?,https://www.ultimatelysocial.com/Realestate-themed-icons/?utm_source=any_settings_page&utm_campaign=Realestate_icons&utm_medium=banner,See all real-estate-themed-icons >
8
+ Cooking,"cooking, recipe, chef, baking, roasting, grilling, frying, resto, restaurant, culinary, culinaria, salad, kitchen","cook, bake, grill, fry, cooks, bakes, grills, frys, dine","grillo, grilla, noureddine",You like cooking?,https://www.ultimatelysocial.com/Cooking-themed-icons/?utm_source=any_settings_page&utm_campaign=Cooking_icons&utm_medium=banner,See all cooking-themed-icons >
9
+ Drinking,"drinking, wine, winery, softdrinks, booze, guzzle","drunk, drink, drunks, drinks",,You like drinks?,https://www.ultimatelysocial.com/Drinking-themed-icons/?utm_source=any_settings_page&utm_campaign=Drinking_icons&utm_medium=banner,See all drinking-themed-icons >
10
+ Travel,"travel, journey, trekking, voyage, traveler, tourist, tourism, maps","trek, trip, treks, trips, hike, hiking","startrek, trekstar, strip, stripper, trippy, stripping, tripwire",You like travelling?,https://www.ultimatelysocial.com/Travel-themed-icons/?utm_source=any_settings_page&utm_campaign=Travel_icons&utm_medium=banner,See all travel-themed-icons >
11
+ Music,"music, sound, rhythm, guitar, singing, audio, piano, violin","drums, cello, celloes, song, songs","eardrums, balisong, thaisong",You like music?,https://www.ultimatelysocial.com/Music-themed-icons/?utm_source=any_settings_page&utm_campaign=Music_icons&utm_medium=banner,See all music-themed-icons >
12
+ Dogs,"puppy, pups, puppies, pooch, puppies","pup, dog, dogs","puppet, puppets, dogana",You like dogs?,https://www.ultimatelysocial.com/Dogs-themed-icons/?utm_source=any_settings_page&utm_campaign=Dogs_icons&utm_medium=banner,See all dogs-themed-icons >
13
+ Love,"dating, cupid, relationship, relationships, couples","date, dates",,You're a loving person?,https://www.ultimatelysocial.com/Love-themed-icons/?utm_source=any_settings_page&utm_campaign=Love_icons&utm_medium=banner,See all love-themed-icons >
14
+ ,,,,,,
15
+ ,,,,,,
16
+ Naturegardening,"environment, flora, flower, flowers, gardening, botany, sapling, saplings, greenpeace, fleurs, fleur","forest, forests, tree, trees, nature, garden","forestcity, gardenia",Is your site about nature / gardening?,https://www.ultimatelysocial.com/Naturegardening-themed-icons/?utm_source=any_settings_page&utm_campaign=Naturegardening_icons&utm_medium=banner,See all nature-themed-icons >
17
+ ,,,,,,
18
+ ,,,,,,
19
+ finance,"investing, finance, invest, money, business, entrepreneur, marketing, accounting, accountant, trading, taxes","bank, banks. loan, loans, seo, tax","foodbank, riverbanks, riverbank, taxi, taxis",Is your site about money?,https://www.ultimatelysocial.com/finance-themed-icons/?utm_source=any_settings_page&utm_campaign=finance_icons&utm_medium=banner,See all money-themed-icons >
20
+ Sports,"football, soccer, sport, sporting, baseball, basketball, tennis, rugby, boxing, cricket, bodybuilding, fitness, workout","muscle, muscles, ski","musclecar, musclecars",Is your site about sports?,https://www.ultimatelysocial.com/Sports-themed-icons/?utm_source=any_settings_page&utm_campaign=Sports_icons&utm_medium=banner,See all sports-themed-icons >
21
+ Automotives,"motorbikes, bike, truck, trucks, motors, automobile, automotive, automobiles, automotives, locomotive, locomotives, buses, trisikel, triciclo, biker, motociclismo, motociclista, motociclo, nissan, toyota, mitsubishi, ford, suzuki, fiat","car, cars, ride, rides, auto, trains, bus, tires, tire, sedan, SUV, wheel, wheels, wheelz, audi","carmen, carlo, carlos, carmela, carla, cartoon, carpet, carson, carpentry, carpenteer, carta, madagascar, ridere, automatick, automeritum, automation, buscando, bush, busk, tired, retired, busca, sedano, wheelchair, cartwheel, cartwheels",Is your site about automotives?,https://www.ultimatelysocial.com/Automotives-themed-icons/?utm_source=any_settings_page&utm_campaign=Automotives_icons&utm_medium=banner,See all automotives-themed-icons >
22
+ Tech,"computer, hardware, gadget, gadgets, computing, software, android","app, apps, pc, cpu, gpu, chip, chipset","appartement, applied, apprenties, apprentie, apparel, apparels, apprentice, apprentices, appointment, appointments, approach, apporoaches, apple, apples, potatochip, potatochips",Is your site about tech?,https://www.ultimatelysocial.com/Tech-themed-icons/?utm_source=any_settings_page&utm_campaign=Tech_icons&utm_medium=banner,See all IT-themed-icons >
23
+ Gaming,"gaming, games, playstation, xbox, nintendo, casino, poker, blackjack, gambling, ludico","ps2, ps3, ps4, ludo",,Is your site about gaming?,https://www.ultimatelysocial.com/Gaming-themed-icons/?utm_source=any_settings_page&utm_campaign=Gaming_icons&utm_medium=banner,See all games-themed-icons >
24
+ Literature,"literature, literatures","book, books, novel, novels, reading","booklet, booklets, facebook, ouchbook, sketchbook, sketchbooks, notebook, notebooks, bookkeeper, bookkeepers, bookeeper, bookeepers, chromebook, chromebooks, scrapbook, scrapbooks, novelty",,https://www.ultimatelysocial.com/Literature-themed-icons/?utm_source=any_settings_page&utm_campaign=Literature_icons&utm_medium=banner,See all book-themed-icons >
25
+ Religion,"jesus, buddha, church, churches, mosque, islam, muslim, quran, shinto, buddhism, buddhist, buddhists, muslims, catholic, catholics, christians, hebrew, hebrews, priest, priesthood, priests, judaism, judaists, judahist, mormon, mormons, judaica, shabbat, tanakh, torah, torahs, tanakhs, shabbats, testament, newtestament, oldtestament, ramadan, baptist, baptists","god, gods, christ, faith","godaddy, godfather, godfathers, godmother, godmothers, godmom, christmas, christabel",Is your site about religion?,https://www.ultimatelysocial.com/Religion-themed-icons/?utm_source=any_settings_page&utm_campaign=Religion_icons&utm_medium=banner,See all religion-themed-icons >
26
+ Art-Design,"Artist, artists, design, designer, illustration, illustrations, crafting, artista, illustrator, creative, painting, painter, paint,","craft, crafts, crafty, printing, art, arts","minecraft, warcraft, aircraft, singcraft, witchcraft, imprinting, stuttgart, smart, heart, hearts, start, starts. smarts, martha, apartamentre. stewart, stewarts, mart, marts, dart, darts, artrite",Is your site about art or design?,https://www.ultimatelysocial.com/Art-Design-themed-icons/?utm_source=any_settings_page&utm_campaign=Art-Design_icons&utm_medium=banner,See all art/design-themed-icons >
27
+ Fashion,"fashion, fashionista, clothes, clothing, shoes, gown, gowns,dressage, makeup, apparels, apparel, leather, shirt,"," dress, dresses, wear, mode, moda","dressing, address",Is your site about fashion?,https://www.ultimatelysocial.com/Fashion-themed-icons/?utm_source=any_settings_page&utm_campaign=Fashion_icons&utm_medium=banner,See all beauty/fashion-themed-icons >
28
+ Health,"doctor, clinic, medicine, wellness, clinica, healthcare, dentist, dental, surgeon, surgery, pharmacy, farmacy, klinik","health, pharma",,Is your site about health?,https://www.ultimatelysocial.com/Health-themed-icons/?utm_source=any_settings_page&utm_campaign=Health_icons&utm_medium=banner,See all health-themed-icons >
29
+ Animals,"wildlife, fauna, animals,animal, zoology",,,You like animals?,https://www.ultimatelysocial.com/Animals-themed-icons/?utm_source=any_settings_page&utm_campaign=Animals_icons&utm_medium=banner,See all animals-themed-icons >
30
+ Database,"mysql, query, newsql, nosql",sql,,Are you into big data?,https://www.ultimatelysocial.com/Database-themed-icons/?utm_source=any_settings_page&utm_campaign=Database_icons&utm_medium=banner,
31
+ Flowers,"flower, flowering,orchid, floreal, roses, blossom, infloressence, effloressence, flowete","floret, florets, fiore, fiori,","floretta, fiorello, fiorella, fioretta, fioretto",Are you a floreal person?,https://www.ultimatelysocial.com/Flowers-themed-icons/?utm_source=any_settings_page&utm_campaign=Flowers_icons&utm_medium=banner,
32
+ Shoes,"sneaker, sneakers, moccassin, moccassins, sandal, sandals, footwear, footgear, footgears","shoe, shoes, slippers","horseshoe, horseshoes, slippery",You like Shoes?,https://www.ultimatelysocial.com/Shoes-themed-icons/?utm_source=any_settings_page&utm_campaign=Shoes_icons&utm_medium=banner,
33
+ Agriculture,"agriculture, agricultural, agrarian, agriturismo, agrario, agricoltore, agricoltore, agricolo, agricoli, farmboy, farmgirl, farmer, farmers, harvest, harvesting, farmhouse","farm, farms","farmacy, farmacia, farmacie. farmington, bakefarm, farmshop",Is your site about agriculture and rural life?,https://www.ultimatelysocial.com/Agriculture-themed-icons/?utm_source=any_settings_page&utm_campaign=Agriculture_icons&utm_medium=banner,
34
+ Theatre,"theatre, theatres, broadway, dramaturgy, dramaturgies, theatrics. teatre, machaka, dance, dancing, dancer","opera, operas","operabrowser, operator, operators, operated",Do you love Theatre?,https://www.ultimatelysocial.com/Theatre-themed-icons/?utm_source=any_settings_page&utm_campaign=Theatre_icons&utm_medium=banner,
35
+ Beauty,"beauty, skincare, salon","spa, spas, nail, nails","newspaper, space, spaghetti, spasetti, thumbnail, thumbnails",Your site is all about beauty?,https://www.ultimatelysocial.com/Beauty-themed-icons/?utm_source=any_settings_page&utm_campaign=Beauty_icons&utm_medium=banner,
36
+ Holidays,"holiday, holidays, vaction, vacations, vacationer, hostel, hotel",,,Is your site about vacations and holidays?,https://www.ultimatelysocial.com/Holidays-themed-icons/?utm_source=any_settings_page&utm_campaign=Holidays_icons&utm_medium=banner,
37
+ Golf,"Golf, Golfer",pga,,Are you a golf fan?,https://www.ultimatelysocial.com/Golf-themed-icons/?utm_source=any_settings_page&utm_campaign=Golf_icons&utm_medium=banner,
38
+ Cricket,,Cricket,Crickets,Are you a cricket fanatic?,https://www.ultimatelysocial.com/Cricket-themed-icons/?utm_source=any_settings_page&utm_campaign=Cricket_icons&utm_medium=banner,
39
+ Motorsports,"rally, rallye, motoGP","Formula1, F1, Grand Prix, Fia",,Are you into motorsports?,https://www.ultimatelysocial.com/Motorsports-themed-icons/?utm_source=any_settings_page&utm_campaign=Motorsports_icons&utm_medium=banner,
40
+ Baseball,"baseball, baseballs, homerun, homeruns",,,Are you a baseball fanatic?,https://www.ultimatelysocial.com/Baseball-themed-icons/?utm_source=any_settings_page&utm_campaign=Baseball_icons&utm_medium=banner,
41
+ Martial-Arts,"kungfu, karate, martialarts, martial-arts, mma, kickboxing, muaythai, muay-thai, kempo, martial-artist, martialartist, judo, jujitsu","mma, ufc",,Are you into martial arts?,https://www.ultimatelysocial.com/Martial-Arts-themed-icons/?utm_source=any_settings_page&utm_campaign=Martial-Arts_icons&utm_medium=banner,
42
+ Sky-Diving,"skydiving, skydiver, skydivers, sky-diving, sky-diver, sky-divers, parachute, parachuting",,,Are you into sky diving?,https://www.ultimatelysocial.com/Sky-Diving-themed-icons/?utm_source=any_settings_page&utm_campaign=Sky-Diving_icons&utm_medium=banner,
43
+ American-Football,"americanfootball, gridiron","NFL, NCAA",,Are you an american football fan?,https://www.ultimatelysocial.com/American-Football-themed-icons/?utm_source=any_settings_page&utm_campaign=American-Football_icons&utm_medium=banner,
44
+ Tennis,tennis,,,Are you a tennis fan?,https://www.ultimatelysocial.com/Tennis-themed-icons/?utm_source=any_settings_page&utm_campaign=Tennis_icons&utm_medium=banner,
45
+ Volleyball,"volley, volleyball, pallavolo",,,Are you a volleyball fan?,https://www.ultimatelysocial.com/Volleyball-themed-icons/?utm_source=any_settings_page&utm_campaign=Volleyball_icons&utm_medium=banner,
46
+ Snooker,"snooker, snooker",,,Are you into snooker?,https://www.ultimatelysocial.com/Snooker-themed-icons/?utm_source=any_settings_page&utm_campaign=Snooker_icons&utm_medium=banner,
47
+ DIY,"do-it-yourself, doityourself, lifehack, lifehacker, lifehackers, mrfixit, mrfix-it","DIY, repair, repairing, repair",,Your site is about DIY,https://www.ultimatelysocial.com/DIY-themed-icons/?utm_source=any_settings_page&utm_campaign=DIY_icons&utm_medium=banner,
48
+ Video,"Movie, Cinema, filmaker, filmakers","TV, Film, video, videos","montevideo, videogame, videogames",Is your site about video entertainment?,https://www.ultimatelysocial.com/Video-themed-icons/?utm_source=any_settings_page&utm_campaign=Video_icons&utm_medium=banner,
49
+ Law,"attorney, attorneys, lawyer, lawyers, tribunal, tribunals, abogado, adwokat","law, laws, judge, judges",,Are you a lawyer?,https://www.ultimatelysocial.com/Law-themed-icons/?utm_source=any_settings_page&utm_campaign=Law_icons&utm_medium=banner,
50
+ Occult,"paranormal, occult, occultism, illusionism, illusionist, parapsychology","ghost, ghosts, haunted, ",ghostscript,Is your site about paranormal?,https://www.ultimatelysocial.com/Occult-themed-icons/?utm_source=any_settings_page&utm_campaign=Occult_icons&utm_medium=banner,
51
+ Toys,"LEGO, Playmobil, monopoly, boardgames, board-games","toys, toy, kid, kids","sextoy, sextoys",Are you into toys?,https://www.ultimatelysocial.com/Toys-themed-icons/?utm_source=any_settings_page&utm_campaign=Toys_icons&utm_medium=banner,
52
+ Fishing,"fishing, fisherman, fishermans",,,Do you love fishing?,https://www.ultimatelysocial.com/Fishing-themed-icons/?utm_source=any_settings_page&utm_campaign=Fishing_icons&utm_medium=banner,
53
+ Fantasy,"Elves, fairy, fairies","fantasy, dungeon, d&d, dungeons",,Are you a fantasy geek?,https://www.ultimatelysocial.com/Fantasy-themed-icons/?utm_source=any_settings_page&utm_campaign=Fantasy_icons&utm_medium=banner,
54
+ Scifi,"sciencefiction, science-fiction, scifi, sci-fi, starship, starships, spaceship, spaceships, startrek, starwars",,,Are you a sci-fi geek?,https://www.ultimatelysocial.com/Scifi-themed-icons/?utm_source=any_settings_page&utm_campaign=Scifi_icons&utm_medium=banner,
55
+ Shopping,"ecommerce, e-commerce, voucher, coupon, boutique","shop, shops, shopper, shoppers, shopping, shoppings","photoshop, photoshops, photoshopper, photoshoppers,photoshopping, photoshoppings",Is your site about ecommerce?,https://www.ultimatelysocial.com/Shopping-themed-icons/?utm_source=any_settings_page&utm_campaign=Shopping_icons&utm_medium=banner,
56
+ Dinosaurs,"paleontology, palaeontology, paleontologist, dinosaur, dinosaurs, pterosaur, pterosaurs, jurassic, triassic, cretaceous, mesozoic",,,Do you love dinosaurs?,https://www.ultimatelysocial.com/Dinosaurs-themed-icons/?utm_source=any_settings_page&utm_campaign=Dinosaurs_icons&utm_medium=banner,
57
+ Vegetables,"vegetables, vegetarian, veggie, vegan, verdure, verdura, legume, salad, aubergine, beet, broccoli, cabbage, pepper, cauliflower, cucumber, garlic, potato, olive, onion, pumpkin, squash ",,"beetribe, beetravel, beetribes, beetravels",Do you love vegan cuisine?,https://www.ultimatelysocial.com/Vegetables-themed-icons/?utm_source=any_settings_page&utm_campaign=Vegetables_icons&utm_medium=banner,
58
+ Fruits," grape, grapes, pommegrenade, peach, strawberry, strawberries, pineapple, watermelon, frutta, fruity","mango, mangoes, fruit, fruits,",,Is your website all about fruit?,https://www.ultimatelysocial.com/Fruits-themed-icons/?utm_source=any_settings_page&utm_campaign=Fruits_icons&utm_medium=banner,
59
+ SeaLife,"fish, fishes, dolphin, whale, whale","crab, crabs",,Do you love marine life?,https://www.ultimatelysocial.com/SeaLife-themed-icons/?utm_source=any_settings_page&utm_campaign=SeaLife_icons&utm_medium=banner,
60
+ Science,"science, sciences, scientific, scientist, scientists, physics, quantum, astronomy, mathematic, robotics, nasa, mathematica, Invention, inventions, genious, gizmo, gizmos, contraption, contraptions, novelty, novelties",math,,Are you into science?,https://www.ultimatelysocial.com/Science-themed-icons/?utm_source=any_settings_page&utm_campaign=Science_icons&utm_medium=banner,
61
+ Hunting,"hunting, hunter, poaching, poach, falconry, falconer",,,Is your website about hunting?,https://www.ultimatelysocial.com/Hunting-themed-icons/?utm_source=any_settings_page&utm_campaign=Hunting_icons&utm_medium=banner,
62
+ Flags,"canada, italy, india, germany, philippines, japan, korea, switzerland, finland, china, taiwan, spain, argentina, france, turkey, iran, iraq, syria, lebanon, united kingdom, thailand, russia, ukraine, pakistan, ethiopia, egypt, netherlands, singapore, sweden, ireland, canadian, italian, italiano, indian, german, filipino, pinoy, pinay, japanese, nihon, korean, finnish, chinese, taiwanese, spanish, argentino, french, turkish, iranian, syrian, lebanese, english, thai, russian, ukrain, pakistani, ethiopian, egyptian, singaporean, swedish, irish, indonesia, indonesian, malaysia, malaysian, ","usa, uae, uk",,Your site is about a certain country? ,https://www.ultimatelysocial.com/Flags-themed-icons/?utm_source=any_settings_page&utm_campaign=Flags_icons&utm_medium=banner,
63
+ Jewelry,"jewel, jewelry, earring, pendant, necklace, watches","diamond, diamonds, watch",,Your site is about jewlery?,https://www.ultimatelysocial.com/Jewelry-themed-icons/?utm_source=any_settings_page&utm_campaign=Jewelry_icons&utm_medium=banner,
64
+ Family,"parenthood, motherhood, pregnancy, fatherhood,","mother, mom, moms mothers, father, mommy, mama","mothership, motherships",Is your site about family?,https://www.ultimatelysocial.com/Family-themed-icons/?utm_source=any_settings_page&utm_campaign=Family_icons&utm_medium=banner,
65
+ Communications,"antenna, telephone, GLONASS, telecommunication, satellite, networking, telecom, tel-co","GPS, GSM, CDMA, LTE, GPRS, HSDPA, HSUPA",,Are you a telecommunications company?,https://www.ultimatelysocial.com/Communications-themed-icons/?utm_source=any_settings_page&utm_campaign=Communications_icons&utm_medium=banner,
66
+ Construction,"construction, bulldozer, piledriver, steamroller, excavator, prefabricate, hardhat, hard-hat, scaffold, scaffolding, cemento",cement,,Are you a construction company?,https://www.ultimatelysocial.com/Construction-themed-icons/?utm_source=any_settings_page&utm_campaign=Construction_icons&utm_medium=banner,
67
+ History,"history, historian, helennistic, ancient world, medieval, renaissance, romanempire, pharaoh","ancient, antiquity",,Is your site about History?,https://www.ultimatelysocial.com/History-themed-icons/?utm_source=any_settings_page&utm_campaign=History_icons&utm_medium=banner,
68
+ Education,"education, educator, school, university, lyceum, ateneo, università. student, career, instituto, escuela, teacher, alumni, universitario, universitaria, jobs","edu, job","joben, jobless",Is your site about Education?,https://www.ultimatelysocial.com/Education-themed-icons/?utm_source=any_settings_page&utm_campaign=Education_icons&utm_medium=banner,
69
+ Furniture,"Furniture, sofa,","carpet, carpets, chair, chairs,",redcarpet,Is your site about furnitures?,https://www.ultimatelysocial.com/Furniture-themed-icons/?utm_source=any_settings_page&utm_campaign=Furniture_icons&utm_medium=banner,
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 1.7.6
9
  License: GPLv2 or later
10
  */
11
  global $wpdb;
@@ -17,6 +17,7 @@ define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
17
 
18
  /* load all files */
19
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
 
20
  include(SFSI_DOCROOT.'/libs/sfsi_install_uninstall.php');
21
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_buttons_controller.php');
22
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_iconsUpload_contoller.php');
@@ -34,7 +35,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
34
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
35
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
36
 
37
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.76)
38
  {
39
  add_action("init", "sfsi_update_plugin");
40
  }
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 1.7.7
9
  License: GPLv2 or later
10
  */
11
  global $wpdb;
17
 
18
  /* load all files */
19
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
20
+ include(SFSI_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
21
  include(SFSI_DOCROOT.'/libs/sfsi_install_uninstall.php');
22
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_buttons_controller.php');
23
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_iconsUpload_contoller.php');
35
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
36
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
37
 
38
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.77)
39
  {
40
  add_action("init", "sfsi_update_plugin");
41
  }