Version Description
- Banners modified
- Spelling mistakes corrected
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
- css/sfsi-admin-style.css +4 -2
- freemius/templates/admin-notice.php +1 -1
- images/heart.png +0 -0
- images/noBtnBg.png +0 -0
- images/tick.png +0 -0
- images/ultimate-icon.png +0 -0
- images/yesBtnBg.png +0 -0
- js/custom-admin.js +8 -1
- libs/controllers/sfsi_buttons_controller.php +0 -3502
- libs/controllers/sfsi_socialhelper.php +11 -4
- libs/sfsi_install_uninstall.php +14 -3
- libs/sfsi_widget.php +4 -1
- readme.txt +7 -3
- ultimate_social_media_icons.php +78 -4
- views/sfsi_option_view1.php +1 -1
- views/sfsi_option_view2.php +46 -35
- views/sfsi_option_view5.php +13 -4
- views/sfsi_option_view7.php +24 -9
- views/sfsi_options_view.php +7 -3
- views/sfsi_section_for_premium.php +401 -0
css/sfsi-admin-style.css
CHANGED
@@ -1103,9 +1103,11 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1103 |
background-size: 51px 51px !important;
|
1104 |
}
|
1105 |
|
1106 |
-
/* poonam */
|
1107 |
.sfsi_plus_premium_brdr_box{box-sizing: border-box;}
|
1108 |
.sf_si_plus_our_prmium_plugin-add, .sfsi_plus_prem_icons_added, .sfsi_plus_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
|
|
|
|
|
1109 |
.sf_si_plus_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
|
1110 |
.sf_si_plus_default_design ul{padding:0;margin:0;}
|
1111 |
.sf_si_plus_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
|
@@ -1135,7 +1137,7 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1135 |
.sfsi_plus_need_another_one_link{padding:23px 0 20px 5px; }
|
1136 |
.sf_si_plus_all_features_premium a, .sfsi_plus_need_another_tell_us a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
|
1137 |
.sfsi_plus_need_another_tell_us a{margin-left:5px;padding-top: 25px;}
|
1138 |
-
.sfsi_plus_new_prmium_follw {margin-top:20px; display: inline-block;padding:15px 75px 20px 24px;}
|
1139 |
.sfsi_plus_new_prmium_follw p{margin: 0 !important;}
|
1140 |
.sfsi_plus_new_prmium_follw p{color: #1a1d20 !important;font-size: 20px !important;font-family: helveticaregular !important;}
|
1141 |
.sfsi_plus_new_prmium_follw p a{color:#12a252 !important;border-bottom: 1px solid #12a252; text-decoration: none;}
|
1103 |
background-size: 51px 51px !important;
|
1104 |
}
|
1105 |
|
1106 |
+
/* poonam */
|
1107 |
.sfsi_plus_premium_brdr_box{box-sizing: border-box;}
|
1108 |
.sf_si_plus_our_prmium_plugin-add, .sfsi_plus_prem_icons_added, .sfsi_plus_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
|
1109 |
+
.banner_custom_icon{margin-left:94px !important;float: left;}
|
1110 |
+
.banner_custom_icon p a {font-family: helveticabold !important}
|
1111 |
.sf_si_plus_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
|
1112 |
.sf_si_plus_default_design ul{padding:0;margin:0;}
|
1113 |
.sf_si_plus_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
|
1137 |
.sfsi_plus_need_another_one_link{padding:23px 0 20px 5px; }
|
1138 |
.sf_si_plus_all_features_premium a, .sfsi_plus_need_another_tell_us a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
|
1139 |
.sfsi_plus_need_another_tell_us a{margin-left:5px;padding-top: 25px;}
|
1140 |
+
.sfsi_plus_new_prmium_follw {margin-top:20px; display: inline-block;padding:15px 75px 20px 24px;float: left;}
|
1141 |
.sfsi_plus_new_prmium_follw p{margin: 0 !important;}
|
1142 |
.sfsi_plus_new_prmium_follw p{color: #1a1d20 !important;font-size: 20px !important;font-family: helveticaregular !important;}
|
1143 |
.sfsi_plus_new_prmium_follw p a{color:#12a252 !important;border-bottom: 1px solid #12a252; text-decoration: none;}
|
freemius/templates/admin-notice.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
} ?><?php if ( ! empty( $VARS['plugin'] ) ) {
|
33 |
echo ' fs-has-title';
|
34 |
} ?>"><?php if ( ! empty( $VARS['plugin'] ) ) : ?>
|
35 |
-
|
36 |
<?php endif ?>
|
37 |
<?php if ( ! empty( $VARS['sticky'] ) ) : ?>
|
38 |
<div class="fs-close"><i class="dashicons dashicons-no"
|
32 |
} ?><?php if ( ! empty( $VARS['plugin'] ) ) {
|
33 |
echo ' fs-has-title';
|
34 |
} ?>"><?php if ( ! empty( $VARS['plugin'] ) ) : ?>
|
35 |
+
<!--<label class="fs-plugin-title"><?php echo $VARS['plugin'] ?></label>-->
|
36 |
<?php endif ?>
|
37 |
<?php if ( ! empty( $VARS['sticky'] ) ) : ?>
|
38 |
<div class="fs-close"><i class="dashicons dashicons-no"
|
images/heart.png
ADDED
Binary file
|
images/noBtnBg.png
ADDED
Binary file
|
images/tick.png
ADDED
Binary file
|
images/ultimate-icon.png
ADDED
Binary file
|
images/yesBtnBg.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -38,6 +38,11 @@ function sfsi_plus_delete_CusIcon(s, i)
|
|
38 |
SFSI("li.plus_custom:last-child").addClass("bdr_btm_non"), SFSI(".plus_custom-links").find("div." + attr).remove(),
|
39 |
SFSI(".plus_custom_m").find("div." + attr).remove(), SFSI(".plus_share_icon_order").children("li." + attr).remove(),
|
40 |
SFSI("ul.plus_sfsi_sample_icons").children("li." + attr).remove();
|
|
|
|
|
|
|
|
|
|
|
41 |
var n = e.total_up + 1;
|
42 |
4 == e.total_up && SFSI(".plus_icn_listing").append('<li id="plus_c' + t + '" class="plus_custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="plussfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="sfsiplus-cusotm-icon" isNew="yes" /></div> <span class="plus_custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="plus_CImg_' + t + '" /> </span> <span class="custom sfsiplus_custom-txt">Custom' + n + ' </span> <div class="sfsiplus_right_info"> <p><span>'+object_name1.It_depends+':</span> '+object_name1.Upload_a+'</p><div class="inputWrapper"></div></li>');
|
43 |
} else sfsiplus_showErrorSuc("error", "Unkown error , please try again", 1);
|
@@ -879,7 +884,9 @@ function sfsiplus_afterIconSuccess(s)
|
|
879 |
var o = SFSI("div.plus_custom_m").find("div.mouseover_field").length;
|
880 |
SFSI("div.plus_custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
881 |
SFSI("ul.plus_share_icon_order").append('<li class="sfsiplus_custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
|
882 |
-
SFSI("ul.plus_sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
|
|
|
|
883 |
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
884 |
sfsi_plus_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_plus_showPreviewCounts(),
|
885 |
sfsiplus_afterLoad();
|
38 |
SFSI("li.plus_custom:last-child").addClass("bdr_btm_non"), SFSI(".plus_custom-links").find("div." + attr).remove(),
|
39 |
SFSI(".plus_custom_m").find("div." + attr).remove(), SFSI(".plus_share_icon_order").children("li." + attr).remove(),
|
40 |
SFSI("ul.plus_sfsi_sample_icons").children("li." + attr).remove();
|
41 |
+
|
42 |
+
if(e.total_up==0){
|
43 |
+
SFSI(".banner_custom_icon").hide();
|
44 |
+
}
|
45 |
+
|
46 |
var n = e.total_up + 1;
|
47 |
4 == e.total_up && SFSI(".plus_icn_listing").append('<li id="plus_c' + t + '" class="plus_custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="plussfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="sfsiplus-cusotm-icon" isNew="yes" /></div> <span class="plus_custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="plus_CImg_' + t + '" /> </span> <span class="custom sfsiplus_custom-txt">Custom' + n + ' </span> <div class="sfsiplus_right_info"> <p><span>'+object_name1.It_depends+':</span> '+object_name1.Upload_a+'</p><div class="inputWrapper"></div></li>');
|
48 |
} else sfsiplus_showErrorSuc("error", "Unkown error , please try again", 1);
|
884 |
var o = SFSI("div.plus_custom_m").find("div.mouseover_field").length;
|
885 |
SFSI("div.plus_custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
886 |
SFSI("ul.plus_share_icon_order").append('<li class="sfsiplus_custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
|
887 |
+
SFSI("ul.plus_sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
888 |
+
|
889 |
+
SFSI('.banner_custom_icon').show();
|
890 |
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
891 |
sfsi_plus_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_plus_showPreviewCounts(),
|
892 |
sfsiplus_afterLoad();
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -1051,3482 +1051,6 @@ function sfsi_plus_get_keywordEnglish(){
|
|
1051 |
}
|
1052 |
|
1053 |
|
1054 |
-
// add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
1055 |
-
// function sfsi_plus_bannerOption()
|
1056 |
-
// {
|
1057 |
-
// error_reporting(0);
|
1058 |
-
|
1059 |
-
// if(get_option("sfsi_plus_new_show_notification") == "yes")
|
1060 |
-
// {
|
1061 |
-
// $keywordFile = SFSI_PLUS_DOCROOT."/All_english_words_better_list.csv";
|
1062 |
-
// $keywordData = @file_get_contents($keywordFile);
|
1063 |
-
// $keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
|
1064 |
-
|
1065 |
-
// $keywordEnglish = array_map('array_filter', $keywordEnglish);
|
1066 |
-
// $keywordEnglish = array_filter(array_map(sfsi_plus_returningElement($element), $keywordEnglish));
|
1067 |
-
|
1068 |
-
// $domainname = sfsi_plus_getdomain(site_url());
|
1069 |
-
|
1070 |
-
// if(preg_match("/(cat|cattery|catrescue|recuedcat|kitten|kitty|meow)/im", $domainname))
|
1071 |
-
// {
|
1072 |
-
// if(!empty($domainname))
|
1073 |
-
// {
|
1074 |
-
// $domainname = preg_replace('/catherine|catherines/i', '', $domainname);
|
1075 |
-
// $explode = explode(".", $domainname);
|
1076 |
-
// $domainname = @$explode[0];
|
1077 |
-
// }
|
1078 |
-
|
1079 |
-
// $catflag = false;
|
1080 |
-
|
1081 |
-
// if(preg_match("/(cattery|catrescue|recuedcat|kitten|kitty|meow)/im", $domainname))
|
1082 |
-
// {
|
1083 |
-
// $catflag = true;
|
1084 |
-
|
1085 |
-
// }
|
1086 |
-
// elseif(preg_match("/(cats)/im", $domainname))
|
1087 |
-
// {
|
1088 |
-
// $explode = explode("cats", $domainname);
|
1089 |
-
// $left = $explode[0];
|
1090 |
-
// $right = $explode[1];
|
1091 |
-
// $leftcatflag = false;
|
1092 |
-
// if(!empty($left))
|
1093 |
-
// {
|
1094 |
-
// $left = str_split($left);
|
1095 |
-
|
1096 |
-
// $matchKeyword = ''; $j = 0;
|
1097 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1098 |
-
// {
|
1099 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1100 |
-
|
1101 |
-
// if($j > 0)
|
1102 |
-
// {
|
1103 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1104 |
-
// {
|
1105 |
-
// $leftcatflag = true;
|
1106 |
-
// break;
|
1107 |
-
// }
|
1108 |
-
// else
|
1109 |
-
// {
|
1110 |
-
// continue;
|
1111 |
-
// }
|
1112 |
-
// }
|
1113 |
-
// else
|
1114 |
-
// {
|
1115 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1116 |
-
// {
|
1117 |
-
// $leftcatflag = true;
|
1118 |
-
// break;
|
1119 |
-
// }
|
1120 |
-
// }
|
1121 |
-
|
1122 |
-
// $j++;
|
1123 |
-
// }
|
1124 |
-
// }
|
1125 |
-
|
1126 |
-
// $rightcatflag = false;
|
1127 |
-
// if(!empty($right))
|
1128 |
-
// {
|
1129 |
-
// $right = str_split($right);
|
1130 |
-
|
1131 |
-
// $matchKeyword = '';
|
1132 |
-
// for($i = 0; $i < count($right); $i++)
|
1133 |
-
// {
|
1134 |
-
// $matchKeyword .= $right[$i];
|
1135 |
-
|
1136 |
-
// if($i > 0)
|
1137 |
-
// {
|
1138 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1139 |
-
// {
|
1140 |
-
// $rightcatflag = true;
|
1141 |
-
// break;
|
1142 |
-
// }
|
1143 |
-
// else
|
1144 |
-
// {
|
1145 |
-
// continue;
|
1146 |
-
// }
|
1147 |
-
// }
|
1148 |
-
// else
|
1149 |
-
// {
|
1150 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1151 |
-
// {
|
1152 |
-
// $rightcatflag = true;
|
1153 |
-
// break;
|
1154 |
-
// }
|
1155 |
-
// }
|
1156 |
-
// }
|
1157 |
-
// }
|
1158 |
-
|
1159 |
-
// if(empty($left) && empty($right))
|
1160 |
-
// {
|
1161 |
-
// $catflag = true;
|
1162 |
-
// }
|
1163 |
-
// else
|
1164 |
-
// {
|
1165 |
-
// if(!empty($left) && !empty($right))
|
1166 |
-
// {
|
1167 |
-
// if($rightcatflag && $leftcatflag)
|
1168 |
-
// {
|
1169 |
-
// $catflag = true;
|
1170 |
-
// }
|
1171 |
-
// }
|
1172 |
-
// elseif(empty($left) && !empty($right))
|
1173 |
-
// {
|
1174 |
-
// if($rightcatflag)
|
1175 |
-
// {
|
1176 |
-
// $catflag = true;
|
1177 |
-
// }
|
1178 |
-
// }
|
1179 |
-
// elseif(!empty($left) && empty($right))
|
1180 |
-
// {
|
1181 |
-
// if($leftcatflag)
|
1182 |
-
// {
|
1183 |
-
// $catflag = true;
|
1184 |
-
// }
|
1185 |
-
// }
|
1186 |
-
// }
|
1187 |
-
// }
|
1188 |
-
// elseif(preg_match("/(cat)/im", $domainname))
|
1189 |
-
// {
|
1190 |
-
// $explode = explode("cat", $domainname);
|
1191 |
-
// $left = $explode[0];
|
1192 |
-
// $right = $explode[1];
|
1193 |
-
|
1194 |
-
// $leftcatflag = false;
|
1195 |
-
// if(!empty($left))
|
1196 |
-
// {
|
1197 |
-
// $left = str_split($left);
|
1198 |
-
|
1199 |
-
// $matchKeyword = ''; $j = 0;
|
1200 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1201 |
-
// {
|
1202 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1203 |
-
|
1204 |
-
// if($j > 0)
|
1205 |
-
// {
|
1206 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1207 |
-
// {
|
1208 |
-
// $leftcatflag = true;
|
1209 |
-
// break;
|
1210 |
-
// }
|
1211 |
-
// else
|
1212 |
-
// {
|
1213 |
-
// continue;
|
1214 |
-
// }
|
1215 |
-
// }
|
1216 |
-
// else
|
1217 |
-
// {
|
1218 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1219 |
-
// {
|
1220 |
-
// $leftcatflag = true;
|
1221 |
-
// break;
|
1222 |
-
// }
|
1223 |
-
// }
|
1224 |
-
|
1225 |
-
// $j++;
|
1226 |
-
// }
|
1227 |
-
// }
|
1228 |
-
|
1229 |
-
// $rightcatflag = false;
|
1230 |
-
// if(!empty($right))
|
1231 |
-
// {
|
1232 |
-
// $right = str_split($right);
|
1233 |
-
|
1234 |
-
// $matchKeyword = '';
|
1235 |
-
// for($i = 0; $i < count($right); $i++)
|
1236 |
-
// {
|
1237 |
-
// $matchKeyword .= $right[$i];
|
1238 |
-
// if($i > 0)
|
1239 |
-
// {
|
1240 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1241 |
-
// {
|
1242 |
-
// $rightcatflag = true;
|
1243 |
-
// break;
|
1244 |
-
// }
|
1245 |
-
// else
|
1246 |
-
// {
|
1247 |
-
// continue;
|
1248 |
-
// }
|
1249 |
-
// }
|
1250 |
-
// else
|
1251 |
-
// {
|
1252 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1253 |
-
// {
|
1254 |
-
// $rightcatflag = true;
|
1255 |
-
// break;
|
1256 |
-
// }
|
1257 |
-
// }
|
1258 |
-
// }
|
1259 |
-
// }
|
1260 |
-
|
1261 |
-
// if(empty($left) && empty($right))
|
1262 |
-
// {
|
1263 |
-
// $catflag = true;
|
1264 |
-
// }
|
1265 |
-
// else
|
1266 |
-
// {
|
1267 |
-
// if(!empty($left) && !empty($right))
|
1268 |
-
// {
|
1269 |
-
// if($rightcatflag && $leftcatflag)
|
1270 |
-
// {
|
1271 |
-
// $catflag = true;
|
1272 |
-
// }
|
1273 |
-
// }
|
1274 |
-
// elseif(empty($left) && !empty($right))
|
1275 |
-
// {
|
1276 |
-
// if($rightcatflag)
|
1277 |
-
// {
|
1278 |
-
// $catflag = true;
|
1279 |
-
// }
|
1280 |
-
// }
|
1281 |
-
// elseif(!empty($left) && empty($right))
|
1282 |
-
// {
|
1283 |
-
// if($leftcatflag)
|
1284 |
-
// {
|
1285 |
-
// $catflag = true;
|
1286 |
-
// }
|
1287 |
-
// }
|
1288 |
-
// }
|
1289 |
-
// }
|
1290 |
-
// }
|
1291 |
-
// elseif(preg_match("/(horse|equine|gallop|pony|ponies)/im", $domainname))
|
1292 |
-
// {
|
1293 |
-
// if(!empty($domainname))
|
1294 |
-
// {
|
1295 |
-
// $domainname = preg_replace('/horseengine|seahorses|seahorse|seapony|seaponies|horseengines|ponytail/i', '', $domainname);
|
1296 |
-
// $explode = explode(".", $domainname);
|
1297 |
-
// $domainname = @$explode[0];
|
1298 |
-
// }
|
1299 |
-
|
1300 |
-
// $horseflag = false;
|
1301 |
-
|
1302 |
-
// if(preg_match("/(equine|gallop)/im", $domainname))
|
1303 |
-
// {
|
1304 |
-
// $horseflag = true;
|
1305 |
-
// }
|
1306 |
-
// elseif(preg_match("/(horses)/im", $domainname))
|
1307 |
-
// {
|
1308 |
-
// $explode = explode("horses", $domainname);
|
1309 |
-
// $left = $explode[0];
|
1310 |
-
// $right = $explode[1];
|
1311 |
-
|
1312 |
-
// $lefthorseflag = false;
|
1313 |
-
// if(!empty($left))
|
1314 |
-
// {
|
1315 |
-
// $left = str_split($left);
|
1316 |
-
|
1317 |
-
// $matchKeyword = ''; $j = 0;
|
1318 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1319 |
-
// {
|
1320 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1321 |
-
|
1322 |
-
// if($j > 0)
|
1323 |
-
// {
|
1324 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1325 |
-
// {
|
1326 |
-
// $lefthorseflag = true;
|
1327 |
-
// break;
|
1328 |
-
// }
|
1329 |
-
// else
|
1330 |
-
// {
|
1331 |
-
// continue;
|
1332 |
-
// }
|
1333 |
-
// }
|
1334 |
-
// else
|
1335 |
-
// {
|
1336 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1337 |
-
// {
|
1338 |
-
// $lefthorseflag = true;
|
1339 |
-
// break;
|
1340 |
-
// }
|
1341 |
-
// }
|
1342 |
-
|
1343 |
-
// $j++;
|
1344 |
-
// }
|
1345 |
-
// }
|
1346 |
-
|
1347 |
-
// $righthorseflag = false;
|
1348 |
-
// if(!empty($right))
|
1349 |
-
// {
|
1350 |
-
// $right = str_split($right);
|
1351 |
-
|
1352 |
-
// $matchKeyword = '';
|
1353 |
-
// for($i = 0; $i < count($right); $i++)
|
1354 |
-
// {
|
1355 |
-
// $matchKeyword .= $right[$i];
|
1356 |
-
|
1357 |
-
// if($i > 0)
|
1358 |
-
// {
|
1359 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1360 |
-
// {
|
1361 |
-
// $righthorseflag = true;
|
1362 |
-
// break;
|
1363 |
-
// }
|
1364 |
-
// else
|
1365 |
-
// {
|
1366 |
-
// continue;
|
1367 |
-
// }
|
1368 |
-
// }
|
1369 |
-
// else
|
1370 |
-
// {
|
1371 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1372 |
-
// {
|
1373 |
-
// $righthorseflag = true;
|
1374 |
-
// break;
|
1375 |
-
// }
|
1376 |
-
// }
|
1377 |
-
// }
|
1378 |
-
// }
|
1379 |
-
|
1380 |
-
// if(empty($left) && empty($right))
|
1381 |
-
// {
|
1382 |
-
// $horseflag = true;
|
1383 |
-
// }
|
1384 |
-
// else
|
1385 |
-
// {
|
1386 |
-
// if(!empty($left) && !empty($right))
|
1387 |
-
// {
|
1388 |
-
// if($righthorseflag && $lefthorseflag)
|
1389 |
-
// {
|
1390 |
-
// $horseflag = true;
|
1391 |
-
// }
|
1392 |
-
// }
|
1393 |
-
// elseif(empty($left) && !empty($right))
|
1394 |
-
// {
|
1395 |
-
// if($righthorseflag)
|
1396 |
-
// {
|
1397 |
-
// $horseflag = true;
|
1398 |
-
// }
|
1399 |
-
// }
|
1400 |
-
// elseif(!empty($left) && empty($right))
|
1401 |
-
// {
|
1402 |
-
// if($lefthorseflag)
|
1403 |
-
// {
|
1404 |
-
// $horseflag = true;
|
1405 |
-
// }
|
1406 |
-
// }
|
1407 |
-
// }
|
1408 |
-
// }
|
1409 |
-
// elseif(preg_match("/(horse)/im", $domainname))
|
1410 |
-
// {
|
1411 |
-
// $explode = explode("horse", $domainname);
|
1412 |
-
// $left = $explode[0];
|
1413 |
-
// $right = $explode[1];
|
1414 |
-
|
1415 |
-
// $lefthorseflag = false;
|
1416 |
-
// if(!empty($left))
|
1417 |
-
// {
|
1418 |
-
// $left = str_split($left);
|
1419 |
-
|
1420 |
-
// $matchKeyword = ''; $j = 0;
|
1421 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1422 |
-
// {
|
1423 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1424 |
-
|
1425 |
-
// if($j > 0)
|
1426 |
-
// {
|
1427 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1428 |
-
// {
|
1429 |
-
// $lefthorseflag = true;
|
1430 |
-
// break;
|
1431 |
-
// }
|
1432 |
-
// else
|
1433 |
-
// {
|
1434 |
-
// continue;
|
1435 |
-
// }
|
1436 |
-
// }
|
1437 |
-
// else
|
1438 |
-
// {
|
1439 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1440 |
-
// {
|
1441 |
-
// $lefthorseflag = true;
|
1442 |
-
// break;
|
1443 |
-
// }
|
1444 |
-
// }
|
1445 |
-
|
1446 |
-
// $j++;
|
1447 |
-
// }
|
1448 |
-
// }
|
1449 |
-
|
1450 |
-
// $righthorseflag = false;
|
1451 |
-
// if(!empty($right))
|
1452 |
-
// {
|
1453 |
-
// $right = str_split($right);
|
1454 |
-
|
1455 |
-
// $matchKeyword = '';
|
1456 |
-
// for($i = 0; $i < count($right); $i++)
|
1457 |
-
// {
|
1458 |
-
// $matchKeyword .= $right[$i];
|
1459 |
-
// if($i > 0)
|
1460 |
-
// {
|
1461 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1462 |
-
// {
|
1463 |
-
// $righthorseflag = true;
|
1464 |
-
// break;
|
1465 |
-
// }
|
1466 |
-
// else
|
1467 |
-
// {
|
1468 |
-
// continue;
|
1469 |
-
// }
|
1470 |
-
// }
|
1471 |
-
// else
|
1472 |
-
// {
|
1473 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1474 |
-
// {
|
1475 |
-
// $righthorseflag = true;
|
1476 |
-
// break;
|
1477 |
-
// }
|
1478 |
-
// }
|
1479 |
-
// }
|
1480 |
-
// }
|
1481 |
-
|
1482 |
-
// if(empty($left) && empty($right))
|
1483 |
-
// {
|
1484 |
-
// $horseflag = true;
|
1485 |
-
// }
|
1486 |
-
// else
|
1487 |
-
// {
|
1488 |
-
// if(!empty($left) && !empty($right))
|
1489 |
-
// {
|
1490 |
-
// if($righthorseflag && $lefthorseflag)
|
1491 |
-
// {
|
1492 |
-
// $horseflag = true;
|
1493 |
-
// }
|
1494 |
-
// }
|
1495 |
-
// elseif(empty($left) && !empty($right))
|
1496 |
-
// {
|
1497 |
-
// if($righthorseflag)
|
1498 |
-
// {
|
1499 |
-
// $horseflag = true;
|
1500 |
-
// }
|
1501 |
-
// }
|
1502 |
-
// elseif(!empty($left) && empty($right))
|
1503 |
-
// {
|
1504 |
-
// if($lefthorseflag)
|
1505 |
-
// {
|
1506 |
-
// $horseflag = true;
|
1507 |
-
// }
|
1508 |
-
// }
|
1509 |
-
// }
|
1510 |
-
// }
|
1511 |
-
// elseif(preg_match("/(ponies)/im", $domainname))
|
1512 |
-
// {
|
1513 |
-
// $explode = explode("ponies", $domainname);
|
1514 |
-
// $left = $explode[0];
|
1515 |
-
// $right = $explode[1];
|
1516 |
-
|
1517 |
-
// $lefthorseflag = false;
|
1518 |
-
// if(!empty($left))
|
1519 |
-
// {
|
1520 |
-
// $left = str_split($left);
|
1521 |
-
|
1522 |
-
// $matchKeyword = ''; $j = 0;
|
1523 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1524 |
-
// {
|
1525 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1526 |
-
|
1527 |
-
// if($j > 0)
|
1528 |
-
// {
|
1529 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1530 |
-
// {
|
1531 |
-
// $lefthorseflag = true;
|
1532 |
-
// break;
|
1533 |
-
// }
|
1534 |
-
// else
|
1535 |
-
// {
|
1536 |
-
// continue;
|
1537 |
-
// }
|
1538 |
-
// }
|
1539 |
-
// else
|
1540 |
-
// {
|
1541 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1542 |
-
// {
|
1543 |
-
// $lefthorseflag = true;
|
1544 |
-
// break;
|
1545 |
-
// }
|
1546 |
-
// }
|
1547 |
-
|
1548 |
-
// $j++;
|
1549 |
-
// }
|
1550 |
-
// }
|
1551 |
-
|
1552 |
-
// $righthorseflag = false;
|
1553 |
-
// if(!empty($right))
|
1554 |
-
// {
|
1555 |
-
// $right = str_split($right);
|
1556 |
-
|
1557 |
-
// $matchKeyword = '';
|
1558 |
-
// for($i = 0; $i < count($right); $i++)
|
1559 |
-
// {
|
1560 |
-
// $matchKeyword .= $right[$i];
|
1561 |
-
|
1562 |
-
// if($i > 0)
|
1563 |
-
// {
|
1564 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1565 |
-
// {
|
1566 |
-
// $righthorseflag = true;
|
1567 |
-
// break;
|
1568 |
-
// }
|
1569 |
-
// else
|
1570 |
-
// {
|
1571 |
-
// continue;
|
1572 |
-
// }
|
1573 |
-
// }
|
1574 |
-
// else
|
1575 |
-
// {
|
1576 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1577 |
-
// {
|
1578 |
-
// $righthorseflag = true;
|
1579 |
-
// break;
|
1580 |
-
// }
|
1581 |
-
// }
|
1582 |
-
// }
|
1583 |
-
// }
|
1584 |
-
|
1585 |
-
// if(empty($left) && empty($right))
|
1586 |
-
// {
|
1587 |
-
// $horseflag = true;
|
1588 |
-
// }
|
1589 |
-
// else
|
1590 |
-
// {
|
1591 |
-
// if(!empty($left) && !empty($right))
|
1592 |
-
// {
|
1593 |
-
// if($righthorseflag && $lefthorseflag)
|
1594 |
-
// {
|
1595 |
-
// $horseflag = true;
|
1596 |
-
// }
|
1597 |
-
// }
|
1598 |
-
// elseif(empty($left) && !empty($right))
|
1599 |
-
// {
|
1600 |
-
// if($righthorseflag)
|
1601 |
-
// {
|
1602 |
-
// $horseflag = true;
|
1603 |
-
// }
|
1604 |
-
// }
|
1605 |
-
// elseif(!empty($left) && empty($right))
|
1606 |
-
// {
|
1607 |
-
// if($lefthorseflag)
|
1608 |
-
// {
|
1609 |
-
// $horseflag = true;
|
1610 |
-
// }
|
1611 |
-
// }
|
1612 |
-
// }
|
1613 |
-
// }
|
1614 |
-
// elseif(preg_match("/(pony)/im", $domainname))
|
1615 |
-
// {
|
1616 |
-
// $explode = explode("pony", $domainname);
|
1617 |
-
// $left = $explode[0];
|
1618 |
-
// $right = $explode[1];
|
1619 |
-
|
1620 |
-
// $lefthorseflag = false;
|
1621 |
-
// if(!empty($left))
|
1622 |
-
// {
|
1623 |
-
// $left = str_split($left);
|
1624 |
-
|
1625 |
-
// $matchKeyword = ''; $j = 0;
|
1626 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1627 |
-
// {
|
1628 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1629 |
-
|
1630 |
-
// if($j > 0)
|
1631 |
-
// {
|
1632 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1633 |
-
// {
|
1634 |
-
// $lefthorseflag = true;
|
1635 |
-
// break;
|
1636 |
-
// }
|
1637 |
-
// else
|
1638 |
-
// {
|
1639 |
-
// continue;
|
1640 |
-
// }
|
1641 |
-
// }
|
1642 |
-
// else
|
1643 |
-
// {
|
1644 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1645 |
-
// {
|
1646 |
-
// $lefthorseflag = true;
|
1647 |
-
// break;
|
1648 |
-
// }
|
1649 |
-
// }
|
1650 |
-
|
1651 |
-
// $j++;
|
1652 |
-
// }
|
1653 |
-
// }
|
1654 |
-
|
1655 |
-
// $righthorseflag = false;
|
1656 |
-
// if(!empty($right))
|
1657 |
-
// {
|
1658 |
-
// $right = str_split($right);
|
1659 |
-
|
1660 |
-
// $matchKeyword = '';
|
1661 |
-
// for($i = 0; $i < count($right); $i++)
|
1662 |
-
// {
|
1663 |
-
// $matchKeyword .= $right[$i];
|
1664 |
-
// if($i > 0)
|
1665 |
-
// {
|
1666 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1667 |
-
// {
|
1668 |
-
// $righthorseflag = true;
|
1669 |
-
// break;
|
1670 |
-
// }
|
1671 |
-
// else
|
1672 |
-
// {
|
1673 |
-
// continue;
|
1674 |
-
// }
|
1675 |
-
// }
|
1676 |
-
// else
|
1677 |
-
// {
|
1678 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1679 |
-
// {
|
1680 |
-
// $righthorseflag = true;
|
1681 |
-
// break;
|
1682 |
-
// }
|
1683 |
-
// }
|
1684 |
-
// }
|
1685 |
-
// }
|
1686 |
-
|
1687 |
-
// if(empty($left) && empty($right))
|
1688 |
-
// {
|
1689 |
-
// $horseflag = true;
|
1690 |
-
// }
|
1691 |
-
// else
|
1692 |
-
// {
|
1693 |
-
// if(!empty($left) && !empty($right))
|
1694 |
-
// {
|
1695 |
-
// if($righthorseflag && $lefthorseflag)
|
1696 |
-
// {
|
1697 |
-
// $horseflag = true;
|
1698 |
-
// }
|
1699 |
-
// }
|
1700 |
-
// elseif(empty($left) && !empty($right))
|
1701 |
-
// {
|
1702 |
-
// if($righthorseflag)
|
1703 |
-
// {
|
1704 |
-
// $horseflag = true;
|
1705 |
-
// }
|
1706 |
-
// }
|
1707 |
-
// elseif(!empty($left) && empty($right))
|
1708 |
-
// {
|
1709 |
-
// if($lefthorseflag)
|
1710 |
-
// {
|
1711 |
-
// $horseflag = true;
|
1712 |
-
// }
|
1713 |
-
// }
|
1714 |
-
// }
|
1715 |
-
// }
|
1716 |
-
// }
|
1717 |
-
// elseif(preg_match("/(tooth|dentist|teeth|dental)/im", $domainname))
|
1718 |
-
// {
|
1719 |
-
// if(!empty($domainname))
|
1720 |
-
// {
|
1721 |
-
// $domainname = preg_replace('/bluetooth|gadgetooth/i', '', $domainname);
|
1722 |
-
// $explode = explode(".", $domainname);
|
1723 |
-
// $domainname = @$explode[0];
|
1724 |
-
// }
|
1725 |
-
// $toothflag = false;
|
1726 |
-
|
1727 |
-
// if(preg_match("/(dentist|teeth|dental)/im", $domainname))
|
1728 |
-
// {
|
1729 |
-
// $toothflag = true;
|
1730 |
-
// }
|
1731 |
-
// elseif(preg_match("/(tooth)/im", $domainname))
|
1732 |
-
// {
|
1733 |
-
// $explode = explode("tooth", $domainname);
|
1734 |
-
// $left = $explode[0];
|
1735 |
-
// $right = $explode[1];
|
1736 |
-
|
1737 |
-
// $lefttoothflag = false;
|
1738 |
-
// if(!empty($left))
|
1739 |
-
// {
|
1740 |
-
// $left = str_split($left);
|
1741 |
-
|
1742 |
-
// $matchKeyword = ''; $j = 0;
|
1743 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1744 |
-
// {
|
1745 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1746 |
-
|
1747 |
-
// if($j > 0)
|
1748 |
-
// {
|
1749 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1750 |
-
// {
|
1751 |
-
// $lefttoothflag = true;
|
1752 |
-
// break;
|
1753 |
-
// }
|
1754 |
-
// else
|
1755 |
-
// {
|
1756 |
-
// continue;
|
1757 |
-
// }
|
1758 |
-
// }
|
1759 |
-
// else
|
1760 |
-
// {
|
1761 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1762 |
-
// {
|
1763 |
-
// $lefttoothflag = true;
|
1764 |
-
// break;
|
1765 |
-
// }
|
1766 |
-
// }
|
1767 |
-
|
1768 |
-
// $j++;
|
1769 |
-
// }
|
1770 |
-
// }
|
1771 |
-
|
1772 |
-
// $righttoothflag = false;
|
1773 |
-
// if(!empty($right))
|
1774 |
-
// {
|
1775 |
-
// $right = str_split($right);
|
1776 |
-
|
1777 |
-
// $matchKeyword = '';
|
1778 |
-
// for($i = 0; $i < count($right); $i++)
|
1779 |
-
// {
|
1780 |
-
// $matchKeyword .= $right[$i];
|
1781 |
-
// if($i > 0)
|
1782 |
-
// {
|
1783 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1784 |
-
// {
|
1785 |
-
// $righttoothflag = true;
|
1786 |
-
// break;
|
1787 |
-
// }
|
1788 |
-
// else
|
1789 |
-
// {
|
1790 |
-
// continue;
|
1791 |
-
// }
|
1792 |
-
// }
|
1793 |
-
// else
|
1794 |
-
// {
|
1795 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1796 |
-
// {
|
1797 |
-
// $righttoothflag = true;
|
1798 |
-
// break;
|
1799 |
-
// }
|
1800 |
-
// }
|
1801 |
-
// }
|
1802 |
-
// }
|
1803 |
-
|
1804 |
-
// if(empty($left) && empty($right))
|
1805 |
-
// {
|
1806 |
-
// $toothflag = true;
|
1807 |
-
// }
|
1808 |
-
// else
|
1809 |
-
// {
|
1810 |
-
// if(!empty($left) && !empty($right))
|
1811 |
-
// {
|
1812 |
-
// if($righttoothflag && $lefttoothflag)
|
1813 |
-
// {
|
1814 |
-
// $toothflag = true;
|
1815 |
-
// }
|
1816 |
-
// }
|
1817 |
-
// elseif(empty($left) && !empty($right))
|
1818 |
-
// {
|
1819 |
-
// if($righttoothflag)
|
1820 |
-
// {
|
1821 |
-
// $toothflag = true;
|
1822 |
-
// }
|
1823 |
-
// }
|
1824 |
-
// elseif(!empty($left) && empty($right))
|
1825 |
-
// {
|
1826 |
-
// if($lefttoothflag)
|
1827 |
-
// {
|
1828 |
-
// $toothflag = true;
|
1829 |
-
// }
|
1830 |
-
// }
|
1831 |
-
// }
|
1832 |
-
// }
|
1833 |
-
// }
|
1834 |
-
// elseif(preg_match("/(brew|beer|brewery|oktoberfest|barley|beerfest|brewers|brewer|stout|malt)/im", $domainname))
|
1835 |
-
// {
|
1836 |
-
// if(!empty($domainname))
|
1837 |
-
// {
|
1838 |
-
// $domainname = preg_replace('/hebrew|malta/i', '', $domainname);
|
1839 |
-
// $explode = explode(".", $domainname);
|
1840 |
-
// $domainname = @$explode[0];
|
1841 |
-
// }
|
1842 |
-
// $beerflag = false;
|
1843 |
-
|
1844 |
-
// if(preg_match("/(beer|brewery|oktoberfest|barley|beerfest|brewers|brewer)/im", $domainname))
|
1845 |
-
// {
|
1846 |
-
// $beerflag = true;
|
1847 |
-
// }
|
1848 |
-
// elseif(preg_match("/(brew)/im", $domainname))
|
1849 |
-
// {
|
1850 |
-
// $explode = explode("brew", $domainname);
|
1851 |
-
// $left = $explode[0];
|
1852 |
-
// $right = $explode[1];
|
1853 |
-
|
1854 |
-
// $leftbeerflag = false;
|
1855 |
-
// if(!empty($left))
|
1856 |
-
// {
|
1857 |
-
// $left = str_split($left);
|
1858 |
-
|
1859 |
-
// $matchKeyword = ''; $j = 0;
|
1860 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1861 |
-
// {
|
1862 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1863 |
-
|
1864 |
-
// if($j > 0)
|
1865 |
-
// {
|
1866 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1867 |
-
// {
|
1868 |
-
// $leftbeerflag = true;
|
1869 |
-
// break;
|
1870 |
-
// }
|
1871 |
-
// else
|
1872 |
-
// {
|
1873 |
-
// continue;
|
1874 |
-
// }
|
1875 |
-
// }
|
1876 |
-
// else
|
1877 |
-
// {
|
1878 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1879 |
-
// {
|
1880 |
-
// $leftbeerflag = true;
|
1881 |
-
// break;
|
1882 |
-
// }
|
1883 |
-
// }
|
1884 |
-
|
1885 |
-
// $j++;
|
1886 |
-
// }
|
1887 |
-
// }
|
1888 |
-
|
1889 |
-
// $rightbeerflag = false;
|
1890 |
-
// if(!empty($right))
|
1891 |
-
// {
|
1892 |
-
// $right = str_split($right);
|
1893 |
-
|
1894 |
-
// $matchKeyword = '';
|
1895 |
-
// for($i = 0; $i < count($right); $i++)
|
1896 |
-
// {
|
1897 |
-
// $matchKeyword .= $right[$i];
|
1898 |
-
// if($i > 0)
|
1899 |
-
// {
|
1900 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1901 |
-
// {
|
1902 |
-
// $rightbeerflag = true;
|
1903 |
-
// break;
|
1904 |
-
// }
|
1905 |
-
// else
|
1906 |
-
// {
|
1907 |
-
// continue;
|
1908 |
-
// }
|
1909 |
-
// }
|
1910 |
-
// else
|
1911 |
-
// {
|
1912 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1913 |
-
// {
|
1914 |
-
// $rightbeerflag = true;
|
1915 |
-
// break;
|
1916 |
-
// }
|
1917 |
-
// }
|
1918 |
-
// }
|
1919 |
-
// }
|
1920 |
-
|
1921 |
-
// if(empty($left) && empty($right))
|
1922 |
-
// {
|
1923 |
-
// $beerflag = true;
|
1924 |
-
// }
|
1925 |
-
// else
|
1926 |
-
// {
|
1927 |
-
// if(!empty($left) && !empty($right))
|
1928 |
-
// {
|
1929 |
-
// if($rightbeerflag && $leftbeerflag)
|
1930 |
-
// {
|
1931 |
-
// $beerflag = true;
|
1932 |
-
// }
|
1933 |
-
// }
|
1934 |
-
// elseif(empty($left) && !empty($right))
|
1935 |
-
// {
|
1936 |
-
// if($rightbeerflag)
|
1937 |
-
// {
|
1938 |
-
// $beerflag = true;
|
1939 |
-
// }
|
1940 |
-
// }
|
1941 |
-
// elseif(!empty($left) && empty($right))
|
1942 |
-
// {
|
1943 |
-
// if($leftbeerflag)
|
1944 |
-
// {
|
1945 |
-
// $beerflag = true;
|
1946 |
-
// }
|
1947 |
-
// }
|
1948 |
-
// }
|
1949 |
-
// }
|
1950 |
-
// elseif(preg_match("/(stout)/im", $domainname))
|
1951 |
-
// {
|
1952 |
-
// $explode = explode("stout", $domainname);
|
1953 |
-
// $left = $explode[0];
|
1954 |
-
// $right = $explode[1];
|
1955 |
-
|
1956 |
-
// $leftbeerflag = false;
|
1957 |
-
// if(!empty($left))
|
1958 |
-
// {
|
1959 |
-
// $left = str_split($left);
|
1960 |
-
|
1961 |
-
// $matchKeyword = ''; $j = 0;
|
1962 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
1963 |
-
// {
|
1964 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
1965 |
-
|
1966 |
-
// if($j > 0)
|
1967 |
-
// {
|
1968 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
1969 |
-
// {
|
1970 |
-
// $leftbeerflag = true;
|
1971 |
-
// break;
|
1972 |
-
// }
|
1973 |
-
// else
|
1974 |
-
// {
|
1975 |
-
// continue;
|
1976 |
-
// }
|
1977 |
-
// }
|
1978 |
-
// else
|
1979 |
-
// {
|
1980 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
1981 |
-
// {
|
1982 |
-
// $leftbeerflag = true;
|
1983 |
-
// break;
|
1984 |
-
// }
|
1985 |
-
// }
|
1986 |
-
|
1987 |
-
// $j++;
|
1988 |
-
// }
|
1989 |
-
// }
|
1990 |
-
|
1991 |
-
// $rightbeerflag = false;
|
1992 |
-
// if(!empty($right))
|
1993 |
-
// {
|
1994 |
-
// $right = str_split($right);
|
1995 |
-
|
1996 |
-
// $matchKeyword = '';
|
1997 |
-
// for($i = 0; $i < count($right); $i++)
|
1998 |
-
// {
|
1999 |
-
// $matchKeyword .= $right[$i];
|
2000 |
-
// if($i > 0)
|
2001 |
-
// {
|
2002 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2003 |
-
// {
|
2004 |
-
// $rightbeerflag = true;
|
2005 |
-
// break;
|
2006 |
-
// }
|
2007 |
-
// else
|
2008 |
-
// {
|
2009 |
-
// continue;
|
2010 |
-
// }
|
2011 |
-
// }
|
2012 |
-
// else
|
2013 |
-
// {
|
2014 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2015 |
-
// {
|
2016 |
-
// $rightbeerflag = true;
|
2017 |
-
// break;
|
2018 |
-
// }
|
2019 |
-
// }
|
2020 |
-
// }
|
2021 |
-
// }
|
2022 |
-
|
2023 |
-
// if(empty($left) && empty($right))
|
2024 |
-
// {
|
2025 |
-
// $beerflag = true;
|
2026 |
-
// }
|
2027 |
-
// else
|
2028 |
-
// {
|
2029 |
-
// if(!empty($left) && !empty($right))
|
2030 |
-
// {
|
2031 |
-
// if($rightbeerflag && $leftbeerflag)
|
2032 |
-
// {
|
2033 |
-
// $beerflag = true;
|
2034 |
-
// }
|
2035 |
-
// }
|
2036 |
-
// elseif(empty($left) && !empty($right))
|
2037 |
-
// {
|
2038 |
-
// if($rightbeerflag)
|
2039 |
-
// {
|
2040 |
-
// $beerflag = true;
|
2041 |
-
// }
|
2042 |
-
// }
|
2043 |
-
// elseif(!empty($left) && empty($right))
|
2044 |
-
// {
|
2045 |
-
// if($leftbeerflag)
|
2046 |
-
// {
|
2047 |
-
// $beerflag = true;
|
2048 |
-
// }
|
2049 |
-
// }
|
2050 |
-
// }
|
2051 |
-
// }
|
2052 |
-
// elseif(preg_match("/(malt)/im", $domainname))
|
2053 |
-
// {
|
2054 |
-
// $explode = explode("malt", $domainname);
|
2055 |
-
// $left = $explode[0];
|
2056 |
-
// $right = $explode[1];
|
2057 |
-
|
2058 |
-
// $leftbeerflag = false;
|
2059 |
-
// if(!empty($left))
|
2060 |
-
// {
|
2061 |
-
// $left = str_split($left);
|
2062 |
-
|
2063 |
-
// $matchKeyword = ''; $j = 0;
|
2064 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2065 |
-
// {
|
2066 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2067 |
-
|
2068 |
-
// if($j > 0)
|
2069 |
-
// {
|
2070 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2071 |
-
// {
|
2072 |
-
// $leftbeerflag = true;
|
2073 |
-
// break;
|
2074 |
-
// }
|
2075 |
-
// else
|
2076 |
-
// {
|
2077 |
-
// continue;
|
2078 |
-
// }
|
2079 |
-
// }
|
2080 |
-
// else
|
2081 |
-
// {
|
2082 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2083 |
-
// {
|
2084 |
-
// $leftbeerflag = true;
|
2085 |
-
// break;
|
2086 |
-
// }
|
2087 |
-
// }
|
2088 |
-
|
2089 |
-
// $j++;
|
2090 |
-
// }
|
2091 |
-
// }
|
2092 |
-
|
2093 |
-
// $rightbeerflag = false;
|
2094 |
-
// if(!empty($right))
|
2095 |
-
// {
|
2096 |
-
// $right = str_split($right);
|
2097 |
-
|
2098 |
-
// $matchKeyword = '';
|
2099 |
-
// for($i = 0; $i < count($right); $i++)
|
2100 |
-
// {
|
2101 |
-
// $matchKeyword .= $right[$i];
|
2102 |
-
// if($i > 0)
|
2103 |
-
// {
|
2104 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2105 |
-
// {
|
2106 |
-
// $rightbeerflag = true;
|
2107 |
-
// break;
|
2108 |
-
// }
|
2109 |
-
// else
|
2110 |
-
// {
|
2111 |
-
// continue;
|
2112 |
-
// }
|
2113 |
-
// }
|
2114 |
-
// else
|
2115 |
-
// {
|
2116 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2117 |
-
// {
|
2118 |
-
// $rightbeerflag = true;
|
2119 |
-
// break;
|
2120 |
-
// }
|
2121 |
-
// }
|
2122 |
-
// }
|
2123 |
-
// }
|
2124 |
-
|
2125 |
-
// if(empty($left) && empty($right))
|
2126 |
-
// {
|
2127 |
-
// $beerflag = true;
|
2128 |
-
// }
|
2129 |
-
// else
|
2130 |
-
// {
|
2131 |
-
// if(!empty($left) && !empty($right))
|
2132 |
-
// {
|
2133 |
-
// if($rightbeerflag && $leftbeerflag)
|
2134 |
-
// {
|
2135 |
-
// $beerflag = true;
|
2136 |
-
// }
|
2137 |
-
// }
|
2138 |
-
// elseif(empty($left) && !empty($right))
|
2139 |
-
// {
|
2140 |
-
// if($rightbeerflag)
|
2141 |
-
// {
|
2142 |
-
// $beerflag = true;
|
2143 |
-
// }
|
2144 |
-
// }
|
2145 |
-
// elseif(!empty($left) && empty($right))
|
2146 |
-
// {
|
2147 |
-
// if($leftbeerflag)
|
2148 |
-
// {
|
2149 |
-
// $beerflag = true;
|
2150 |
-
// }
|
2151 |
-
// }
|
2152 |
-
// }
|
2153 |
-
// }
|
2154 |
-
// }
|
2155 |
-
// elseif(preg_match("/(camera|photography|snapshot|photo|snap)/im", $domainname))
|
2156 |
-
// {
|
2157 |
-
// if(!empty($domainname))
|
2158 |
-
// {
|
2159 |
-
// $domainname = preg_replace('/cameracivile|cameradelcommercio|snapdragon|snappy/i', '', $domainname);
|
2160 |
-
// $explode = explode(".", $domainname);
|
2161 |
-
// $domainname = @$explode[0];
|
2162 |
-
// }
|
2163 |
-
// $cameraflag = false;
|
2164 |
-
|
2165 |
-
// if(preg_match("/(photography|snapshot)/im", $domainname))
|
2166 |
-
// {
|
2167 |
-
// $cameraflag = true;
|
2168 |
-
// }
|
2169 |
-
// elseif(preg_match("/(camera)/im", $domainname))
|
2170 |
-
// {
|
2171 |
-
// $explode = explode("camera", $domainname);
|
2172 |
-
// $left = $explode[0];
|
2173 |
-
// $right = $explode[1];
|
2174 |
-
|
2175 |
-
// $leftcameraflag = false;
|
2176 |
-
// if(!empty($left))
|
2177 |
-
// {
|
2178 |
-
// $left = str_split($left);
|
2179 |
-
|
2180 |
-
// $matchKeyword = ''; $j = 0;
|
2181 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2182 |
-
// {
|
2183 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2184 |
-
|
2185 |
-
// if($j > 0)
|
2186 |
-
// {
|
2187 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2188 |
-
// {
|
2189 |
-
// $leftcameraflag = true;
|
2190 |
-
// break;
|
2191 |
-
// }
|
2192 |
-
// else
|
2193 |
-
// {
|
2194 |
-
// continue;
|
2195 |
-
// }
|
2196 |
-
// }
|
2197 |
-
// else
|
2198 |
-
// {
|
2199 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2200 |
-
// {
|
2201 |
-
// $leftcameraflag = true;
|
2202 |
-
// break;
|
2203 |
-
// }
|
2204 |
-
// }
|
2205 |
-
|
2206 |
-
// $j++;
|
2207 |
-
// }
|
2208 |
-
// }
|
2209 |
-
|
2210 |
-
// $rightcameraflag = false;
|
2211 |
-
// if(!empty($right))
|
2212 |
-
// {
|
2213 |
-
// $right = str_split($right);
|
2214 |
-
|
2215 |
-
// $matchKeyword = '';
|
2216 |
-
// for($i = 0; $i < count($right); $i++)
|
2217 |
-
// {
|
2218 |
-
// $matchKeyword .= $right[$i];
|
2219 |
-
// if($i > 0)
|
2220 |
-
// {
|
2221 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2222 |
-
// {
|
2223 |
-
// $rightcameraflag = true;
|
2224 |
-
// break;
|
2225 |
-
// }
|
2226 |
-
// else
|
2227 |
-
// {
|
2228 |
-
// continue;
|
2229 |
-
// }
|
2230 |
-
// }
|
2231 |
-
// else
|
2232 |
-
// {
|
2233 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2234 |
-
// {
|
2235 |
-
// $rightcameraflag = true;
|
2236 |
-
// break;
|
2237 |
-
// }
|
2238 |
-
// }
|
2239 |
-
// }
|
2240 |
-
// }
|
2241 |
-
|
2242 |
-
// if(empty($left) && empty($right))
|
2243 |
-
// {
|
2244 |
-
// $cameraflag = true;
|
2245 |
-
// }
|
2246 |
-
// else
|
2247 |
-
// {
|
2248 |
-
// if(!empty($left) && !empty($right))
|
2249 |
-
// {
|
2250 |
-
// if($rightcameraflag && $leftcameraflag)
|
2251 |
-
// {
|
2252 |
-
// $cameraflag = true;
|
2253 |
-
// }
|
2254 |
-
// }
|
2255 |
-
// elseif(empty($left) && !empty($right))
|
2256 |
-
// {
|
2257 |
-
// if($rightcameraflag)
|
2258 |
-
// {
|
2259 |
-
// $cameraflag = true;
|
2260 |
-
// }
|
2261 |
-
// }
|
2262 |
-
// elseif(!empty($left) && empty($right))
|
2263 |
-
// {
|
2264 |
-
// if($leftcameraflag)
|
2265 |
-
// {
|
2266 |
-
// $cameraflag = true;
|
2267 |
-
// }
|
2268 |
-
// }
|
2269 |
-
// }
|
2270 |
-
// }
|
2271 |
-
// elseif(preg_match("/(photo)/im", $domainname))
|
2272 |
-
// {
|
2273 |
-
// $explode = explode("photo", $domainname);
|
2274 |
-
// $left = $explode[0];
|
2275 |
-
// $right = $explode[1];
|
2276 |
-
|
2277 |
-
// $leftcameraflag = false;
|
2278 |
-
// if(!empty($left))
|
2279 |
-
// {
|
2280 |
-
// $left = str_split($left);
|
2281 |
-
|
2282 |
-
// $matchKeyword = ''; $j = 0;
|
2283 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2284 |
-
// {
|
2285 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2286 |
-
|
2287 |
-
// if($j > 0)
|
2288 |
-
// {
|
2289 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2290 |
-
// {
|
2291 |
-
// $leftcameraflag = true;
|
2292 |
-
// break;
|
2293 |
-
// }
|
2294 |
-
// else
|
2295 |
-
// {
|
2296 |
-
// continue;
|
2297 |
-
// }
|
2298 |
-
// }
|
2299 |
-
// else
|
2300 |
-
// {
|
2301 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2302 |
-
// {
|
2303 |
-
// $leftcameraflag = true;
|
2304 |
-
// break;
|
2305 |
-
// }
|
2306 |
-
// }
|
2307 |
-
|
2308 |
-
// $j++;
|
2309 |
-
// }
|
2310 |
-
// }
|
2311 |
-
|
2312 |
-
// $rightcameraflag = false;
|
2313 |
-
// if(!empty($right))
|
2314 |
-
// {
|
2315 |
-
// $right = str_split($right);
|
2316 |
-
|
2317 |
-
// $matchKeyword = '';
|
2318 |
-
// for($i = 0; $i < count($right); $i++)
|
2319 |
-
// {
|
2320 |
-
// $matchKeyword .= $right[$i];
|
2321 |
-
// if($i > 0)
|
2322 |
-
// {
|
2323 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2324 |
-
// {
|
2325 |
-
// $rightcameraflag = true;
|
2326 |
-
// break;
|
2327 |
-
// }
|
2328 |
-
// else
|
2329 |
-
// {
|
2330 |
-
// continue;
|
2331 |
-
// }
|
2332 |
-
// }
|
2333 |
-
// else
|
2334 |
-
// {
|
2335 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2336 |
-
// {
|
2337 |
-
// $rightcameraflag = true;
|
2338 |
-
// break;
|
2339 |
-
// }
|
2340 |
-
// }
|
2341 |
-
// }
|
2342 |
-
// }
|
2343 |
-
|
2344 |
-
// if(empty($left) && empty($right))
|
2345 |
-
// {
|
2346 |
-
// $cameraflag = true;
|
2347 |
-
// }
|
2348 |
-
// else
|
2349 |
-
// {
|
2350 |
-
// if(!empty($left) && !empty($right))
|
2351 |
-
// {
|
2352 |
-
// if($rightcameraflag && $leftcameraflag)
|
2353 |
-
// {
|
2354 |
-
// $cameraflag = true;
|
2355 |
-
// }
|
2356 |
-
// }
|
2357 |
-
// elseif(empty($left) && !empty($right))
|
2358 |
-
// {
|
2359 |
-
// if($rightcameraflag)
|
2360 |
-
// {
|
2361 |
-
// $cameraflag = true;
|
2362 |
-
// }
|
2363 |
-
// }
|
2364 |
-
// elseif(!empty($left) && empty($right))
|
2365 |
-
// {
|
2366 |
-
// if($leftcameraflag)
|
2367 |
-
// {
|
2368 |
-
// $cameraflag = true;
|
2369 |
-
// }
|
2370 |
-
// }
|
2371 |
-
// }
|
2372 |
-
// }
|
2373 |
-
// elseif(preg_match("/(snap)/im", $domainname))
|
2374 |
-
// {
|
2375 |
-
// $explode = explode("snap", $domainname);
|
2376 |
-
// $left = $explode[0];
|
2377 |
-
// $right = $explode[1];
|
2378 |
-
|
2379 |
-
// $leftcameraflag = false;
|
2380 |
-
// if(!empty($left))
|
2381 |
-
// {
|
2382 |
-
// $left = str_split($left);
|
2383 |
-
|
2384 |
-
// $matchKeyword = ''; $j = 0;
|
2385 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2386 |
-
// {
|
2387 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2388 |
-
|
2389 |
-
// if($j > 0)
|
2390 |
-
// {
|
2391 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2392 |
-
// {
|
2393 |
-
// $leftcameraflag = true;
|
2394 |
-
// break;
|
2395 |
-
// }
|
2396 |
-
// else
|
2397 |
-
// {
|
2398 |
-
// continue;
|
2399 |
-
// }
|
2400 |
-
// }
|
2401 |
-
// else
|
2402 |
-
// {
|
2403 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2404 |
-
// {
|
2405 |
-
// $leftcameraflag = true;
|
2406 |
-
// break;
|
2407 |
-
// }
|
2408 |
-
// }
|
2409 |
-
|
2410 |
-
// $j++;
|
2411 |
-
// }
|
2412 |
-
// }
|
2413 |
-
|
2414 |
-
// $rightcameraflag = false;
|
2415 |
-
// if(!empty($right))
|
2416 |
-
// {
|
2417 |
-
// $right = str_split($right);
|
2418 |
-
|
2419 |
-
// $matchKeyword = '';
|
2420 |
-
// for($i = 0; $i < count($right); $i++)
|
2421 |
-
// {
|
2422 |
-
// $matchKeyword .= $right[$i];
|
2423 |
-
// if($i > 0)
|
2424 |
-
// {
|
2425 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2426 |
-
// {
|
2427 |
-
// $rightcameraflag = true;
|
2428 |
-
// break;
|
2429 |
-
// }
|
2430 |
-
// else
|
2431 |
-
// {
|
2432 |
-
// continue;
|
2433 |
-
// }
|
2434 |
-
// }
|
2435 |
-
// else
|
2436 |
-
// {
|
2437 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2438 |
-
// {
|
2439 |
-
// $rightcameraflag = true;
|
2440 |
-
// break;
|
2441 |
-
// }
|
2442 |
-
// }
|
2443 |
-
// }
|
2444 |
-
// }
|
2445 |
-
|
2446 |
-
// if(empty($left) && empty($right))
|
2447 |
-
// {
|
2448 |
-
// $cameraflag = true;
|
2449 |
-
// }
|
2450 |
-
// else
|
2451 |
-
// {
|
2452 |
-
// if(!empty($left) && !empty($right))
|
2453 |
-
// {
|
2454 |
-
// if($rightcameraflag && $leftcameraflag)
|
2455 |
-
// {
|
2456 |
-
// $cameraflag = true;
|
2457 |
-
// }
|
2458 |
-
// }
|
2459 |
-
// elseif(empty($left) && !empty($right))
|
2460 |
-
// {
|
2461 |
-
// if($rightcameraflag)
|
2462 |
-
// {
|
2463 |
-
// $cameraflag = true;
|
2464 |
-
// }
|
2465 |
-
// }
|
2466 |
-
// elseif(!empty($left) && empty($right))
|
2467 |
-
// {
|
2468 |
-
// if($leftcameraflag)
|
2469 |
-
// {
|
2470 |
-
// $cameraflag = true;
|
2471 |
-
// }
|
2472 |
-
// }
|
2473 |
-
// }
|
2474 |
-
// }
|
2475 |
-
// }
|
2476 |
-
// elseif(preg_match("/(housing|realestate|realtor|property|immoveables)/im", $domainname))
|
2477 |
-
// {
|
2478 |
-
// /*if(!empty($domainname))
|
2479 |
-
// {
|
2480 |
-
// $domainname = preg_replace('/cameracivile|cameradelcommercio|snapdragon|snappy/i', '', $domainname);
|
2481 |
-
// $explode = explode(".", $domainname);
|
2482 |
-
// $domainname = @$explode[0];
|
2483 |
-
// }*/
|
2484 |
-
// $houseflag = false;
|
2485 |
-
|
2486 |
-
// if(preg_match("/(realestate|realtor|property|immoveables)/im", $domainname))
|
2487 |
-
// {
|
2488 |
-
// $houseflag = true;
|
2489 |
-
// }
|
2490 |
-
// elseif(preg_match("/(housing)/im", $domainname))
|
2491 |
-
// {
|
2492 |
-
// $explode = explode("housing", $domainname);
|
2493 |
-
// $left = $explode[0];
|
2494 |
-
// $right = $explode[1];
|
2495 |
-
|
2496 |
-
// $lefthouseflag = false;
|
2497 |
-
// if(!empty($left))
|
2498 |
-
// {
|
2499 |
-
// $left = str_split($left);
|
2500 |
-
|
2501 |
-
// $matchKeyword = ''; $j = 0;
|
2502 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2503 |
-
// {
|
2504 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2505 |
-
|
2506 |
-
// if($j > 0)
|
2507 |
-
// {
|
2508 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2509 |
-
// {
|
2510 |
-
// $lefthouseflag = true;
|
2511 |
-
// break;
|
2512 |
-
// }
|
2513 |
-
// else
|
2514 |
-
// {
|
2515 |
-
// continue;
|
2516 |
-
// }
|
2517 |
-
// }
|
2518 |
-
// else
|
2519 |
-
// {
|
2520 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2521 |
-
// {
|
2522 |
-
// $lefthouseflag = true;
|
2523 |
-
// break;
|
2524 |
-
// }
|
2525 |
-
// }
|
2526 |
-
|
2527 |
-
// $j++;
|
2528 |
-
// }
|
2529 |
-
// }
|
2530 |
-
|
2531 |
-
// $righthouseflag = false;
|
2532 |
-
// if(!empty($right))
|
2533 |
-
// {
|
2534 |
-
// $right = str_split($right);
|
2535 |
-
|
2536 |
-
// $matchKeyword = '';
|
2537 |
-
// for($i = 0; $i < count($right); $i++)
|
2538 |
-
// {
|
2539 |
-
// $matchKeyword .= $right[$i];
|
2540 |
-
// if($i > 0)
|
2541 |
-
// {
|
2542 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2543 |
-
// {
|
2544 |
-
// $righthouseflag = true;
|
2545 |
-
// break;
|
2546 |
-
// }
|
2547 |
-
// else
|
2548 |
-
// {
|
2549 |
-
// continue;
|
2550 |
-
// }
|
2551 |
-
// }
|
2552 |
-
// else
|
2553 |
-
// {
|
2554 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2555 |
-
// {
|
2556 |
-
// $righthouseflag = true;
|
2557 |
-
// break;
|
2558 |
-
// }
|
2559 |
-
// }
|
2560 |
-
// }
|
2561 |
-
// }
|
2562 |
-
|
2563 |
-
// if(empty($left) && empty($right))
|
2564 |
-
// {
|
2565 |
-
// $houseflag = true;
|
2566 |
-
// }
|
2567 |
-
// else
|
2568 |
-
// {
|
2569 |
-
// if(!empty($left) && !empty($right))
|
2570 |
-
// {
|
2571 |
-
// if($righthouseflag && $lefthouseflag)
|
2572 |
-
// {
|
2573 |
-
// $houseflag = true;
|
2574 |
-
// }
|
2575 |
-
// }
|
2576 |
-
// elseif(empty($left) && !empty($right))
|
2577 |
-
// {
|
2578 |
-
// if($righthouseflag)
|
2579 |
-
// {
|
2580 |
-
// $houseflag = true;
|
2581 |
-
// }
|
2582 |
-
// }
|
2583 |
-
// elseif(!empty($left) && empty($right))
|
2584 |
-
// {
|
2585 |
-
// if($lefthouseflag)
|
2586 |
-
// {
|
2587 |
-
// $houseflag = true;
|
2588 |
-
// }
|
2589 |
-
// }
|
2590 |
-
// }
|
2591 |
-
// }
|
2592 |
-
// }
|
2593 |
-
// elseif(preg_match("/(cook|cooking|recipe|chef|baking|roasting|grilling|frying|bake|grill|fry)/im", $domainname))
|
2594 |
-
// {
|
2595 |
-
// if(!empty($domainname))
|
2596 |
-
// {
|
2597 |
-
// $domainname = preg_replace('/grillo|grilla/i', '', $domainname);
|
2598 |
-
// $explode = explode(".", $domainname);
|
2599 |
-
// $domainname = @$explode[0];
|
2600 |
-
// }
|
2601 |
-
// $cookflag = false;
|
2602 |
-
|
2603 |
-
// if(preg_match("/(cooking|recipe|chef|baking|roasting|grilling|frying)/im", $domainname))
|
2604 |
-
// {
|
2605 |
-
// $cookflag = true;
|
2606 |
-
// }
|
2607 |
-
// elseif(preg_match("/(cook)/im", $domainname))
|
2608 |
-
// {
|
2609 |
-
// $explode = explode("cook", $domainname);
|
2610 |
-
// $left = $explode[0];
|
2611 |
-
// $right = $explode[1];
|
2612 |
-
|
2613 |
-
// $leftcookflag = false;
|
2614 |
-
// if(!empty($left))
|
2615 |
-
// {
|
2616 |
-
// $left = str_split($left);
|
2617 |
-
|
2618 |
-
// $matchKeyword = ''; $j = 0;
|
2619 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2620 |
-
// {
|
2621 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2622 |
-
|
2623 |
-
// if($j > 0)
|
2624 |
-
// {
|
2625 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2626 |
-
// {
|
2627 |
-
// $leftcookflag = true;
|
2628 |
-
// break;
|
2629 |
-
// }
|
2630 |
-
// else
|
2631 |
-
// {
|
2632 |
-
// continue;
|
2633 |
-
// }
|
2634 |
-
// }
|
2635 |
-
// else
|
2636 |
-
// {
|
2637 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2638 |
-
// {
|
2639 |
-
// $leftcookflag = true;
|
2640 |
-
// break;
|
2641 |
-
// }
|
2642 |
-
// }
|
2643 |
-
|
2644 |
-
// $j++;
|
2645 |
-
// }
|
2646 |
-
// }
|
2647 |
-
|
2648 |
-
// $rightcookflag = false;
|
2649 |
-
// if(!empty($right))
|
2650 |
-
// {
|
2651 |
-
// $right = str_split($right);
|
2652 |
-
|
2653 |
-
// $matchKeyword = '';
|
2654 |
-
// for($i = 0; $i < count($right); $i++)
|
2655 |
-
// {
|
2656 |
-
// $matchKeyword .= $right[$i];
|
2657 |
-
// if($i > 0)
|
2658 |
-
// {
|
2659 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2660 |
-
// {
|
2661 |
-
// $rightcookflag = true;
|
2662 |
-
// break;
|
2663 |
-
// }
|
2664 |
-
// else
|
2665 |
-
// {
|
2666 |
-
// continue;
|
2667 |
-
// }
|
2668 |
-
// }
|
2669 |
-
// else
|
2670 |
-
// {
|
2671 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2672 |
-
// {
|
2673 |
-
// $rightcookflag = true;
|
2674 |
-
// break;
|
2675 |
-
// }
|
2676 |
-
// }
|
2677 |
-
// }
|
2678 |
-
// }
|
2679 |
-
|
2680 |
-
// if(empty($left) && empty($right))
|
2681 |
-
// {
|
2682 |
-
// $cookflag = true;
|
2683 |
-
// }
|
2684 |
-
// else
|
2685 |
-
// {
|
2686 |
-
// if(!empty($left) && !empty($right))
|
2687 |
-
// {
|
2688 |
-
// if($rightcookflag && $leftcookflag)
|
2689 |
-
// {
|
2690 |
-
// $cookflag = true;
|
2691 |
-
// }
|
2692 |
-
// }
|
2693 |
-
// elseif(empty($left) && !empty($right))
|
2694 |
-
// {
|
2695 |
-
// if($rightcookflag)
|
2696 |
-
// {
|
2697 |
-
// $cookflag = true;
|
2698 |
-
// }
|
2699 |
-
// }
|
2700 |
-
// elseif(!empty($left) && empty($right))
|
2701 |
-
// {
|
2702 |
-
// if($leftcookflag)
|
2703 |
-
// {
|
2704 |
-
// $cookflag = true;
|
2705 |
-
// }
|
2706 |
-
// }
|
2707 |
-
// }
|
2708 |
-
// }
|
2709 |
-
// elseif(preg_match("/(bake)/im", $domainname))
|
2710 |
-
// {
|
2711 |
-
// $explode = explode("bake", $domainname);
|
2712 |
-
// $left = $explode[0];
|
2713 |
-
// $right = $explode[1];
|
2714 |
-
|
2715 |
-
// $leftcookflag = false;
|
2716 |
-
// if(!empty($left))
|
2717 |
-
// {
|
2718 |
-
// $left = str_split($left);
|
2719 |
-
|
2720 |
-
// $matchKeyword = ''; $j = 0;
|
2721 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2722 |
-
// {
|
2723 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2724 |
-
|
2725 |
-
// if($j > 0)
|
2726 |
-
// {
|
2727 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2728 |
-
// {
|
2729 |
-
// $leftcookflag = true;
|
2730 |
-
// break;
|
2731 |
-
// }
|
2732 |
-
// else
|
2733 |
-
// {
|
2734 |
-
// continue;
|
2735 |
-
// }
|
2736 |
-
// }
|
2737 |
-
// else
|
2738 |
-
// {
|
2739 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2740 |
-
// {
|
2741 |
-
// $leftcookflag = true;
|
2742 |
-
// break;
|
2743 |
-
// }
|
2744 |
-
// }
|
2745 |
-
|
2746 |
-
// $j++;
|
2747 |
-
// }
|
2748 |
-
// }
|
2749 |
-
|
2750 |
-
// $rightcookflag = false;
|
2751 |
-
// if(!empty($right))
|
2752 |
-
// {
|
2753 |
-
// $right = str_split($right);
|
2754 |
-
|
2755 |
-
// $matchKeyword = '';
|
2756 |
-
// for($i = 0; $i < count($right); $i++)
|
2757 |
-
// {
|
2758 |
-
// $matchKeyword .= $right[$i];
|
2759 |
-
// if($i > 0)
|
2760 |
-
// {
|
2761 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2762 |
-
// {
|
2763 |
-
// $rightcookflag = true;
|
2764 |
-
// break;
|
2765 |
-
// }
|
2766 |
-
// else
|
2767 |
-
// {
|
2768 |
-
// continue;
|
2769 |
-
// }
|
2770 |
-
// }
|
2771 |
-
// else
|
2772 |
-
// {
|
2773 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2774 |
-
// {
|
2775 |
-
// $rightcookflag = true;
|
2776 |
-
// break;
|
2777 |
-
// }
|
2778 |
-
// }
|
2779 |
-
// }
|
2780 |
-
// }
|
2781 |
-
|
2782 |
-
// if(empty($left) && empty($right))
|
2783 |
-
// {
|
2784 |
-
// $cookflag = true;
|
2785 |
-
// }
|
2786 |
-
// else
|
2787 |
-
// {
|
2788 |
-
// if(!empty($left) && !empty($right))
|
2789 |
-
// {
|
2790 |
-
// if($rightcookflag && $leftcookflag)
|
2791 |
-
// {
|
2792 |
-
// $cookflag = true;
|
2793 |
-
// }
|
2794 |
-
// }
|
2795 |
-
// elseif(empty($left) && !empty($right))
|
2796 |
-
// {
|
2797 |
-
// if($rightcookflag)
|
2798 |
-
// {
|
2799 |
-
// $cookflag = true;
|
2800 |
-
// }
|
2801 |
-
// }
|
2802 |
-
// elseif(!empty($left) && empty($right))
|
2803 |
-
// {
|
2804 |
-
// if($leftcookflag)
|
2805 |
-
// {
|
2806 |
-
// $cookflag = true;
|
2807 |
-
// }
|
2808 |
-
// }
|
2809 |
-
// }
|
2810 |
-
// }
|
2811 |
-
// elseif(preg_match("/(grill)/im", $domainname))
|
2812 |
-
// {
|
2813 |
-
// $explode = explode("grill", $domainname);
|
2814 |
-
// $left = $explode[0];
|
2815 |
-
// $right = $explode[1];
|
2816 |
-
|
2817 |
-
// $leftcookflag = false;
|
2818 |
-
// if(!empty($left))
|
2819 |
-
// {
|
2820 |
-
// $left = str_split($left);
|
2821 |
-
|
2822 |
-
// $matchKeyword = ''; $j = 0;
|
2823 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2824 |
-
// {
|
2825 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2826 |
-
|
2827 |
-
// if($j > 0)
|
2828 |
-
// {
|
2829 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2830 |
-
// {
|
2831 |
-
// $leftcookflag = true;
|
2832 |
-
// break;
|
2833 |
-
// }
|
2834 |
-
// else
|
2835 |
-
// {
|
2836 |
-
// continue;
|
2837 |
-
// }
|
2838 |
-
// }
|
2839 |
-
// else
|
2840 |
-
// {
|
2841 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2842 |
-
// {
|
2843 |
-
// $leftcookflag = true;
|
2844 |
-
// break;
|
2845 |
-
// }
|
2846 |
-
// }
|
2847 |
-
|
2848 |
-
// $j++;
|
2849 |
-
// }
|
2850 |
-
// }
|
2851 |
-
|
2852 |
-
// $rightcookflag = false;
|
2853 |
-
// if(!empty($right))
|
2854 |
-
// {
|
2855 |
-
// $right = str_split($right);
|
2856 |
-
|
2857 |
-
// $matchKeyword = '';
|
2858 |
-
// for($i = 0; $i < count($right); $i++)
|
2859 |
-
// {
|
2860 |
-
// $matchKeyword .= $right[$i];
|
2861 |
-
// if($i > 0)
|
2862 |
-
// {
|
2863 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2864 |
-
// {
|
2865 |
-
// $rightcookflag = true;
|
2866 |
-
// break;
|
2867 |
-
// }
|
2868 |
-
// else
|
2869 |
-
// {
|
2870 |
-
// continue;
|
2871 |
-
// }
|
2872 |
-
// }
|
2873 |
-
// else
|
2874 |
-
// {
|
2875 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2876 |
-
// {
|
2877 |
-
// $rightcookflag = true;
|
2878 |
-
// break;
|
2879 |
-
// }
|
2880 |
-
// }
|
2881 |
-
// }
|
2882 |
-
// }
|
2883 |
-
|
2884 |
-
// if(empty($left) && empty($right))
|
2885 |
-
// {
|
2886 |
-
// $cookflag = true;
|
2887 |
-
// }
|
2888 |
-
// else
|
2889 |
-
// {
|
2890 |
-
// if(!empty($left) && !empty($right))
|
2891 |
-
// {
|
2892 |
-
// if($rightcookflag && $leftcookflag)
|
2893 |
-
// {
|
2894 |
-
// $cookflag = true;
|
2895 |
-
// }
|
2896 |
-
// }
|
2897 |
-
// elseif(empty($left) && !empty($right))
|
2898 |
-
// {
|
2899 |
-
// if($rightcookflag)
|
2900 |
-
// {
|
2901 |
-
// $cookflag = true;
|
2902 |
-
// }
|
2903 |
-
// }
|
2904 |
-
// elseif(!empty($left) && empty($right))
|
2905 |
-
// {
|
2906 |
-
// if($leftcookflag)
|
2907 |
-
// {
|
2908 |
-
// $cookflag = true;
|
2909 |
-
// }
|
2910 |
-
// }
|
2911 |
-
// }
|
2912 |
-
// }
|
2913 |
-
// elseif(preg_match("/(fry)/im", $domainname))
|
2914 |
-
// {
|
2915 |
-
// $explode = explode("fry", $domainname);
|
2916 |
-
// $left = $explode[0];
|
2917 |
-
// $right = $explode[1];
|
2918 |
-
|
2919 |
-
// $leftcookflag = false;
|
2920 |
-
// if(!empty($left))
|
2921 |
-
// {
|
2922 |
-
// $left = str_split($left);
|
2923 |
-
|
2924 |
-
// $matchKeyword = ''; $j = 0;
|
2925 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
2926 |
-
// {
|
2927 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
2928 |
-
|
2929 |
-
// if($j > 0)
|
2930 |
-
// {
|
2931 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2932 |
-
// {
|
2933 |
-
// $leftcookflag = true;
|
2934 |
-
// break;
|
2935 |
-
// }
|
2936 |
-
// else
|
2937 |
-
// {
|
2938 |
-
// continue;
|
2939 |
-
// }
|
2940 |
-
// }
|
2941 |
-
// else
|
2942 |
-
// {
|
2943 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2944 |
-
// {
|
2945 |
-
// $leftcookflag = true;
|
2946 |
-
// break;
|
2947 |
-
// }
|
2948 |
-
// }
|
2949 |
-
|
2950 |
-
// $j++;
|
2951 |
-
// }
|
2952 |
-
// }
|
2953 |
-
|
2954 |
-
// $rightcookflag = false;
|
2955 |
-
// if(!empty($right))
|
2956 |
-
// {
|
2957 |
-
// $right = str_split($right);
|
2958 |
-
|
2959 |
-
// $matchKeyword = '';
|
2960 |
-
// for($i = 0; $i < count($right); $i++)
|
2961 |
-
// {
|
2962 |
-
// $matchKeyword .= $right[$i];
|
2963 |
-
// if($i > 0)
|
2964 |
-
// {
|
2965 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
2966 |
-
// {
|
2967 |
-
// $rightcookflag = true;
|
2968 |
-
// break;
|
2969 |
-
// }
|
2970 |
-
// else
|
2971 |
-
// {
|
2972 |
-
// continue;
|
2973 |
-
// }
|
2974 |
-
// }
|
2975 |
-
// else
|
2976 |
-
// {
|
2977 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
2978 |
-
// {
|
2979 |
-
// $rightcookflag = true;
|
2980 |
-
// break;
|
2981 |
-
// }
|
2982 |
-
// }
|
2983 |
-
// }
|
2984 |
-
// }
|
2985 |
-
|
2986 |
-
// if(empty($left) && empty($right))
|
2987 |
-
// {
|
2988 |
-
// $cookflag = true;
|
2989 |
-
// }
|
2990 |
-
// else
|
2991 |
-
// {
|
2992 |
-
// if(!empty($left) && !empty($right))
|
2993 |
-
// {
|
2994 |
-
// if($rightcookflag && $leftcookflag)
|
2995 |
-
// {
|
2996 |
-
// $cookflag = true;
|
2997 |
-
// }
|
2998 |
-
// }
|
2999 |
-
// elseif(empty($left) && !empty($right))
|
3000 |
-
// {
|
3001 |
-
// if($rightcookflag)
|
3002 |
-
// {
|
3003 |
-
// $cookflag = true;
|
3004 |
-
// }
|
3005 |
-
// }
|
3006 |
-
// elseif(!empty($left) && empty($right))
|
3007 |
-
// {
|
3008 |
-
// if($leftcookflag)
|
3009 |
-
// {
|
3010 |
-
// $cookflag = true;
|
3011 |
-
// }
|
3012 |
-
// }
|
3013 |
-
// }
|
3014 |
-
// }
|
3015 |
-
// }
|
3016 |
-
// elseif(preg_match("/(drink|drinking|wine|winery|softdrinks|booze|guzzle|drunk)/im", $domainname))
|
3017 |
-
// {
|
3018 |
-
// /*if(!empty($domainname))
|
3019 |
-
// {
|
3020 |
-
// $domainname = preg_replace('/grillo|grilla/i', '', $domainname);
|
3021 |
-
// $explode = explode(".", $domainname);
|
3022 |
-
// $domainname = @$explode[0];
|
3023 |
-
// }*/
|
3024 |
-
// $drinkflag = false;
|
3025 |
-
|
3026 |
-
// if(preg_match("/(drinking|wine|winery|softdrinks|booze|guzzle)/im", $domainname))
|
3027 |
-
// {
|
3028 |
-
// $drinkflag = true;
|
3029 |
-
// }
|
3030 |
-
// elseif(preg_match("/(drunk)/im", $domainname))
|
3031 |
-
// {
|
3032 |
-
// $explode = explode("drunk", $domainname);
|
3033 |
-
// $left = $explode[0];
|
3034 |
-
// $right = $explode[1];
|
3035 |
-
|
3036 |
-
// $leftdrinkflag = false;
|
3037 |
-
// if(!empty($left))
|
3038 |
-
// {
|
3039 |
-
// $left = str_split($left);
|
3040 |
-
|
3041 |
-
// $matchKeyword = ''; $j = 0;
|
3042 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3043 |
-
// {
|
3044 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3045 |
-
|
3046 |
-
// if($j > 0)
|
3047 |
-
// {
|
3048 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3049 |
-
// {
|
3050 |
-
// $leftdrinkflag = true;
|
3051 |
-
// break;
|
3052 |
-
// }
|
3053 |
-
// else
|
3054 |
-
// {
|
3055 |
-
// continue;
|
3056 |
-
// }
|
3057 |
-
// }
|
3058 |
-
// else
|
3059 |
-
// {
|
3060 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3061 |
-
// {
|
3062 |
-
// $leftdrinkflag = true;
|
3063 |
-
// break;
|
3064 |
-
// }
|
3065 |
-
// }
|
3066 |
-
|
3067 |
-
// $j++;
|
3068 |
-
// }
|
3069 |
-
// }
|
3070 |
-
|
3071 |
-
// $rightdrinkflag = false;
|
3072 |
-
// if(!empty($right))
|
3073 |
-
// {
|
3074 |
-
// $right = str_split($right);
|
3075 |
-
|
3076 |
-
// $matchKeyword = '';
|
3077 |
-
// for($i = 0; $i < count($right); $i++)
|
3078 |
-
// {
|
3079 |
-
// $matchKeyword .= $right[$i];
|
3080 |
-
// if($i > 0)
|
3081 |
-
// {
|
3082 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3083 |
-
// {
|
3084 |
-
// $rightdrinkflag = true;
|
3085 |
-
// break;
|
3086 |
-
// }
|
3087 |
-
// else
|
3088 |
-
// {
|
3089 |
-
// continue;
|
3090 |
-
// }
|
3091 |
-
// }
|
3092 |
-
// else
|
3093 |
-
// {
|
3094 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3095 |
-
// {
|
3096 |
-
// $rightdrinkflag = true;
|
3097 |
-
// break;
|
3098 |
-
// }
|
3099 |
-
// }
|
3100 |
-
// }
|
3101 |
-
// }
|
3102 |
-
|
3103 |
-
// if(empty($left) && empty($right))
|
3104 |
-
// {
|
3105 |
-
// $drinkflag = true;
|
3106 |
-
// }
|
3107 |
-
// else
|
3108 |
-
// {
|
3109 |
-
// if(!empty($left) && !empty($right))
|
3110 |
-
// {
|
3111 |
-
// if($rightdrinkflag && $leftdrinkflag)
|
3112 |
-
// {
|
3113 |
-
// $drinkflag = true;
|
3114 |
-
// }
|
3115 |
-
// }
|
3116 |
-
// elseif(empty($left) && !empty($right))
|
3117 |
-
// {
|
3118 |
-
// if($rightdrinkflag)
|
3119 |
-
// {
|
3120 |
-
// $drinkflag = true;
|
3121 |
-
// }
|
3122 |
-
// }
|
3123 |
-
// elseif(!empty($left) && empty($right))
|
3124 |
-
// {
|
3125 |
-
// if($leftdrinkflag)
|
3126 |
-
// {
|
3127 |
-
// $drinkflag = true;
|
3128 |
-
// }
|
3129 |
-
// }
|
3130 |
-
// }
|
3131 |
-
// }
|
3132 |
-
// elseif(preg_match("/(drink)/im", $domainname))
|
3133 |
-
// {
|
3134 |
-
// $explode = explode("drink", $domainname);
|
3135 |
-
// $left = $explode[0];
|
3136 |
-
// $right = $explode[1];
|
3137 |
-
|
3138 |
-
// $leftdrinkflag = false;
|
3139 |
-
// if(!empty($left))
|
3140 |
-
// {
|
3141 |
-
// $left = str_split($left);
|
3142 |
-
|
3143 |
-
// $matchKeyword = ''; $j = 0;
|
3144 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3145 |
-
// {
|
3146 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3147 |
-
|
3148 |
-
// if($j > 0)
|
3149 |
-
// {
|
3150 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3151 |
-
// {
|
3152 |
-
// $leftdrinkflag = true;
|
3153 |
-
// break;
|
3154 |
-
// }
|
3155 |
-
// else
|
3156 |
-
// {
|
3157 |
-
// continue;
|
3158 |
-
// }
|
3159 |
-
// }
|
3160 |
-
// else
|
3161 |
-
// {
|
3162 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3163 |
-
// {
|
3164 |
-
// $leftdrinkflag = true;
|
3165 |
-
// break;
|
3166 |
-
// }
|
3167 |
-
// }
|
3168 |
-
|
3169 |
-
// $j++;
|
3170 |
-
// }
|
3171 |
-
// }
|
3172 |
-
|
3173 |
-
// $rightdrinkflag = false;
|
3174 |
-
// if(!empty($right))
|
3175 |
-
// {
|
3176 |
-
// $right = str_split($right);
|
3177 |
-
|
3178 |
-
// $matchKeyword = '';
|
3179 |
-
// for($i = 0; $i < count($right); $i++)
|
3180 |
-
// {
|
3181 |
-
// $matchKeyword .= $right[$i];
|
3182 |
-
// if($i > 0)
|
3183 |
-
// {
|
3184 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3185 |
-
// {
|
3186 |
-
// $rightdrinkflag = true;
|
3187 |
-
// break;
|
3188 |
-
// }
|
3189 |
-
// else
|
3190 |
-
// {
|
3191 |
-
// continue;
|
3192 |
-
// }
|
3193 |
-
// }
|
3194 |
-
// else
|
3195 |
-
// {
|
3196 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3197 |
-
// {
|
3198 |
-
// $rightdrinkflag = true;
|
3199 |
-
// break;
|
3200 |
-
// }
|
3201 |
-
// }
|
3202 |
-
// }
|
3203 |
-
// }
|
3204 |
-
|
3205 |
-
// if(empty($left) && empty($right))
|
3206 |
-
// {
|
3207 |
-
// $drinkflag = true;
|
3208 |
-
// }
|
3209 |
-
// else
|
3210 |
-
// {
|
3211 |
-
// if(!empty($left) && !empty($right))
|
3212 |
-
// {
|
3213 |
-
// if($rightdrinkflag && $leftdrinkflag)
|
3214 |
-
// {
|
3215 |
-
// $drinkflag = true;
|
3216 |
-
// }
|
3217 |
-
// }
|
3218 |
-
// elseif(empty($left) && !empty($right))
|
3219 |
-
// {
|
3220 |
-
// if($rightdrinkflag)
|
3221 |
-
// {
|
3222 |
-
// $drinkflag = true;
|
3223 |
-
// }
|
3224 |
-
// }
|
3225 |
-
// elseif(!empty($left) && empty($right))
|
3226 |
-
// {
|
3227 |
-
// if($leftdrinkflag)
|
3228 |
-
// {
|
3229 |
-
// $drinkflag = true;
|
3230 |
-
// }
|
3231 |
-
// }
|
3232 |
-
// }
|
3233 |
-
// }
|
3234 |
-
// }
|
3235 |
-
// elseif(preg_match("/(travel|journey|trekking|voyage|trek|trip|hike|hiking)/im", $domainname))
|
3236 |
-
// {
|
3237 |
-
// if(!empty($domainname))
|
3238 |
-
// {
|
3239 |
-
// $domainname = preg_replace('/startrek|trekstar|strip|stripper|trippy|stripping|tripwire/i', '', $domainname);
|
3240 |
-
// $explode = explode(".", $domainname);
|
3241 |
-
// $domainname = @$explode[0];
|
3242 |
-
// }
|
3243 |
-
// $travelflag = false;
|
3244 |
-
|
3245 |
-
// if(preg_match("/(travel|journey|trekking|voyage|trek)/im", $domainname))
|
3246 |
-
// {
|
3247 |
-
// $travelflag = true;
|
3248 |
-
// }
|
3249 |
-
// elseif(preg_match("/(treks)/im", $domainname))
|
3250 |
-
// {
|
3251 |
-
// $explode = explode("treks", $domainname);
|
3252 |
-
// $left = $explode[0];
|
3253 |
-
// $right = $explode[1];
|
3254 |
-
|
3255 |
-
// $lefttravelflag = false;
|
3256 |
-
// if(!empty($left))
|
3257 |
-
// {
|
3258 |
-
// $left = str_split($left);
|
3259 |
-
|
3260 |
-
// $matchKeyword = ''; $j = 0;
|
3261 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3262 |
-
// {
|
3263 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3264 |
-
|
3265 |
-
// if($j > 0)
|
3266 |
-
// {
|
3267 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3268 |
-
// {
|
3269 |
-
// $lefttravelflag = true;
|
3270 |
-
// break;
|
3271 |
-
// }
|
3272 |
-
// else
|
3273 |
-
// {
|
3274 |
-
// continue;
|
3275 |
-
// }
|
3276 |
-
// }
|
3277 |
-
// else
|
3278 |
-
// {
|
3279 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3280 |
-
// {
|
3281 |
-
// $lefttravelflag = true;
|
3282 |
-
// break;
|
3283 |
-
// }
|
3284 |
-
// }
|
3285 |
-
|
3286 |
-
// $j++;
|
3287 |
-
// }
|
3288 |
-
// }
|
3289 |
-
|
3290 |
-
// $righttravelflag = false;
|
3291 |
-
// if(!empty($right))
|
3292 |
-
// {
|
3293 |
-
// $right = str_split($right);
|
3294 |
-
|
3295 |
-
// $matchKeyword = '';
|
3296 |
-
// for($i = 0; $i < count($right); $i++)
|
3297 |
-
// {
|
3298 |
-
// $matchKeyword .= $right[$i];
|
3299 |
-
|
3300 |
-
// if($i > 0)
|
3301 |
-
// {
|
3302 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3303 |
-
// {
|
3304 |
-
// $righttravelflag = true;
|
3305 |
-
// break;
|
3306 |
-
// }
|
3307 |
-
// else
|
3308 |
-
// {
|
3309 |
-
// continue;
|
3310 |
-
// }
|
3311 |
-
// }
|
3312 |
-
// else
|
3313 |
-
// {
|
3314 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3315 |
-
// {
|
3316 |
-
// $righttravelflag = true;
|
3317 |
-
// break;
|
3318 |
-
// }
|
3319 |
-
// }
|
3320 |
-
// }
|
3321 |
-
// }
|
3322 |
-
|
3323 |
-
// if(empty($left) && empty($right))
|
3324 |
-
// {
|
3325 |
-
// $travelflag = true;
|
3326 |
-
// }
|
3327 |
-
// else
|
3328 |
-
// {
|
3329 |
-
// if(!empty($left) && !empty($right))
|
3330 |
-
// {
|
3331 |
-
// if($righttravelflag && $lefttravelflag)
|
3332 |
-
// {
|
3333 |
-
// $travelflag = true;
|
3334 |
-
// }
|
3335 |
-
// }
|
3336 |
-
// elseif(empty($left) && !empty($right))
|
3337 |
-
// {
|
3338 |
-
// if($righttravelflag)
|
3339 |
-
// {
|
3340 |
-
// $travelflag = true;
|
3341 |
-
// }
|
3342 |
-
// }
|
3343 |
-
// elseif(!empty($left) && empty($right))
|
3344 |
-
// {
|
3345 |
-
// if($lefttravelflag)
|
3346 |
-
// {
|
3347 |
-
// $travelflag = true;
|
3348 |
-
// }
|
3349 |
-
// }
|
3350 |
-
// }
|
3351 |
-
// }
|
3352 |
-
// elseif(preg_match("/(trek)/im", $domainname))
|
3353 |
-
// {
|
3354 |
-
// $explode = explode("trek", $domainname);
|
3355 |
-
// $left = $explode[0];
|
3356 |
-
// $right = $explode[1];
|
3357 |
-
|
3358 |
-
// $lefttravelflag = false;
|
3359 |
-
// if(!empty($left))
|
3360 |
-
// {
|
3361 |
-
// $left = str_split($left);
|
3362 |
-
|
3363 |
-
// $matchKeyword = ''; $j = 0;
|
3364 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3365 |
-
// {
|
3366 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3367 |
-
|
3368 |
-
// if($j > 0)
|
3369 |
-
// {
|
3370 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3371 |
-
// {
|
3372 |
-
// $lefttravelflag = true;
|
3373 |
-
// break;
|
3374 |
-
// }
|
3375 |
-
// else
|
3376 |
-
// {
|
3377 |
-
// continue;
|
3378 |
-
// }
|
3379 |
-
// }
|
3380 |
-
// else
|
3381 |
-
// {
|
3382 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3383 |
-
// {
|
3384 |
-
// $lefttravelflag = true;
|
3385 |
-
// break;
|
3386 |
-
// }
|
3387 |
-
// }
|
3388 |
-
|
3389 |
-
// $j++;
|
3390 |
-
// }
|
3391 |
-
// }
|
3392 |
-
|
3393 |
-
// $righttravelflag = false;
|
3394 |
-
// if(!empty($right))
|
3395 |
-
// {
|
3396 |
-
// $right = str_split($right);
|
3397 |
-
|
3398 |
-
// $matchKeyword = '';
|
3399 |
-
// for($i = 0; $i < count($right); $i++)
|
3400 |
-
// {
|
3401 |
-
// $matchKeyword .= $right[$i];
|
3402 |
-
// if($i > 0)
|
3403 |
-
// {
|
3404 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3405 |
-
// {
|
3406 |
-
// $righttravelflag = true;
|
3407 |
-
// break;
|
3408 |
-
// }
|
3409 |
-
// else
|
3410 |
-
// {
|
3411 |
-
// continue;
|
3412 |
-
// }
|
3413 |
-
// }
|
3414 |
-
// else
|
3415 |
-
// {
|
3416 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3417 |
-
// {
|
3418 |
-
// $righttravelflag = true;
|
3419 |
-
// break;
|
3420 |
-
// }
|
3421 |
-
// }
|
3422 |
-
// }
|
3423 |
-
// }
|
3424 |
-
|
3425 |
-
// if(empty($left) && empty($right))
|
3426 |
-
// {
|
3427 |
-
// $travelflag = true;
|
3428 |
-
// }
|
3429 |
-
// else
|
3430 |
-
// {
|
3431 |
-
// if(!empty($left) && !empty($right))
|
3432 |
-
// {
|
3433 |
-
// if($righttravelflag && $lefttravelflag)
|
3434 |
-
// {
|
3435 |
-
// $travelflag = true;
|
3436 |
-
// }
|
3437 |
-
// }
|
3438 |
-
// elseif(empty($left) && !empty($right))
|
3439 |
-
// {
|
3440 |
-
// if($righttravelflag)
|
3441 |
-
// {
|
3442 |
-
// $travelflag = true;
|
3443 |
-
// }
|
3444 |
-
// }
|
3445 |
-
// elseif(!empty($left) && empty($right))
|
3446 |
-
// {
|
3447 |
-
// if($lefttravelflag)
|
3448 |
-
// {
|
3449 |
-
// $travelflag = true;
|
3450 |
-
// }
|
3451 |
-
// }
|
3452 |
-
// }
|
3453 |
-
// }
|
3454 |
-
|
3455 |
-
// elseif(preg_match("/(trips)/im", $domainname))
|
3456 |
-
// {
|
3457 |
-
// $explode = explode("trips", $domainname);
|
3458 |
-
// $left = $explode[0];
|
3459 |
-
// $right = $explode[1];
|
3460 |
-
|
3461 |
-
// $lefttravelflag = false;
|
3462 |
-
// if(!empty($left))
|
3463 |
-
// {
|
3464 |
-
// $left = str_split($left);
|
3465 |
-
|
3466 |
-
// $matchKeyword = ''; $j = 0;
|
3467 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3468 |
-
// {
|
3469 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3470 |
-
|
3471 |
-
// if($j > 0)
|
3472 |
-
// {
|
3473 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3474 |
-
// {
|
3475 |
-
// $lefttravelflag = true;
|
3476 |
-
// break;
|
3477 |
-
// }
|
3478 |
-
// else
|
3479 |
-
// {
|
3480 |
-
// continue;
|
3481 |
-
// }
|
3482 |
-
// }
|
3483 |
-
// else
|
3484 |
-
// {
|
3485 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3486 |
-
// {
|
3487 |
-
// $lefttravelflag = true;
|
3488 |
-
// break;
|
3489 |
-
// }
|
3490 |
-
// }
|
3491 |
-
|
3492 |
-
// $j++;
|
3493 |
-
// }
|
3494 |
-
// }
|
3495 |
-
|
3496 |
-
// $righttravelflag = false;
|
3497 |
-
// if(!empty($right))
|
3498 |
-
// {
|
3499 |
-
// $right = str_split($right);
|
3500 |
-
|
3501 |
-
// $matchKeyword = '';
|
3502 |
-
// for($i = 0; $i < count($right); $i++)
|
3503 |
-
// {
|
3504 |
-
// $matchKeyword .= $right[$i];
|
3505 |
-
|
3506 |
-
// if($i > 0)
|
3507 |
-
// {
|
3508 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3509 |
-
// {
|
3510 |
-
// $righttravelflag = true;
|
3511 |
-
// break;
|
3512 |
-
// }
|
3513 |
-
// else
|
3514 |
-
// {
|
3515 |
-
// continue;
|
3516 |
-
// }
|
3517 |
-
// }
|
3518 |
-
// else
|
3519 |
-
// {
|
3520 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3521 |
-
// {
|
3522 |
-
// $righttravelflag = true;
|
3523 |
-
// break;
|
3524 |
-
// }
|
3525 |
-
// }
|
3526 |
-
// }
|
3527 |
-
// }
|
3528 |
-
|
3529 |
-
// if(empty($left) && empty($right))
|
3530 |
-
// {
|
3531 |
-
// $travelflag = true;
|
3532 |
-
// }
|
3533 |
-
// else
|
3534 |
-
// {
|
3535 |
-
// if(!empty($left) && !empty($right))
|
3536 |
-
// {
|
3537 |
-
// if($righttravelflag && $lefttravelflag)
|
3538 |
-
// {
|
3539 |
-
// $travelflag = true;
|
3540 |
-
// }
|
3541 |
-
// }
|
3542 |
-
// elseif(empty($left) && !empty($right))
|
3543 |
-
// {
|
3544 |
-
// if($righttravelflag)
|
3545 |
-
// {
|
3546 |
-
// $travelflag = true;
|
3547 |
-
// }
|
3548 |
-
// }
|
3549 |
-
// elseif(!empty($left) && empty($right))
|
3550 |
-
// {
|
3551 |
-
// if($lefttravelflag)
|
3552 |
-
// {
|
3553 |
-
// $travelflag = true;
|
3554 |
-
// }
|
3555 |
-
// }
|
3556 |
-
// }
|
3557 |
-
// }
|
3558 |
-
// elseif(preg_match("/(trip)/im", $domainname))
|
3559 |
-
// {
|
3560 |
-
// $explode = explode("trip", $domainname);
|
3561 |
-
// $left = $explode[0];
|
3562 |
-
// $right = $explode[1];
|
3563 |
-
|
3564 |
-
// $lefttravelflag = false;
|
3565 |
-
// if(!empty($left))
|
3566 |
-
// {
|
3567 |
-
// $left = str_split($left);
|
3568 |
-
|
3569 |
-
// $matchKeyword = ''; $j = 0;
|
3570 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3571 |
-
// {
|
3572 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3573 |
-
|
3574 |
-
// if($j > 0)
|
3575 |
-
// {
|
3576 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3577 |
-
// {
|
3578 |
-
// $lefttravelflag = true;
|
3579 |
-
// break;
|
3580 |
-
// }
|
3581 |
-
// else
|
3582 |
-
// {
|
3583 |
-
// continue;
|
3584 |
-
// }
|
3585 |
-
// }
|
3586 |
-
// else
|
3587 |
-
// {
|
3588 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3589 |
-
// {
|
3590 |
-
// $lefttravelflag = true;
|
3591 |
-
// break;
|
3592 |
-
// }
|
3593 |
-
// }
|
3594 |
-
|
3595 |
-
// $j++;
|
3596 |
-
// }
|
3597 |
-
// }
|
3598 |
-
|
3599 |
-
// $righttravelflag = false;
|
3600 |
-
// if(!empty($right))
|
3601 |
-
// {
|
3602 |
-
// $right = str_split($right);
|
3603 |
-
|
3604 |
-
// $matchKeyword = '';
|
3605 |
-
// for($i = 0; $i < count($right); $i++)
|
3606 |
-
// {
|
3607 |
-
// $matchKeyword .= $right[$i];
|
3608 |
-
// if($i > 0)
|
3609 |
-
// {
|
3610 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3611 |
-
// {
|
3612 |
-
// $righttravelflag = true;
|
3613 |
-
// break;
|
3614 |
-
// }
|
3615 |
-
// else
|
3616 |
-
// {
|
3617 |
-
// continue;
|
3618 |
-
// }
|
3619 |
-
// }
|
3620 |
-
// else
|
3621 |
-
// {
|
3622 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3623 |
-
// {
|
3624 |
-
// $righttravelflag = true;
|
3625 |
-
// break;
|
3626 |
-
// }
|
3627 |
-
// }
|
3628 |
-
// }
|
3629 |
-
// }
|
3630 |
-
|
3631 |
-
// if(empty($left) && empty($right))
|
3632 |
-
// {
|
3633 |
-
// $travelflag = true;
|
3634 |
-
// }
|
3635 |
-
// else
|
3636 |
-
// {
|
3637 |
-
// if(!empty($left) && !empty($right))
|
3638 |
-
// {
|
3639 |
-
// if($righttravelflag && $lefttravelflag)
|
3640 |
-
// {
|
3641 |
-
// $travelflag = true;
|
3642 |
-
// }
|
3643 |
-
// }
|
3644 |
-
// elseif(empty($left) && !empty($right))
|
3645 |
-
// {
|
3646 |
-
// if($righttravelflag)
|
3647 |
-
// {
|
3648 |
-
// $travelflag = true;
|
3649 |
-
// }
|
3650 |
-
// }
|
3651 |
-
// elseif(!empty($left) && empty($right))
|
3652 |
-
// {
|
3653 |
-
// if($lefttravelflag)
|
3654 |
-
// {
|
3655 |
-
// $travelflag = true;
|
3656 |
-
// }
|
3657 |
-
// }
|
3658 |
-
// }
|
3659 |
-
// }
|
3660 |
-
// elseif(preg_match("/(hike)/im", $domainname))
|
3661 |
-
// {
|
3662 |
-
// $explode = explode("hike", $domainname);
|
3663 |
-
// $left = $explode[0];
|
3664 |
-
// $right = $explode[1];
|
3665 |
-
|
3666 |
-
// $lefttravelflag = false;
|
3667 |
-
// if(!empty($left))
|
3668 |
-
// {
|
3669 |
-
// $left = str_split($left);
|
3670 |
-
|
3671 |
-
// $matchKeyword = ''; $j = 0;
|
3672 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3673 |
-
// {
|
3674 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3675 |
-
|
3676 |
-
// if($j > 0)
|
3677 |
-
// {
|
3678 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3679 |
-
// {
|
3680 |
-
// $lefttravelflag = true;
|
3681 |
-
// break;
|
3682 |
-
// }
|
3683 |
-
// else
|
3684 |
-
// {
|
3685 |
-
// continue;
|
3686 |
-
// }
|
3687 |
-
// }
|
3688 |
-
// else
|
3689 |
-
// {
|
3690 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3691 |
-
// {
|
3692 |
-
// $lefttravelflag = true;
|
3693 |
-
// break;
|
3694 |
-
// }
|
3695 |
-
// }
|
3696 |
-
|
3697 |
-
// $j++;
|
3698 |
-
// }
|
3699 |
-
// }
|
3700 |
-
|
3701 |
-
// $righttravelflag = false;
|
3702 |
-
// if(!empty($right))
|
3703 |
-
// {
|
3704 |
-
// $right = str_split($right);
|
3705 |
-
|
3706 |
-
// $matchKeyword = '';
|
3707 |
-
// for($i = 0; $i < count($right); $i++)
|
3708 |
-
// {
|
3709 |
-
// $matchKeyword .= $right[$i];
|
3710 |
-
|
3711 |
-
// if($i > 0)
|
3712 |
-
// {
|
3713 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3714 |
-
// {
|
3715 |
-
// $righttravelflag = true;
|
3716 |
-
// break;
|
3717 |
-
// }
|
3718 |
-
// else
|
3719 |
-
// {
|
3720 |
-
// continue;
|
3721 |
-
// }
|
3722 |
-
// }
|
3723 |
-
// else
|
3724 |
-
// {
|
3725 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3726 |
-
// {
|
3727 |
-
// $righttravelflag = true;
|
3728 |
-
// break;
|
3729 |
-
// }
|
3730 |
-
// }
|
3731 |
-
// }
|
3732 |
-
// }
|
3733 |
-
|
3734 |
-
// if(empty($left) && empty($right))
|
3735 |
-
// {
|
3736 |
-
// $travelflag = true;
|
3737 |
-
// }
|
3738 |
-
// else
|
3739 |
-
// {
|
3740 |
-
// if(!empty($left) && !empty($right))
|
3741 |
-
// {
|
3742 |
-
// if($righttravelflag && $lefttravelflag)
|
3743 |
-
// {
|
3744 |
-
// $travelflag = true;
|
3745 |
-
// }
|
3746 |
-
// }
|
3747 |
-
// elseif(empty($left) && !empty($right))
|
3748 |
-
// {
|
3749 |
-
// if($righttravelflag)
|
3750 |
-
// {
|
3751 |
-
// $travelflag = true;
|
3752 |
-
// }
|
3753 |
-
// }
|
3754 |
-
// elseif(!empty($left) && empty($right))
|
3755 |
-
// {
|
3756 |
-
// if($lefttravelflag)
|
3757 |
-
// {
|
3758 |
-
// $travelflag = true;
|
3759 |
-
// }
|
3760 |
-
// }
|
3761 |
-
// }
|
3762 |
-
// }
|
3763 |
-
// elseif(preg_match("/(hiking)/im", $domainname))
|
3764 |
-
// {
|
3765 |
-
// $explode = explode("hiking", $domainname);
|
3766 |
-
// $left = $explode[0];
|
3767 |
-
// $right = $explode[1];
|
3768 |
-
|
3769 |
-
// $lefttravelflag = false;
|
3770 |
-
// if(!empty($left))
|
3771 |
-
// {
|
3772 |
-
// $left = str_split($left);
|
3773 |
-
|
3774 |
-
// $matchKeyword = ''; $j = 0;
|
3775 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3776 |
-
// {
|
3777 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3778 |
-
|
3779 |
-
// if($j > 0)
|
3780 |
-
// {
|
3781 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3782 |
-
// {
|
3783 |
-
// $lefttravelflag = true;
|
3784 |
-
// break;
|
3785 |
-
// }
|
3786 |
-
// else
|
3787 |
-
// {
|
3788 |
-
// continue;
|
3789 |
-
// }
|
3790 |
-
// }
|
3791 |
-
// else
|
3792 |
-
// {
|
3793 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3794 |
-
// {
|
3795 |
-
// $lefttravelflag = true;
|
3796 |
-
// break;
|
3797 |
-
// }
|
3798 |
-
// }
|
3799 |
-
|
3800 |
-
// $j++;
|
3801 |
-
// }
|
3802 |
-
// }
|
3803 |
-
|
3804 |
-
// $righttravelflag = false;
|
3805 |
-
// if(!empty($right))
|
3806 |
-
// {
|
3807 |
-
// $right = str_split($right);
|
3808 |
-
|
3809 |
-
// $matchKeyword = '';
|
3810 |
-
// for($i = 0; $i < count($right); $i++)
|
3811 |
-
// {
|
3812 |
-
// $matchKeyword .= $right[$i];
|
3813 |
-
// if($i > 0)
|
3814 |
-
// {
|
3815 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3816 |
-
// {
|
3817 |
-
// $righttravelflag = true;
|
3818 |
-
// break;
|
3819 |
-
// }
|
3820 |
-
// else
|
3821 |
-
// {
|
3822 |
-
// continue;
|
3823 |
-
// }
|
3824 |
-
// }
|
3825 |
-
// else
|
3826 |
-
// {
|
3827 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3828 |
-
// {
|
3829 |
-
// $righttravelflag = true;
|
3830 |
-
// break;
|
3831 |
-
// }
|
3832 |
-
// }
|
3833 |
-
// }
|
3834 |
-
// }
|
3835 |
-
|
3836 |
-
// if(empty($left) && empty($right))
|
3837 |
-
// {
|
3838 |
-
// $travelflag = true;
|
3839 |
-
// }
|
3840 |
-
// else
|
3841 |
-
// {
|
3842 |
-
// if(!empty($left) && !empty($right))
|
3843 |
-
// {
|
3844 |
-
// if($righttravelflag && $lefttravelflag)
|
3845 |
-
// {
|
3846 |
-
// $travelflag = true;
|
3847 |
-
// }
|
3848 |
-
// }
|
3849 |
-
// elseif(empty($left) && !empty($right))
|
3850 |
-
// {
|
3851 |
-
// if($righttravelflag)
|
3852 |
-
// {
|
3853 |
-
// $travelflag = true;
|
3854 |
-
// }
|
3855 |
-
// }
|
3856 |
-
// elseif(!empty($left) && empty($right))
|
3857 |
-
// {
|
3858 |
-
// if($lefttravelflag)
|
3859 |
-
// {
|
3860 |
-
// $travelflag = true;
|
3861 |
-
// }
|
3862 |
-
// }
|
3863 |
-
// }
|
3864 |
-
// }
|
3865 |
-
// }
|
3866 |
-
// elseif (preg_match("/(music|drums|sound|rhythm|guitar|singing|audio|piano|violin|cello|song)/im", $domainname))
|
3867 |
-
// {
|
3868 |
-
// if(!empty($domainname))
|
3869 |
-
// {
|
3870 |
-
// $domainname = preg_replace('/eardrums|balisong|thaisong/i', '', $domainname);
|
3871 |
-
// $explode = explode(".", $domainname);
|
3872 |
-
// $domainname = @$explode[0];
|
3873 |
-
// }
|
3874 |
-
|
3875 |
-
// $musicflag = false;
|
3876 |
-
|
3877 |
-
// if(preg_match("/(music|sound|rhythm|guitar|singing|audio|piano|violin)/im", $domainname))
|
3878 |
-
// {
|
3879 |
-
// $musicflag = true;
|
3880 |
-
// }
|
3881 |
-
// elseif(preg_match("/(drums)/im", $domainname))
|
3882 |
-
// {
|
3883 |
-
// $explode = explode("drums", $domainname);
|
3884 |
-
// $left = $explode[0];
|
3885 |
-
// $right = $explode[1];
|
3886 |
-
|
3887 |
-
// $leftmusicflag = false;
|
3888 |
-
// if(!empty($left))
|
3889 |
-
// {
|
3890 |
-
// $left = str_split($left);
|
3891 |
-
|
3892 |
-
// $matchKeyword = ''; $j = 0;
|
3893 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3894 |
-
// {
|
3895 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3896 |
-
|
3897 |
-
// if($j > 0)
|
3898 |
-
// {
|
3899 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3900 |
-
// {
|
3901 |
-
// $leftmusicflag = true;
|
3902 |
-
// break;
|
3903 |
-
// }
|
3904 |
-
// else
|
3905 |
-
// {
|
3906 |
-
// continue;
|
3907 |
-
// }
|
3908 |
-
// }
|
3909 |
-
// else
|
3910 |
-
// {
|
3911 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3912 |
-
// {
|
3913 |
-
// $leftmusicflag = true;
|
3914 |
-
// break;
|
3915 |
-
// }
|
3916 |
-
// }
|
3917 |
-
|
3918 |
-
// $j++;
|
3919 |
-
// }
|
3920 |
-
// }
|
3921 |
-
|
3922 |
-
// $rightmusicflag = false;
|
3923 |
-
// if(!empty($right))
|
3924 |
-
// {
|
3925 |
-
// $right = str_split($right);
|
3926 |
-
|
3927 |
-
// $matchKeyword = '';
|
3928 |
-
// for($i = 0; $i < count($right); $i++)
|
3929 |
-
// {
|
3930 |
-
// $matchKeyword .= $right[$i];
|
3931 |
-
|
3932 |
-
// if($i > 0)
|
3933 |
-
// {
|
3934 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
3935 |
-
// {
|
3936 |
-
// $rightmusicflag = true;
|
3937 |
-
// break;
|
3938 |
-
// }
|
3939 |
-
// else
|
3940 |
-
// {
|
3941 |
-
// continue;
|
3942 |
-
// }
|
3943 |
-
// }
|
3944 |
-
// else
|
3945 |
-
// {
|
3946 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
3947 |
-
// {
|
3948 |
-
// $rightmusicflag = true;
|
3949 |
-
// break;
|
3950 |
-
// }
|
3951 |
-
// }
|
3952 |
-
// }
|
3953 |
-
// }
|
3954 |
-
|
3955 |
-
// if(empty($left) && empty($right))
|
3956 |
-
// {
|
3957 |
-
// $musicflag = true;
|
3958 |
-
// }
|
3959 |
-
// else
|
3960 |
-
// {
|
3961 |
-
// if(!empty($left) && !empty($right))
|
3962 |
-
// {
|
3963 |
-
// if($rightmusicflag && $leftmusicflag)
|
3964 |
-
// {
|
3965 |
-
// $musicflag = true;
|
3966 |
-
// }
|
3967 |
-
// }
|
3968 |
-
// elseif(empty($left) && !empty($right))
|
3969 |
-
// {
|
3970 |
-
// if($rightmusicflag)
|
3971 |
-
// {
|
3972 |
-
// $musicflag = true;
|
3973 |
-
// }
|
3974 |
-
// }
|
3975 |
-
// elseif(!empty($left) && empty($right))
|
3976 |
-
// {
|
3977 |
-
// if($leftmusicflag)
|
3978 |
-
// {
|
3979 |
-
// $musicflag = true;
|
3980 |
-
// }
|
3981 |
-
// }
|
3982 |
-
// }
|
3983 |
-
// }
|
3984 |
-
// elseif(preg_match("/(celloes)/im", $domainname))
|
3985 |
-
// {
|
3986 |
-
// $explode = explode("celloes", $domainname);
|
3987 |
-
// $left = $explode[0];
|
3988 |
-
// $right = $explode[1];
|
3989 |
-
|
3990 |
-
// $leftmusicflag = false;
|
3991 |
-
// if(!empty($left))
|
3992 |
-
// {
|
3993 |
-
// $left = str_split($left);
|
3994 |
-
|
3995 |
-
// $matchKeyword = ''; $j = 0;
|
3996 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
3997 |
-
// {
|
3998 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
3999 |
-
|
4000 |
-
// if($j > 0)
|
4001 |
-
// {
|
4002 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4003 |
-
// {
|
4004 |
-
// $leftmusicflag = true;
|
4005 |
-
// break;
|
4006 |
-
// }
|
4007 |
-
// else
|
4008 |
-
// {
|
4009 |
-
// continue;
|
4010 |
-
// }
|
4011 |
-
// }
|
4012 |
-
// else
|
4013 |
-
// {
|
4014 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4015 |
-
// {
|
4016 |
-
// $leftmusicflag = true;
|
4017 |
-
// break;
|
4018 |
-
// }
|
4019 |
-
// }
|
4020 |
-
|
4021 |
-
// $j++;
|
4022 |
-
// }
|
4023 |
-
// }
|
4024 |
-
|
4025 |
-
// $rightmusicflag = false;
|
4026 |
-
// if(!empty($right))
|
4027 |
-
// {
|
4028 |
-
// $right = str_split($right);
|
4029 |
-
|
4030 |
-
// $matchKeyword = '';
|
4031 |
-
// for($i = 0; $i < count($right); $i++)
|
4032 |
-
// {
|
4033 |
-
// $matchKeyword .= $right[$i];
|
4034 |
-
// if($i > 0)
|
4035 |
-
// {
|
4036 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4037 |
-
// {
|
4038 |
-
// $rightmusicflag = true;
|
4039 |
-
// break;
|
4040 |
-
// }
|
4041 |
-
// else
|
4042 |
-
// {
|
4043 |
-
// continue;
|
4044 |
-
// }
|
4045 |
-
// }
|
4046 |
-
// else
|
4047 |
-
// {
|
4048 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4049 |
-
// {
|
4050 |
-
// $rightmusicflag = true;
|
4051 |
-
// break;
|
4052 |
-
// }
|
4053 |
-
// }
|
4054 |
-
// }
|
4055 |
-
// }
|
4056 |
-
|
4057 |
-
// if(empty($left) && empty($right))
|
4058 |
-
// {
|
4059 |
-
// $musicflag = true;
|
4060 |
-
// }
|
4061 |
-
// else
|
4062 |
-
// {
|
4063 |
-
// if(!empty($left) && !empty($right))
|
4064 |
-
// {
|
4065 |
-
// if($rightmusicflag && $leftmusicflag)
|
4066 |
-
// {
|
4067 |
-
// $musicflag = true;
|
4068 |
-
// }
|
4069 |
-
// }
|
4070 |
-
// elseif(empty($left) && !empty($right))
|
4071 |
-
// {
|
4072 |
-
// if($rightmusicflag)
|
4073 |
-
// {
|
4074 |
-
// $musicflag = true;
|
4075 |
-
// }
|
4076 |
-
// }
|
4077 |
-
// elseif(!empty($left) && empty($right))
|
4078 |
-
// {
|
4079 |
-
// if($leftmusicflag)
|
4080 |
-
// {
|
4081 |
-
// $musicflag = true;
|
4082 |
-
// }
|
4083 |
-
// }
|
4084 |
-
// }
|
4085 |
-
// }
|
4086 |
-
// elseif(preg_match("/(cello)/im", $domainname))
|
4087 |
-
// {
|
4088 |
-
// $explode = explode("cello", $domainname);
|
4089 |
-
// $left = $explode[0];
|
4090 |
-
// $right = $explode[1];
|
4091 |
-
|
4092 |
-
// $leftmusicflag = false;
|
4093 |
-
// if(!empty($left))
|
4094 |
-
// {
|
4095 |
-
// $left = str_split($left);
|
4096 |
-
|
4097 |
-
// $matchKeyword = ''; $j = 0;
|
4098 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
4099 |
-
// {
|
4100 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
4101 |
-
|
4102 |
-
// if($j > 0)
|
4103 |
-
// {
|
4104 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4105 |
-
// {
|
4106 |
-
// $leftmusicflag = true;
|
4107 |
-
// break;
|
4108 |
-
// }
|
4109 |
-
// else
|
4110 |
-
// {
|
4111 |
-
// continue;
|
4112 |
-
// }
|
4113 |
-
// }
|
4114 |
-
// else
|
4115 |
-
// {
|
4116 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4117 |
-
// {
|
4118 |
-
// $leftmusicflag = true;
|
4119 |
-
// break;
|
4120 |
-
// }
|
4121 |
-
// }
|
4122 |
-
|
4123 |
-
// $j++;
|
4124 |
-
// }
|
4125 |
-
// }
|
4126 |
-
|
4127 |
-
// $rightmusicflag = false;
|
4128 |
-
// if(!empty($right))
|
4129 |
-
// {
|
4130 |
-
// $right = str_split($right);
|
4131 |
-
|
4132 |
-
// $matchKeyword = '';
|
4133 |
-
// for($i = 0; $i < count($right); $i++)
|
4134 |
-
// {
|
4135 |
-
// $matchKeyword .= $right[$i];
|
4136 |
-
// if($i > 0)
|
4137 |
-
// {
|
4138 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4139 |
-
// {
|
4140 |
-
// $rightmusicflag = true;
|
4141 |
-
// break;
|
4142 |
-
// }
|
4143 |
-
// else
|
4144 |
-
// {
|
4145 |
-
// continue;
|
4146 |
-
// }
|
4147 |
-
// }
|
4148 |
-
// else
|
4149 |
-
// {
|
4150 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4151 |
-
// {
|
4152 |
-
// $rightmusicflag = true;
|
4153 |
-
// break;
|
4154 |
-
// }
|
4155 |
-
// }
|
4156 |
-
// }
|
4157 |
-
// }
|
4158 |
-
|
4159 |
-
// if(empty($left) && empty($right))
|
4160 |
-
// {
|
4161 |
-
// $musicflag = true;
|
4162 |
-
// }
|
4163 |
-
// else
|
4164 |
-
// {
|
4165 |
-
// if(!empty($left) && !empty($right))
|
4166 |
-
// {
|
4167 |
-
// if($rightmusicflag && $leftmusicflag)
|
4168 |
-
// {
|
4169 |
-
// $musicflag = true;
|
4170 |
-
// }
|
4171 |
-
// }
|
4172 |
-
// elseif(empty($left) && !empty($right))
|
4173 |
-
// {
|
4174 |
-
// if($rightmusicflag)
|
4175 |
-
// {
|
4176 |
-
// $musicflag = true;
|
4177 |
-
// }
|
4178 |
-
// }
|
4179 |
-
// elseif(!empty($left) && empty($right))
|
4180 |
-
// {
|
4181 |
-
// if($leftmusicflag)
|
4182 |
-
// {
|
4183 |
-
// $musicflag = true;
|
4184 |
-
// }
|
4185 |
-
// }
|
4186 |
-
// }
|
4187 |
-
// }
|
4188 |
-
// elseif(preg_match("/(songs)/im", $domainname))
|
4189 |
-
// {
|
4190 |
-
// $explode = explode("songs", $domainname);
|
4191 |
-
// $left = $explode[0];
|
4192 |
-
// $right = $explode[1];
|
4193 |
-
|
4194 |
-
// $leftmusicflag = false;
|
4195 |
-
// if(!empty($left))
|
4196 |
-
// {
|
4197 |
-
// $left = str_split($left);
|
4198 |
-
|
4199 |
-
// $matchKeyword = ''; $j = 0;
|
4200 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
4201 |
-
// {
|
4202 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
4203 |
-
|
4204 |
-
// if($j > 0)
|
4205 |
-
// {
|
4206 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4207 |
-
// {
|
4208 |
-
// $leftmusicflag = true;
|
4209 |
-
// break;
|
4210 |
-
// }
|
4211 |
-
// else
|
4212 |
-
// {
|
4213 |
-
// continue;
|
4214 |
-
// }
|
4215 |
-
// }
|
4216 |
-
// else
|
4217 |
-
// {
|
4218 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4219 |
-
// {
|
4220 |
-
// $leftmusicflag = true;
|
4221 |
-
// break;
|
4222 |
-
// }
|
4223 |
-
// }
|
4224 |
-
|
4225 |
-
// $j++;
|
4226 |
-
// }
|
4227 |
-
// }
|
4228 |
-
|
4229 |
-
// $rightmusicflag = false;
|
4230 |
-
// if(!empty($right))
|
4231 |
-
// {
|
4232 |
-
// $right = str_split($right);
|
4233 |
-
|
4234 |
-
// $matchKeyword = '';
|
4235 |
-
// for($i = 0; $i < count($right); $i++)
|
4236 |
-
// {
|
4237 |
-
// $matchKeyword .= $right[$i];
|
4238 |
-
// if($i > 0)
|
4239 |
-
// {
|
4240 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4241 |
-
// {
|
4242 |
-
// $rightmusicflag = true;
|
4243 |
-
// break;
|
4244 |
-
// }
|
4245 |
-
// else
|
4246 |
-
// {
|
4247 |
-
// continue;
|
4248 |
-
// }
|
4249 |
-
// }
|
4250 |
-
// else
|
4251 |
-
// {
|
4252 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4253 |
-
// {
|
4254 |
-
// $rightmusicflag = true;
|
4255 |
-
// break;
|
4256 |
-
// }
|
4257 |
-
// }
|
4258 |
-
// }
|
4259 |
-
// }
|
4260 |
-
|
4261 |
-
// if(empty($left) && empty($right))
|
4262 |
-
// {
|
4263 |
-
// $musicflag = true;
|
4264 |
-
// }
|
4265 |
-
// else
|
4266 |
-
// {
|
4267 |
-
// if(!empty($left) && !empty($right))
|
4268 |
-
// {
|
4269 |
-
// if($rightmusicflag && $leftmusicflag)
|
4270 |
-
// {
|
4271 |
-
// $musicflag = true;
|
4272 |
-
// }
|
4273 |
-
// }
|
4274 |
-
// elseif(empty($left) && !empty($right))
|
4275 |
-
// {
|
4276 |
-
// if($rightmusicflag)
|
4277 |
-
// {
|
4278 |
-
// $musicflag = true;
|
4279 |
-
// }
|
4280 |
-
// }
|
4281 |
-
// elseif(!empty($left) && empty($right))
|
4282 |
-
// {
|
4283 |
-
// if($leftmusicflag)
|
4284 |
-
// {
|
4285 |
-
// $musicflag = true;
|
4286 |
-
// }
|
4287 |
-
// }
|
4288 |
-
// }
|
4289 |
-
// }
|
4290 |
-
// elseif(preg_match("/(song)/im", $domainname))
|
4291 |
-
// {
|
4292 |
-
// $explode = explode("song", $domainname);
|
4293 |
-
// $left = $explode[0];
|
4294 |
-
// $right = $explode[1];
|
4295 |
-
|
4296 |
-
// $leftmusicflag = false;
|
4297 |
-
// if(!empty($left))
|
4298 |
-
// {
|
4299 |
-
// $left = str_split($left);
|
4300 |
-
|
4301 |
-
// $matchKeyword = ''; $j = 0;
|
4302 |
-
// for($i = (count($left)-1); $i >= 0; $i--)
|
4303 |
-
// {
|
4304 |
-
// $matchKeyword = $left[$i].$matchKeyword;
|
4305 |
-
|
4306 |
-
// if($j > 0)
|
4307 |
-
// {
|
4308 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4309 |
-
// {
|
4310 |
-
// $leftmusicflag = true;
|
4311 |
-
// break;
|
4312 |
-
// }
|
4313 |
-
// else
|
4314 |
-
// {
|
4315 |
-
// continue;
|
4316 |
-
// }
|
4317 |
-
// }
|
4318 |
-
// else
|
4319 |
-
// {
|
4320 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4321 |
-
// {
|
4322 |
-
// $leftmusicflag = true;
|
4323 |
-
// break;
|
4324 |
-
// }
|
4325 |
-
// }
|
4326 |
-
|
4327 |
-
// $j++;
|
4328 |
-
// }
|
4329 |
-
// }
|
4330 |
-
|
4331 |
-
// $rightmusicflag = false;
|
4332 |
-
// if(!empty($right))
|
4333 |
-
// {
|
4334 |
-
// $right = str_split($right);
|
4335 |
-
|
4336 |
-
// $matchKeyword = '';
|
4337 |
-
// for($i = 0; $i < count($right); $i++)
|
4338 |
-
// {
|
4339 |
-
// $matchKeyword .= $right[$i];
|
4340 |
-
// if($i > 0)
|
4341 |
-
// {
|
4342 |
-
// if(in_array($matchKeyword, $keywordEnglish))
|
4343 |
-
// {
|
4344 |
-
// $rightmusicflag = true;
|
4345 |
-
// break;
|
4346 |
-
// }
|
4347 |
-
// else
|
4348 |
-
// {
|
4349 |
-
// continue;
|
4350 |
-
// }
|
4351 |
-
// }
|
4352 |
-
// else
|
4353 |
-
// {
|
4354 |
-
// if(preg_match("/\.|\-|[0-9]/im", $matchKeyword))
|
4355 |
-
// {
|
4356 |
-
// $rightmusicflag = true;
|
4357 |
-
// break;
|
4358 |
-
// }
|
4359 |
-
// }
|
4360 |
-
// }
|
4361 |
-
// }
|
4362 |
-
|
4363 |
-
// if(empty($left) && empty($right))
|
4364 |
-
// {
|
4365 |
-
// $musicflag = true;
|
4366 |
-
// }
|
4367 |
-
// else
|
4368 |
-
// {
|
4369 |
-
// if(!empty($left) && !empty($right))
|
4370 |
-
// {
|
4371 |
-
// if($rightmusicflag && $leftmusicflag)
|
4372 |
-
// {
|
4373 |
-
// $musicflag = true;
|
4374 |
-
// }
|
4375 |
-
// }
|
4376 |
-
// elseif(empty($left) && !empty($right))
|
4377 |
-
// {
|
4378 |
-
// if($rightmusicflag)
|
4379 |
-
// {
|
4380 |
-
// $musicflag = true;
|
4381 |
-
// }
|
4382 |
-
// }
|
4383 |
-
// elseif(!empty($left) && empty($right))
|
4384 |
-
// {
|
4385 |
-
// if($leftmusicflag)
|
4386 |
-
// {
|
4387 |
-
// $musicflag = true;
|
4388 |
-
// }
|
4389 |
-
// }
|
4390 |
-
// }
|
4391 |
-
// }
|
4392 |
-
// }
|
4393 |
-
|
4394 |
-
|
4395 |
-
// if($catflag)
|
4396 |
-
// {
|
4397 |
-
// sfsi_plus_bannereHtml(
|
4398 |
-
// "Do you like cats?",
|
4399 |
-
// "https://www.ultimatelysocial.com/Cat-themed-icons/?utm_source=any_settings_page&utm_campaign=Cat_icons&utm_medium=banner",
|
4400 |
-
// SFSI_PLUS_PLUGURL.'images/cats.png',
|
4401 |
-
// "See all cat-themed-icons"
|
4402 |
-
// );
|
4403 |
-
// }
|
4404 |
-
// elseif($horseflag)
|
4405 |
-
// {
|
4406 |
-
// sfsi_plus_bannereHtml(
|
4407 |
-
// "Do you like horses?",
|
4408 |
-
// "https://www.ultimatelysocial.com/Horse-themed-icons/?utm_source=any_settings_page&utm_campaign=Horse_icons&utm_medium=banner",
|
4409 |
-
// SFSI_PLUS_PLUGURL.'images/horses.png',
|
4410 |
-
// "See all horse-themed-icons"
|
4411 |
-
// );
|
4412 |
-
// }
|
4413 |
-
// elseif($toothflag)
|
4414 |
-
// {
|
4415 |
-
// sfsi_plus_bannereHtml(
|
4416 |
-
// "You got a thing with teeth?",
|
4417 |
-
// "https://www.ultimatelysocial.com/Teeth-shaped-icons/?utm_source=any_settings_page&utm_campaign=Teeth_icons&utm_medium=banner",
|
4418 |
-
// SFSI_PLUS_PLUGURL.'images/teeth.png',
|
4419 |
-
// "See all teeth-themed-icons"
|
4420 |
-
// );
|
4421 |
-
// }
|
4422 |
-
// elseif($beerflag)
|
4423 |
-
// {
|
4424 |
-
// sfsi_plus_bannereHtml(
|
4425 |
-
// "You like beer?",
|
4426 |
-
// "https://www.ultimatelysocial.com/Beer-themed-icons/?utm_source=any_settings_page&utm_campaign=Beer_icons&utm_medium=banner",
|
4427 |
-
// SFSI_PLUS_PLUGURL.'images/beer.png',
|
4428 |
-
// "See all beer-themed-icons"
|
4429 |
-
// );
|
4430 |
-
// }
|
4431 |
-
// elseif($cameraflag)
|
4432 |
-
// {
|
4433 |
-
// sfsi_plus_bannereHtml(
|
4434 |
-
// "You like photography?",
|
4435 |
-
// "https://www.ultimatelysocial.com/Photography-themed-icons/?utm_source=any_settings_page&utm_campaign=Photography_icons&utm_medium=banner",
|
4436 |
-
// SFSI_PLUS_PLUGURL.'images/photo.png',
|
4437 |
-
// "See all photography-themed-icons"
|
4438 |
-
// );
|
4439 |
-
// }
|
4440 |
-
// elseif($houseflag)
|
4441 |
-
// {
|
4442 |
-
// sfsi_plus_bannereHtml(
|
4443 |
-
// "You are into real estate?",
|
4444 |
-
// "https://www.ultimatelysocial.com/Realestate-themed-icons/?utm_source=any_settings_page&utm_campaign=Realestate_icons&utm_medium=banner",
|
4445 |
-
// SFSI_PLUS_PLUGURL.'images/house.png',
|
4446 |
-
// "See all real-estate-themed-icons"
|
4447 |
-
// );
|
4448 |
-
// }
|
4449 |
-
// elseif($cookflag)
|
4450 |
-
// {
|
4451 |
-
// sfsi_plus_bannereHtml(
|
4452 |
-
// "You like cooking?",
|
4453 |
-
// "https://www.ultimatelysocial.com/Cooking-themed-icons/?utm_source=any_settings_page&utm_campaign=Cooking_icons&utm_medium=banner",
|
4454 |
-
// SFSI_PLUS_PLUGURL.'images/cooking.png',
|
4455 |
-
// "See all cooking-themed-icons"
|
4456 |
-
// );
|
4457 |
-
// }
|
4458 |
-
// elseif($drinkflag)
|
4459 |
-
// {
|
4460 |
-
// sfsi_plus_bannereHtml(
|
4461 |
-
// "You like drinks?",
|
4462 |
-
// "https://www.ultimatelysocial.com/Drinking-themed-icons/?utm_source=any_settings_page&utm_campaign=Drinking_icons&utm_medium=banner",
|
4463 |
-
// SFSI_PLUS_PLUGURL.'images/beer.png',
|
4464 |
-
// "See all drinking-themed-icons"
|
4465 |
-
// );
|
4466 |
-
// }
|
4467 |
-
// elseif($travelflag)
|
4468 |
-
// {
|
4469 |
-
// sfsi_plus_bannereHtml(
|
4470 |
-
// "You like travelling?",
|
4471 |
-
// "https://www.ultimatelysocial.com/Travel-themed-icons/?utm_source=any_settings_page&utm_campaign=Travel_icons&utm_medium=banner",
|
4472 |
-
// SFSI_PLUS_PLUGURL.'images/travel.png',
|
4473 |
-
// "See all travel-themed-icons"
|
4474 |
-
// );
|
4475 |
-
// }
|
4476 |
-
// elseif($musicflag)
|
4477 |
-
// {
|
4478 |
-
// sfsi_plus_bannereHtml(
|
4479 |
-
// "You like music?",
|
4480 |
-
// "https://www.ultimatelysocial.com/Music-themed-icons/?utm_source=any_settings_page&utm_campaign=Music_icons&utm_medium=banner",
|
4481 |
-
// SFSI_PLUS_PLUGURL.'images/music.png',
|
4482 |
-
// "See all music-themed-icons"
|
4483 |
-
// );
|
4484 |
-
// }
|
4485 |
-
// else
|
4486 |
-
// {
|
4487 |
-
// echo '<div class="sfsi_plus_new_notification_cat">
|
4488 |
-
// <div class="sfsi_plus_new_notification_header_cat">
|
4489 |
-
// <h1>New feature: Tailored icons</h1>
|
4490 |
-
// <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>
|
4491 |
-
// <div class="sfsi_plus_new_notification_cross_cat">X</div>
|
4492 |
-
// </div>
|
4493 |
-
// <div class="sfsi_plus_new_notification_body_link_cat">
|
4494 |
-
// <a class ="sfsi_plus_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">
|
4495 |
-
// <div class="sfsi_plus_new_notification_body_cat">
|
4496 |
-
// <div class="sfsi_plus_new_notification_image_cat">
|
4497 |
-
// <img src="'.SFSI_PLUS_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
|
4498 |
-
// </div>
|
4499 |
-
// </div>
|
4500 |
-
// </a>
|
4501 |
-
// <div class="sfsiplus_bottom_text">
|
4502 |
-
// <a href="https://www.ultimatelysocial.com/tailor-made-icons/?utm_source=usmplus_settings_page&utm_campaign=tailored_icons&utm_medium=banner">
|
4503 |
-
// See more-themed-icons >
|
4504 |
-
// </a>
|
4505 |
-
// </div>
|
4506 |
-
// </div>
|
4507 |
-
// </div>';
|
4508 |
-
// }
|
4509 |
-
|
4510 |
-
// echo '<script type="text/javascript">
|
4511 |
-
// jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
|
4512 |
-
// SFSI.ajax({
|
4513 |
-
// url:ajax_object.ajax_url,
|
4514 |
-
// type:"post",
|
4515 |
-
// data: {action: "sfsiPlus_new_notification_read"},
|
4516 |
-
// success:function(msg){
|
4517 |
-
// if(jQuery.trim(msg) == "success")
|
4518 |
-
// {
|
4519 |
-
// jQuery(".sfsi_plus_new_notification_cat").hide("fast");
|
4520 |
-
// }
|
4521 |
-
// }
|
4522 |
-
// });
|
4523 |
-
// });
|
4524 |
-
// </script>';
|
4525 |
-
// }
|
4526 |
-
// die;
|
4527 |
-
// }
|
4528 |
-
|
4529 |
-
|
4530 |
add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
4531 |
|
4532 |
function sfsi_plus_bannerOption(){
|
@@ -4614,30 +1138,4 @@ function sfsi_plus_bannerOption(){
|
|
4614 |
}
|
4615 |
die;
|
4616 |
}
|
4617 |
-
|
4618 |
-
// function sfsi_plus_bannereHtml($title, $siteLink, $bannerImage, $buttonTitle)
|
4619 |
-
// {
|
4620 |
-
// echo '<div class="sfsi_plus_new_notification_cat">
|
4621 |
-
// <div class="sfsi_plus_new_notification_header_cat">
|
4622 |
-
// <h1>'.$title.'</h1>
|
4623 |
-
// <h3>The <a href="'.$siteLink.'" target="_blank">Premium Plugin</a> Includes these icons...</h3>
|
4624 |
-
// <div class="sfsi_plus_new_notification_cross_cat">X</div>
|
4625 |
-
// </div>
|
4626 |
-
|
4627 |
-
// <div class="sfsi_plus_new_notification_body_link_cat">
|
4628 |
-
// <a href="'.$siteLink.'" target="_blank">
|
4629 |
-
// <div class="sfsi_plus_new_notification_body_cat">
|
4630 |
-
// <div class="sfsi_plus_new_notification_image_cat">
|
4631 |
-
// <img src="'.$bannerImage.'" id="newImg" />
|
4632 |
-
// </div>
|
4633 |
-
// </div>
|
4634 |
-
// </a>
|
4635 |
-
// <div class="sfsiplus_bottom_text">
|
4636 |
-
// <a href="'.$siteLink.'">
|
4637 |
-
// '.$buttonTitle.' >
|
4638 |
-
// </a>
|
4639 |
-
// </div>
|
4640 |
-
// </div>
|
4641 |
-
// </div>';
|
4642 |
-
// }
|
4643 |
?>
|
1051 |
}
|
1052 |
|
1053 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1054 |
add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
1055 |
|
1056 |
function sfsi_plus_bannerOption(){
|
1138 |
}
|
1139 |
die;
|
1140 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1141 |
?>
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -52,8 +52,12 @@ class sfsi_plus_SocialHelper
|
|
52 |
function sfsi_getlinkedin_follower($sfsi_plus_ln_company,$APIsettings)
|
53 |
{
|
54 |
require_once(SFSI_PLUS_DOCROOT.'/helpers/linkedin-api/linkedin-api.php');
|
55 |
-
|
56 |
-
$
|
|
|
|
|
|
|
|
|
57 |
$linkedin = new Plus_LinkedIn(
|
58 |
$APIsettings['sfsi_plus_ln_api_key'],
|
59 |
$APIsettings['sfsi_plus_ln_secret_key'],
|
@@ -179,8 +183,11 @@ class sfsi_plus_SocialHelper
|
|
179 |
/* get addthis counts */
|
180 |
function sfsi_get_atthis()
|
181 |
{
|
182 |
-
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" :"http";
|
183 |
-
$url=$scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
|
|
|
|
|
|
184 |
$json_string = $this->file_get_contents_curl('http://api-public.addthis.com/url/shares.json?url='.$url);
|
185 |
$json = json_decode($json_string, true);
|
186 |
return isset($json['shares'])? $this->format_num((int) $json['shares']):0;
|
52 |
function sfsi_getlinkedin_follower($sfsi_plus_ln_company,$APIsettings)
|
53 |
{
|
54 |
require_once(SFSI_PLUS_DOCROOT.'/helpers/linkedin-api/linkedin-api.php');
|
55 |
+
|
56 |
+
// $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
57 |
+
// $url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
58 |
+
|
59 |
+
$url = sfsi_plus_get_current_url();
|
60 |
+
|
61 |
$linkedin = new Plus_LinkedIn(
|
62 |
$APIsettings['sfsi_plus_ln_api_key'],
|
63 |
$APIsettings['sfsi_plus_ln_secret_key'],
|
183 |
/* get addthis counts */
|
184 |
function sfsi_get_atthis()
|
185 |
{
|
186 |
+
// $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" :"http";
|
187 |
+
// $url=$scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
188 |
+
|
189 |
+
$url = sfsi_plus_get_current_url();
|
190 |
+
|
191 |
$json_string = $this->file_get_contents_curl('http://api-public.addthis.com/url/shares.json?url='.$url);
|
192 |
$json = json_decode($json_string, true);
|
193 |
return isset($json['shares'])? $this->format_num((int) $json['shares']):0;
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_plus_pluginVersion", "2.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -28,6 +28,10 @@ function sfsi_plus_update_plugin()
|
|
28 |
{
|
29 |
add_option("sfsi_plus_show_premium_notification", "yes");
|
30 |
}
|
|
|
|
|
|
|
|
|
31 |
/*show notification*/
|
32 |
if(!get_option('sfsi_plus_show_notification'))
|
33 |
{
|
@@ -190,11 +194,18 @@ function sfsi_plus_activate_plugin()
|
|
190 |
/* check for CURL enable at server */
|
191 |
add_option('sfsi_plus_plugin_do_activation_redirect', true);
|
192 |
sfsi_plus_curl_enable_notice();
|
|
|
193 |
if(!get_option('sfsi_plus_new_show_notification'))
|
194 |
{
|
195 |
add_option("sfsi_plus_new_show_notification", "yes");
|
196 |
}
|
197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
$options1=array('sfsi_plus_rss_display'=>'yes',
|
199 |
'sfsi_plus_email_display'=>'yes',
|
200 |
'sfsi_plus_facebook_display'=>'yes',
|
@@ -545,8 +556,8 @@ function sfsi_plus_Unistall_plugin()
|
|
545 |
delete_option("sfsi_plus_show_premium_notification");
|
546 |
delete_option("sfsi_plus_show_notification");
|
547 |
delete_option('sfsi_plus_serverphpVersionnotification');
|
548 |
-
|
549 |
-
|
550 |
delete_option('widget_sfsiplus_subscriber_widget');
|
551 |
|
552 |
delete_option('fs_active_plugins');
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.72");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
28 |
{
|
29 |
add_option("sfsi_plus_show_premium_notification", "yes");
|
30 |
}
|
31 |
+
if(!get_option('sfsi_plus_show_premium_cumulative_count_notification'))
|
32 |
+
{
|
33 |
+
add_option("sfsi_plus_show_premium_cumulative_count_notification", "yes");
|
34 |
+
}
|
35 |
/*show notification*/
|
36 |
if(!get_option('sfsi_plus_show_notification'))
|
37 |
{
|
194 |
/* check for CURL enable at server */
|
195 |
add_option('sfsi_plus_plugin_do_activation_redirect', true);
|
196 |
sfsi_plus_curl_enable_notice();
|
197 |
+
|
198 |
if(!get_option('sfsi_plus_new_show_notification'))
|
199 |
{
|
200 |
add_option("sfsi_plus_new_show_notification", "yes");
|
201 |
}
|
202 |
|
203 |
+
if(!get_option('sfsi_plus_show_premium_cumulative_count_notification'))
|
204 |
+
{
|
205 |
+
add_option("sfsi_plus_show_premium_cumulative_count_notification", "yes");
|
206 |
+
}
|
207 |
+
|
208 |
+
|
209 |
$options1=array('sfsi_plus_rss_display'=>'yes',
|
210 |
'sfsi_plus_email_display'=>'yes',
|
211 |
'sfsi_plus_facebook_display'=>'yes',
|
556 |
delete_option("sfsi_plus_show_premium_notification");
|
557 |
delete_option("sfsi_plus_show_notification");
|
558 |
delete_option('sfsi_plus_serverphpVersionnotification');
|
559 |
+
delete_option("sfsi_plus_show_premium_cumulative_count_notification");
|
560 |
+
delete_option('widget_sfsi-plus-widget');
|
561 |
delete_option('widget_sfsiplus_subscriber_widget');
|
562 |
|
563 |
delete_option('fs_active_plugins');
|
libs/sfsi_widget.php
CHANGED
@@ -421,7 +421,9 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
421 |
$twt_margin = "";
|
422 |
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
423 |
$padding_top = '';
|
|
|
424 |
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
|
|
425 |
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
426 |
if($fromPost == 'yes' && !empty($post))
|
427 |
{
|
@@ -429,7 +431,8 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
429 |
}
|
430 |
else
|
431 |
{
|
432 |
-
|
|
|
433 |
}
|
434 |
$url = "#";
|
435 |
$cmcls='';
|
421 |
$twt_margin = "";
|
422 |
$icons_space = $sfsi_plus_section5_options['sfsi_plus_icons_spacing'];
|
423 |
$padding_top = '';
|
424 |
+
|
425 |
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
426 |
+
|
427 |
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
428 |
if($fromPost == 'yes' && !empty($post))
|
429 |
{
|
431 |
}
|
432 |
else
|
433 |
{
|
434 |
+
//$current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
435 |
+
$current_url = sfsi_plus_get_current_url();
|
436 |
}
|
437 |
$url = "#";
|
438 |
$cmcls='';
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: socialsharepro
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 4.8.
|
6 |
-
Stable tag: 2.7.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -432,6 +432,10 @@ The premium plugin offrs many more buttons from other social media platforms suc
|
|
432 |
|
433 |
== Changelog ==
|
434 |
|
|
|
|
|
|
|
|
|
435 |
= 2.7.1 =
|
436 |
* Added more themed icons banners
|
437 |
|
@@ -692,5 +696,5 @@ The premium plugin offrs many more buttons from other social media platforms suc
|
|
692 |
|
693 |
== Upgrade Notice ==
|
694 |
|
695 |
-
= 2.7.
|
696 |
* Please update
|
2 |
Contributors: socialsharepro
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 4.8.2
|
6 |
+
Stable tag: 2.7.2
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
432 |
|
433 |
== Changelog ==
|
434 |
|
435 |
+
= 2.7.2 =
|
436 |
+
* Banners modified
|
437 |
+
* Spelling mistakes corrected
|
438 |
+
|
439 |
= 2.7.1 =
|
440 |
* Added more themed icons banners
|
441 |
|
696 |
|
697 |
== Upgrade Notice ==
|
698 |
|
699 |
+
= 2.7.2 =
|
700 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://ultimatelysocial.com
|
10 |
-
Version: 2.7.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -52,6 +52,23 @@ define('SFSI_PLUS_PLUGURL', plugin_dir_url(__FILE__));
|
|
52 |
define('SFSI_PLUS_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
53 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
/* load all files */
|
56 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
57 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
@@ -73,7 +90,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
73 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
74 |
|
75 |
/*Plugin version setup*/
|
76 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
77 |
{
|
78 |
add_action("init", "sfsi_plus_update_plugin");
|
79 |
}
|
@@ -642,6 +659,60 @@ function sfsi_plus_admin_notice()
|
|
642 |
</div>
|
643 |
<?php
|
644 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
645 |
if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
|
646 |
{
|
647 |
$sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
|
@@ -748,6 +819,11 @@ function sfsi_plus_dismiss_admin_notice()
|
|
748 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
749 |
}
|
750 |
|
|
|
|
|
|
|
|
|
|
|
751 |
if ( isset($_REQUEST['sfsi-plus_dismiss-settingmobileNotice']) && $_REQUEST['sfsi-plus_dismiss-settingmobileNotice'] == 'true' )
|
752 |
{
|
753 |
update_option( 'sfsi_plus_show_Setting_mobile_notification', "no" );
|
@@ -843,6 +919,4 @@ function sfsi_plus_curl_error_notification()
|
|
843 |
<?php
|
844 |
}
|
845 |
}
|
846 |
-
|
847 |
-
//$obj = new sfsi_plus_ThemeCheck();
|
848 |
?>
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://ultimatelysocial.com
|
10 |
+
Version: 2.7.2
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
52 |
define('SFSI_PLUS_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
53 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
54 |
|
55 |
+
function sfsi_plus_get_current_url()
|
56 |
+
{
|
57 |
+
global $post, $wp;
|
58 |
+
|
59 |
+
if (!empty($wp)) {
|
60 |
+
return home_url(add_query_arg(array(),$wp->request));
|
61 |
+
}
|
62 |
+
elseif(!empty($post))
|
63 |
+
{
|
64 |
+
return get_permalink($post->ID);
|
65 |
+
}
|
66 |
+
else
|
67 |
+
{
|
68 |
+
return site_url();
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
/* load all files */
|
73 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
74 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
90 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
91 |
|
92 |
/*Plugin version setup*/
|
93 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.72)
|
94 |
{
|
95 |
add_action("init", "sfsi_plus_update_plugin");
|
96 |
}
|
659 |
</div>
|
660 |
<?php
|
661 |
}
|
662 |
+
|
663 |
+
|
664 |
+
if(is_ssl()){
|
665 |
+
|
666 |
+
// Check if banner is displayed by free plugin
|
667 |
+
$isshowingFreePluginBanner = false;
|
668 |
+
|
669 |
+
if(!empty(get_option("show_premium_cumulative_count_notification")) && get_option("show_premium_cumulative_count_notification")=="yes"){
|
670 |
+
$isshowingFreePluginBanner = true;
|
671 |
+
}
|
672 |
+
|
673 |
+
|
674 |
+
if(get_option("sfsi_plus_show_premium_cumulative_count_notification") == "yes" && !$isshowingFreePluginBanner)
|
675 |
+
{
|
676 |
+
?>
|
677 |
+
<style type="text/css">
|
678 |
+
.sfsi_plus_show_premium_cumulative_count_notification a{
|
679 |
+
color: #fff;
|
680 |
+
text-decoration: underline;
|
681 |
+
cursor: pointer;
|
682 |
+
}
|
683 |
+
form.sfsi_plus_premiumNoticeCumulativeCountDismiss {
|
684 |
+
display: inline-block;
|
685 |
+
margin: 5px 0 0;
|
686 |
+
vertical-align: middle;
|
687 |
+
}
|
688 |
+
.sfsi_plus_premiumNoticeCumulativeCountDismiss input[type='submit']{
|
689 |
+
background-color: transparent;
|
690 |
+
border: medium none;
|
691 |
+
color: #fff;
|
692 |
+
margin: 0;
|
693 |
+
padding: 0;
|
694 |
+
cursor: pointer;
|
695 |
+
}
|
696 |
+
|
697 |
+
</style>
|
698 |
+
<div class="updated sfsi_plus_show_premium_cumulative_count_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
|
699 |
+
<div class="alignleft" style="margin: 9px 0;">
|
700 |
+
<b><?php _e( 'Recently switched to https?', SFSI_PLUS_DOMAIN); ?></b> <?php _e( 'If you don’t want to lose the Facebook share & like counts', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank"><?php _e( 'have a look at our Premium Plugin', SFSI_PLUS_DOMAIN); ?></a><?php _e( ', we found a fix for that:', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN); ?></a>
|
701 |
+
</div>
|
702 |
+
<div class="alignright">
|
703 |
+
<form method="post" class="sfsi_plus_premiumNoticeCumulativeCountDismiss">
|
704 |
+
<input type="hidden" name="sfsi-plus_dismiss-premiumCumulativeCountNotice" value="true">
|
705 |
+
<input type="submit" name="dismiss" value="Dismiss" />
|
706 |
+
</form>
|
707 |
+
</div>
|
708 |
+
</div>
|
709 |
+
<?php
|
710 |
+
}
|
711 |
+
|
712 |
+
}
|
713 |
+
|
714 |
+
|
715 |
+
|
716 |
if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
|
717 |
{
|
718 |
$sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
|
819 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
820 |
}
|
821 |
|
822 |
+
if ( isset($_REQUEST['sfsi-plus_dismiss-premiumCumulativeCountNotice']) && $_REQUEST['sfsi-plus_dismiss-premiumCumulativeCountNotice'] == 'true' )
|
823 |
+
{
|
824 |
+
update_option( 'sfsi-plus_dismiss-premiumCumulativeCountNotice', "no" );
|
825 |
+
}
|
826 |
+
|
827 |
if ( isset($_REQUEST['sfsi-plus_dismiss-settingmobileNotice']) && $_REQUEST['sfsi-plus_dismiss-settingmobileNotice'] == 'true' )
|
828 |
{
|
829 |
update_option( 'sfsi_plus_show_Setting_mobile_notification', "no" );
|
919 |
<?php
|
920 |
}
|
921 |
}
|
|
|
|
|
922 |
?>
|
views/sfsi_option_view1.php
CHANGED
@@ -506,7 +506,7 @@
|
|
506 |
<!-- <p><?php _e('Need another one?', SFSI_PLUS_DOMAIN); ?><a href="mailto:biz@ultimatelysocial.com" target="_blank"> <?php _e( 'Tell us', SFSI_PLUS_DOMAIN); ?></a></p> -->
|
507 |
</div>
|
508 |
<div class="sfsi_plus_need_another_tell_us">
|
509 |
-
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"><?php _e( '
|
510 |
<!-- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank"><?php _e( 'See all features Premium Plugin', SFSI_PLUS_DOMAIN); ?></a>
|
511 |
--> </div>
|
512 |
</div>
|
506 |
<!-- <p><?php _e('Need another one?', SFSI_PLUS_DOMAIN); ?><a href="mailto:biz@ultimatelysocial.com" target="_blank"> <?php _e( 'Tell us', SFSI_PLUS_DOMAIN); ?></a></p> -->
|
507 |
</div>
|
508 |
<div class="sfsi_plus_need_another_tell_us">
|
509 |
+
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"><?php _e( '...and many more! See them here', SFSI_PLUS_DOMAIN); ?></a>
|
510 |
<!-- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank"><?php _e( 'See all features Premium Plugin', SFSI_PLUS_DOMAIN); ?></a>
|
511 |
--> </div>
|
512 |
</div>
|
views/sfsi_option_view2.php
CHANGED
@@ -639,41 +639,52 @@
|
|
639 |
</div>
|
640 |
<!-- HOUZZ INSTAGRAM ICON -->
|
641 |
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
677 |
<!-- END Custom icon section here -->
|
678 |
<!-- SAVE BUTTON SECTION -->
|
679 |
<div class="save_button tab_2_sav">
|
639 |
</div>
|
640 |
<!-- HOUZZ INSTAGRAM ICON -->
|
641 |
|
642 |
+
<!-- Custom icon section start here -->
|
643 |
+
<div class="plus_custom-links sfsiplus_custom_section">
|
644 |
+
<?php
|
645 |
+
$costom_links = unserialize($option2['sfsi_plus_CustomIcon_links']);
|
646 |
+
|
647 |
+
$bannerDisplay= "display:none;";
|
648 |
+
$count = 1;
|
649 |
+
for($i = $first_key; $i <= $endkey; $i++) :
|
650 |
+
if(!empty( $icons[$i])) :
|
651 |
+
|
652 |
+
$bannerDisplay = "display:block;";
|
653 |
+
?>
|
654 |
+
<div class="row sfsiICON_<?php echo $i; ?> cm_lnk">
|
655 |
+
<h2 class="custom">
|
656 |
+
<span class="customstep2-img">
|
657 |
+
<img src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUS_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $new_element; ?>" style="border-radius:48%" />
|
658 |
+
</span>
|
659 |
+
<span class="sfsiCtxt">
|
660 |
+
<?php _e( 'Custom', SFSI_PLUS_DOMAIN ); ?>
|
661 |
+
<?php echo $count; ?>
|
662 |
+
</span>
|
663 |
+
</h2>
|
664 |
+
<div class="inr_cont ">
|
665 |
+
<p>
|
666 |
+
<?php _e( 'Where do you want this icon to link to?', SFSI_PLUS_DOMAIN ); ?>
|
667 |
+
</p>
|
668 |
+
<p class="radio_section fb_url sfsiplus_custom_section cus_link " >
|
669 |
+
<label>
|
670 |
+
<?php _e( 'Link:', SFSI_PLUS_DOMAIN ); ?>
|
671 |
+
</label>
|
672 |
+
<input name="sfsi_plus_CustomIcon_links[]" type="text" value="<?php echo (isset($costom_links[$i]) && $costom_links[$i]!='') ? esc_url($costom_links[$i]) : '' ;?>" placeholder="http://" class="add" file-id="<?php echo $i; ?>" />
|
673 |
+
</p>
|
674 |
+
</div>
|
675 |
+
</div>
|
676 |
+
<?php
|
677 |
+
$count++;
|
678 |
+
endif; endfor;
|
679 |
+
?>
|
680 |
+
</div>
|
681 |
+
|
682 |
+
<div class="banner_custom_icon sfsi_plus_new_prmium_follw" style="<?php echo $bannerDisplay;?>">
|
683 |
+
<p><b><?php _e( 'New:', SFSI_PLUS_DOMAIN); ?></b> <?php _e( ' In the Premium Plugin you can also give custom icons the feature that
|
684 |
+
when people click on it, they can call you, or send you an SMS). ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=call_or_sms_feature_custom_icons&utm_medium=banner" target="_blank"><?php _e( 'See all features.', SFSI_PLUS_DOMAIN); ?> </a>
|
685 |
+
</p>
|
686 |
+
</div>
|
687 |
+
|
688 |
<!-- END Custom icon section here -->
|
689 |
<!-- SAVE BUTTON SECTION -->
|
690 |
<div class="save_button tab_2_sav">
|
views/sfsi_option_view5.php
CHANGED
@@ -453,12 +453,21 @@
|
|
453 |
<?php _e( 'Pixels', SFSI_PLUS_DOMAIN ); ?>
|
454 |
</ins>
|
455 |
</div>
|
|
|
456 |
<?php if($option5['sfsi_plus_premium_size_box'] == 'yes') { ?>
|
457 |
-
|
|
|
458 |
<p class="sfsi_plus_prem_plu_desc">
|
459 |
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'The Premium Plugin also allows you to define the vertical distance between the icons (and set this differently for mobile vs. desktop): ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_spacings&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN ); ?></a>
|
460 |
-
|
461 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
<?php } ?>
|
463 |
</div>
|
464 |
|
@@ -497,7 +506,7 @@
|
|
497 |
</ins>
|
498 |
</div>
|
499 |
<?php if($option5['sfsi_plus_premium_size_box'] == 'yes') { ?>
|
500 |
-
<div class ="sfsi_plus_new_prmium_follw"
|
501 |
<p>
|
502 |
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'The Premium Plugin gives several more alignment options:', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Show icons vertically', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Align icons within a widget (left, right, centered)', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Align icons within the «container» where you place them via shortcode (left, right, centered) ', SFSI_PLUS_DOMAIN ); ?>
|
503 |
<br>
|
453 |
<?php _e( 'Pixels', SFSI_PLUS_DOMAIN ); ?>
|
454 |
</ins>
|
455 |
</div>
|
456 |
+
|
457 |
<?php if($option5['sfsi_plus_premium_size_box'] == 'yes') { ?>
|
458 |
+
|
459 |
+
<!-- <div class="sfsi_plus_icons_prem_disc">
|
460 |
<p class="sfsi_plus_prem_plu_desc">
|
461 |
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'The Premium Plugin also allows you to define the vertical distance between the icons (and set this differently for mobile vs. desktop): ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_spacings&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN ); ?></a>
|
462 |
+
</p>
|
463 |
+
</div> -->
|
464 |
+
|
465 |
+
<div class="sfsi_plus_new_prmium_follw">
|
466 |
+
<p>
|
467 |
+
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'The Premium Plugin also allows you to define the vertical distance between the icons (and set this differently for mobile vs. desktop): ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_spacings&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
|
468 |
+
</p>
|
469 |
+
</div>
|
470 |
+
|
471 |
<?php } ?>
|
472 |
</div>
|
473 |
|
506 |
</ins>
|
507 |
</div>
|
508 |
<?php if($option5['sfsi_plus_premium_size_box'] == 'yes') { ?>
|
509 |
+
<div class ="sfsi_plus_new_prmium_follw">
|
510 |
<p>
|
511 |
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'The Premium Plugin gives several more alignment options:', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Show icons vertically', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Align icons within a widget (left, right, centered)', SFSI_PLUS_DOMAIN ); ?><br>- <?php _e( ' Align icons within the «container» where you place them via shortcode (left, right, centered) ', SFSI_PLUS_DOMAIN ); ?>
|
512 |
<br>
|
views/sfsi_option_view7.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
/* unserialize all saved option for section 7 options */
|
3 |
$option7= unserialize(get_option('sfsi_plus_section7_options',false));
|
4 |
|
@@ -249,7 +249,7 @@
|
|
249 |
</div>
|
250 |
<div class="sfsiplus_row_tab">
|
251 |
<label>
|
252 |
-
<?php _e( 'Border
|
253 |
</label>
|
254 |
<div class="field">
|
255 |
<input name="sfsi_plus_popup_border_thickness" type="text" value="<?php echo ($option7['sfsi_plus_popup_border_thickness']!='') ? $option7['sfsi_plus_popup_border_thickness'] : '' ;?>" class="small" />
|
@@ -368,13 +368,28 @@
|
|
368 |
</label>
|
369 |
</div>
|
370 |
<?php if($option7['sfsi_plus_premium_popup_box'] =='yes'){ ?>
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
<?php } ?>
|
379 |
</div>
|
380 |
<!-- SAVE BUTTON SECTION -->
|
1 |
+
<?php
|
2 |
/* unserialize all saved option for section 7 options */
|
3 |
$option7= unserialize(get_option('sfsi_plus_section7_options',false));
|
4 |
|
249 |
</div>
|
250 |
<div class="sfsiplus_row_tab">
|
251 |
<label>
|
252 |
+
<?php _e( 'Border Thickness:', SFSI_PLUS_DOMAIN ); ?>
|
253 |
</label>
|
254 |
<div class="field">
|
255 |
<input name="sfsi_plus_popup_border_thickness" type="text" value="<?php echo ($option7['sfsi_plus_popup_border_thickness']!='') ? $option7['sfsi_plus_popup_border_thickness'] : '' ;?>" class="small" />
|
368 |
</label>
|
369 |
</div>
|
370 |
<?php if($option7['sfsi_plus_premium_popup_box'] =='yes'){ ?>
|
371 |
+
|
372 |
+
<!-- <div class="sfsi_plus_prem_show">
|
373 |
+
<p class=sfsi_plus_prem_plu_desc>
|
374 |
+
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b>
|
375 |
+
<?php _e( 'The Premium Plugin also allows you to show the pop-up when a user tries to leave your page . Also, you can limit how often the pop-up is shown to the same user (e.g. only once per day) ', SFSI_PLUS_DOMAIN ); ?>
|
376 |
+
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank"> <?php _e( 'Check it out', SFSI_PLUS_DOMAIN ); ?></a>
|
377 |
+
</p>
|
378 |
+
</div> -->
|
379 |
+
|
380 |
+
<div class ="sfsi_plus_new_prmium_follw">
|
381 |
+
|
382 |
+
<p>
|
383 |
+
<b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b>
|
384 |
+
<?php _e( 'The Premium Plugin also allows you to show the pop-up when a user tries to leave your page . Also, you can limit how often the pop-up is shown to the same user (e.g. only once per day) ', SFSI_PLUS_DOMAIN ); ?>
|
385 |
+
<br>- <?php _e( 'Show it when users try to leave your page', SFSI_PLUS_DOMAIN ); ?>
|
386 |
+
<br>- <?php _e( 'Limit how often the pop-up is shown to the same user (e.g. only once per day)', SFSI_PLUS_DOMAIN ); ?>
|
387 |
+
<br>- <?php _e( 'Select to show the subscription form in the pop-up (which you designed in question 8)', SFSI_PLUS_DOMAIN ); ?>
|
388 |
+
<br>
|
389 |
+
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
|
390 |
+
</p>
|
391 |
+
</div>
|
392 |
+
|
393 |
<?php } ?>
|
394 |
</div>
|
395 |
<!-- SAVE BUTTON SECTION -->
|
views/sfsi_options_view.php
CHANGED
@@ -152,18 +152,22 @@
|
|
152 |
</div>
|
153 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
154 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
155 |
-
|
|
|
|
|
|
|
156 |
<?php _e('Like this plugin? Please do us a BIG favor and give us a 5 star rating here.', SFSI_PLUS_DOMAIN ); ?>
|
157 |
<a href=" https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews?rate=5#new-post" target="_new">
|
158 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
159 |
</a>
|
160 |
</p>
|
161 |
-
|
|
|
162 |
<?php _e( 'Need top-notch Wordpress development work at a competitive price?', SFSI_PLUS_DOMAIN ); ?>
|
163 |
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=footer_credit&utm_medium=banner">
|
164 |
<?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
|
165 |
</a>
|
166 |
-
</p
|
167 |
<?php
|
168 |
/*$tra_lan = get_bloginfo( 'language' );
|
169 |
if($tra_lan == "en-US" )
|
152 |
</div>
|
153 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
154 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
155 |
+
|
156 |
+
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_section_for_premium.php'); ?>
|
157 |
+
|
158 |
+
<p style="margin-top: 30px;clear: both;">
|
159 |
<?php _e('Like this plugin? Please do us a BIG favor and give us a 5 star rating here.', SFSI_PLUS_DOMAIN ); ?>
|
160 |
<a href=" https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews?rate=5#new-post" target="_new">
|
161 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
162 |
</a>
|
163 |
</p>
|
164 |
+
|
165 |
+
<!--<p class="bldtxtmsg">
|
166 |
<?php _e( 'Need top-notch Wordpress development work at a competitive price?', SFSI_PLUS_DOMAIN ); ?>
|
167 |
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=footer_credit&utm_medium=banner">
|
168 |
<?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
|
169 |
</a>
|
170 |
+
</p>-->
|
171 |
<?php
|
172 |
/*$tra_lan = get_bloginfo( 'language' );
|
173 |
if($tra_lan == "en-US" )
|
views/sfsi_section_for_premium.php
ADDED
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style type="text/css">
|
2 |
+
.slide{
|
3 |
+
width: 100%;
|
4 |
+
border: 1px solid #00C95E;
|
5 |
+
padding: 20px 10px 14px 20px;
|
6 |
+
text-align: center;
|
7 |
+
float: left;
|
8 |
+
background: #fff;
|
9 |
+
margin-bottom: 25px;
|
10 |
+
}
|
11 |
+
#sectionPremium{
|
12 |
+
margin: 50px auto;
|
13 |
+
text-align: center;
|
14 |
+
width: 55%;
|
15 |
+
font-family: helveticaregular;
|
16 |
+
}
|
17 |
+
#premiumSlide1 .premiumSection1 .premiumTxt img{
|
18 |
+
vertical-align: middle;
|
19 |
+
}
|
20 |
+
.premiumButtonsContainer {
|
21 |
+
float: right;
|
22 |
+
width: 41%;
|
23 |
+
}
|
24 |
+
.premiumComponent{
|
25 |
+
width: 55%;
|
26 |
+
padding: 12px;
|
27 |
+
display: inline-block;
|
28 |
+
text-align: center;
|
29 |
+
font-size: 25px;
|
30 |
+
line-height: 28px;
|
31 |
+
cursor: pointer;
|
32 |
+
float: left;
|
33 |
+
min-height: 74px;
|
34 |
+
}
|
35 |
+
.premiumTxt {
|
36 |
+
line-height: 40px;
|
37 |
+
color: #000;
|
38 |
+
font-weight: 500;
|
39 |
+
font-size: 30px;
|
40 |
+
}
|
41 |
+
.premiumSection1 .premiumTxt {
|
42 |
+
width: 100%;
|
43 |
+
text-align: center;
|
44 |
+
font-size: 39px;
|
45 |
+
line-height: 50px;
|
46 |
+
}
|
47 |
+
.premiumSection2 .premiumTxt{
|
48 |
+
vertical-align: middle;
|
49 |
+
text-align: center;
|
50 |
+
min-height: 80px;
|
51 |
+
line-height: 80px;
|
52 |
+
color: #fff;
|
53 |
+
font-weight: 500;
|
54 |
+
letter-spacing: 2px;
|
55 |
+
}
|
56 |
+
.premiumSection2 {
|
57 |
+
vertical-align: top;
|
58 |
+
background-image: url(<?php echo SFSI_PLUS_PLUGURL; ?>images/yesBtnBg.png);
|
59 |
+
background-repeat: no-repeat;
|
60 |
+
width: 41%;
|
61 |
+
padding: 18px 12px 24px 12px;
|
62 |
+
}
|
63 |
+
.premiumSection3 {
|
64 |
+
vertical-align: top;
|
65 |
+
background-image: url(<?php echo SFSI_PLUS_PLUGURL; ?>images/noBtnBg.png);
|
66 |
+
background-repeat: no-repeat;
|
67 |
+
width: 41%;
|
68 |
+
padding-top: 34px;
|
69 |
+
margin-left: 9px;
|
70 |
+
}
|
71 |
+
#premiumSlide3 .premiumSection1{
|
72 |
+
width: 100%;
|
73 |
+
}
|
74 |
+
.premiumSection3 .premiumTxt{
|
75 |
+
color: #fff;
|
76 |
+
}
|
77 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1){
|
78 |
+
font-size: 39px;
|
79 |
+
}
|
80 |
+
#premiumSlide1 .premiumSection3 .premiumTxt:nth-child(2){
|
81 |
+
line-height: 21px;
|
82 |
+
}
|
83 |
+
.premiumSection3 .premiumTxt:nth-child(2),.premiumSection3 .premiumTxt:nth-child(3){
|
84 |
+
font-size: 16px;
|
85 |
+
line-height: 20px;
|
86 |
+
}
|
87 |
+
.premFrTxt{
|
88 |
+
cursor: default;
|
89 |
+
}
|
90 |
+
#premiumSlide1 .premFrTxt{
|
91 |
+
padding-top: 2px;
|
92 |
+
}
|
93 |
+
.txtb{
|
94 |
+
font-size 39px;
|
95 |
+
}
|
96 |
+
#premiumSlide2 .premiumSection3 {
|
97 |
+
padding-top:20px;
|
98 |
+
padding-bottom: 20px;
|
99 |
+
}
|
100 |
+
.show{
|
101 |
+
display: block;
|
102 |
+
}
|
103 |
+
.hide{
|
104 |
+
display: none;
|
105 |
+
}
|
106 |
+
.premiumFeatures {
|
107 |
+
float: left;
|
108 |
+
margin-top: 15px;
|
109 |
+
margin-left: 48px;
|
110 |
+
width: 64%;
|
111 |
+
}
|
112 |
+
.premiumFeatures ul{
|
113 |
+
float: left;
|
114 |
+
width: 45%;
|
115 |
+
text-align: left;
|
116 |
+
line-height: 38px;
|
117 |
+
font-size: 23px;
|
118 |
+
list-style-image: url(<?php echo SFSI_PLUS_PLUGURL; ?>images/tick.png);
|
119 |
+
font-weight: 600;
|
120 |
+
color: #000;
|
121 |
+
margin-right: 27px;
|
122 |
+
}
|
123 |
+
.premiumFeatures ul li{
|
124 |
+
padding-left:4px;
|
125 |
+
}
|
126 |
+
.premiumFeatures ul:nth-child(2) li:last-child span{
|
127 |
+
color: #00b050;
|
128 |
+
}
|
129 |
+
.premiumImg {
|
130 |
+
float: left;
|
131 |
+
}
|
132 |
+
.chkbutton{
|
133 |
+
/* float: left; */
|
134 |
+
width: 90%;
|
135 |
+
/* margin-top: 40px; */
|
136 |
+
/* margin-bottom: 20px; */
|
137 |
+
text-align: center;
|
138 |
+
margin: 0px auto;
|
139 |
+
}
|
140 |
+
.chkbutton a {
|
141 |
+
width: 98%;
|
142 |
+
background: rgb(0,200,83);
|
143 |
+
float: left;
|
144 |
+
color: white;
|
145 |
+
text-decoration: none;
|
146 |
+
padding: 13px 4px 13px 5px;
|
147 |
+
margin: 24px 0 7px 0;
|
148 |
+
font-weight: 600;
|
149 |
+
letter-spacing: 2px;
|
150 |
+
font-size: 32px;
|
151 |
+
}
|
152 |
+
.priceTxt {
|
153 |
+
text-align: center;
|
154 |
+
font-size: 19px;
|
155 |
+
clear: both;
|
156 |
+
}
|
157 |
+
.premFrTxt span{
|
158 |
+
text-decoration: underline;
|
159 |
+
}
|
160 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2){
|
161 |
+
width: 88%;
|
162 |
+
line-height: 24px;
|
163 |
+
}
|
164 |
+
.premiumImg img {
|
165 |
+
width: 70%;
|
166 |
+
margin-top: 6px;
|
167 |
+
}
|
168 |
+
#premiumSlide3 .premiumSection1 .premiumTxt:first-child span{
|
169 |
+
text-decoration: underline;
|
170 |
+
}
|
171 |
+
.linkPremium{
|
172 |
+
cursor: pointer;
|
173 |
+
}
|
174 |
+
|
175 |
+
|
176 |
+
@media screen and (min-width: 360px) and (max-width: 360px){
|
177 |
+
#sfpageLoad {left:0px;}
|
178 |
+
.wapper { width: 95%; padding: 0px;}
|
179 |
+
|
180 |
+
#sectionPremium { width: 90%;margin: 50px 5px;}
|
181 |
+
.premiumComponent{ width: 88%;}
|
182 |
+
.premiumButtonsContainer { float: left;width: 100%;margin-top: 10px;}
|
183 |
+
.premiumSection2,.premiumSection3{ width: 39%;}
|
184 |
+
#premiumSlide2 .premiumSection1 .premiumTxt { font-size: 22px;line-height: 30px;width: 100%; }
|
185 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {font-size: 26px;}
|
186 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {width: 78%;line-height: 24px;font-size: 26px;}
|
187 |
+
#premiumSlide2 .premiumSection1 {padding-bottom: 0px;}
|
188 |
+
#premiumSlide2 .premiumSection1 .premiumButtonsContainer { margin-top: 10px;}
|
189 |
+
.premiumFeatures { margin-left: 6px;width: 100%;}
|
190 |
+
.premiumFeatures ul { width: 60%;float: left;font-size: 18px;margin: 0px auto;}
|
191 |
+
|
192 |
+
#premiumSlide3 .premiumSection1 {width: 89%;}
|
193 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 100%;font-size: 30px;line-height: 40px;}
|
194 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
195 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
196 |
+
.chkbutton { width:95%;}
|
197 |
+
.priceTxt { margin: 0 auto;width: 74%;line-height: 23px;font-size: 15px;}
|
198 |
+
#premiumSlide3 .premiumButtonsContainer {width: 97% !important;}
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
+
/*Iphone 5*/
|
203 |
+
@media screen and (min-width: 320px){
|
204 |
+
|
205 |
+
}
|
206 |
+
/*Iphone 6*/
|
207 |
+
@media screen and (min-width: 375px){
|
208 |
+
|
209 |
+
}
|
210 |
+
/*Iphone 6 Plus*/
|
211 |
+
@media screen and (min-width: 414px){
|
212 |
+
|
213 |
+
}
|
214 |
+
/*iPad*/
|
215 |
+
@media screen and (min-width: 768px) and (max-width: 1023px){
|
216 |
+
#sectionPremium { width: 95%;margin: 50px 5px;}
|
217 |
+
.premiumComponent{ width: 50%;}
|
218 |
+
.premiumButtonsContainer { float: left;width: 46%;}
|
219 |
+
.premiumSection2,.premiumSection3{ width: 38%;}
|
220 |
+
#premiumSlide2 .premiumSection1 .premiumTxt { font-size: 26px; }
|
221 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {
|
222 |
+
font-size: 26px;
|
223 |
+
}
|
224 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {
|
225 |
+
width: 83%;
|
226 |
+
line-height: 24px;
|
227 |
+
font-size: 26px;
|
228 |
+
}
|
229 |
+
.premiumFeatures { margin-left: 6px;width: 58%;}
|
230 |
+
.premiumFeatures ul {width: 50%;float: left;margin-right: 0px;font-size: 18px;}
|
231 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 98%;font-size: 30px;}
|
232 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
233 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
234 |
+
.chkbutton {width:95%;}
|
235 |
+
.priceTxt {margin: 0 auto;width: 79%;}
|
236 |
+
#premiumSlide3 .premiumButtonsContainer {width: 97% !important;}
|
237 |
+
|
238 |
+
.wapper { padding: 28px; }
|
239 |
+
}
|
240 |
+
/*iPad Pro*/
|
241 |
+
@media screen and (min-width: 1024px) and (max-width: 1366px){
|
242 |
+
#sectionPremium { width: 97%;margin: 50px auto;}
|
243 |
+
.premiumComponent{ width: 48%;}
|
244 |
+
.premiumButtonsContainer { float: left;}
|
245 |
+
.premiumSection2,.premiumSection3{ width: 40%;}
|
246 |
+
.premiumFeatures { margin-left: 6px;width: 58%;}
|
247 |
+
.premiumFeatures ul {width: 50%;float: left;margin-right: 0px;font-size: 19px;}
|
248 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 94%}
|
249 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
250 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
251 |
+
.chkbutton {width:95%;}
|
252 |
+
.priceTxt {margin: 0 auto;width: 79%;}
|
253 |
+
}
|
254 |
+
@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation : landscape) {
|
255 |
+
#sectionPremium {
|
256 |
+
width: 80%;
|
257 |
+
}
|
258 |
+
.premiumButtonsContainer {
|
259 |
+
float: right;
|
260 |
+
}
|
261 |
+
.premiumComponent {
|
262 |
+
width: 56%;
|
263 |
+
}
|
264 |
+
#premiumSlide3 .premiumSection1 {
|
265 |
+
width: 95%;
|
266 |
+
}
|
267 |
+
.premiumFeatures{
|
268 |
+
width: 69%;
|
269 |
+
}
|
270 |
+
.premiumSection2,.premiumSection3{ width: 38%;}
|
271 |
+
.premiumFeatures ul {
|
272 |
+
width: 50%;
|
273 |
+
float: left;
|
274 |
+
margin-right: 0px;
|
275 |
+
font-size: 23px;
|
276 |
+
line-height: 40px;
|
277 |
+
}
|
278 |
+
}
|
279 |
+
</style>
|
280 |
+
|
281 |
+
<script type="text/javascript">
|
282 |
+
|
283 |
+
jQuery(document).ready(function(){
|
284 |
+
|
285 |
+
jQuery("#premiumSlide1 .premiumSection2 .premiumTxt").click(function(){
|
286 |
+
jQuery("#premiumSlide1").removeClass("show");
|
287 |
+
jQuery("#premiumSlide1").addClass("hide");
|
288 |
+
jQuery("#premiumSlide2").removeClass("hide");
|
289 |
+
jQuery("#premiumSlide2").addClass("show");
|
290 |
+
});
|
291 |
+
|
292 |
+
jQuery("#premiumSlide1 .premiumSection3 .premiumTxt").click(function(){
|
293 |
+
jQuery("#premiumSlide1").removeClass("show");
|
294 |
+
jQuery("#premiumSlide1").addClass("hide");
|
295 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
296 |
+
jQuery("#premiumSlide3").addClass("show");
|
297 |
+
|
298 |
+
jQuery("#premiumSlide3 .premiumSection1 .premiumTxt:first-child").text("Then make your site much better with our");
|
299 |
+
});
|
300 |
+
|
301 |
+
jQuery("#premiumSlide2 .premiumSection2 .premiumTxt").click(function(){
|
302 |
+
jQuery("#premiumSlide2").removeClass("show");
|
303 |
+
jQuery("#premiumSlide2").addClass("hide");
|
304 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
305 |
+
jQuery("#premiumSlide3").addClass("show");
|
306 |
+
});
|
307 |
+
|
308 |
+
jQuery("#premiumSlide2 .premiumSection3 .premiumTxt").click(function(){
|
309 |
+
jQuery("#premiumSlide2").removeClass("show");
|
310 |
+
jQuery("#premiumSlide2").addClass("hide");
|
311 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
312 |
+
jQuery("#premiumSlide3").addClass("show");
|
313 |
+
|
314 |
+
jQuery("#premiumSlide3 .premiumSection1 .premiumTxt:first-child").html("Then do <span>yourself</span> a favor by getting our");
|
315 |
+
});
|
316 |
+
|
317 |
+
jQuery(".linkPremium").click(function(){
|
318 |
+
window.open('https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=do_you_like_your_website&utm_medium=banner','_blank');
|
319 |
+
});
|
320 |
+
});
|
321 |
+
</script>
|
322 |
+
|
323 |
+
<div id="sectionPremium">
|
324 |
+
|
325 |
+
<div id="premiumSlide1" class="show slide">
|
326 |
+
|
327 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
328 |
+
<div class="premiumTxt">Do you love <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/heart.png"></div>
|
329 |
+
<div class="premiumTxt"><span>your</span> website?</div>
|
330 |
+
</div>
|
331 |
+
|
332 |
+
<div class="premiumButtonsContainer">
|
333 |
+
|
334 |
+
<div class="premiumSection2 premiumComponent"><div class="premiumTxt">Yes!</div></div>
|
335 |
+
|
336 |
+
<div class="premiumSection3 premiumComponent">
|
337 |
+
<div class="premiumTxt">No,</div>
|
338 |
+
<div class="premiumTxt">it's horrible</div>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
|
342 |
+
</div>
|
343 |
+
|
344 |
+
<div id="premiumSlide2" class="hide slide">
|
345 |
+
|
346 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
347 |
+
<div class="premiumTxt txtb">And things you love should</div>
|
348 |
+
<div class="premiumTxt"><strong>only get the best,</strong> right?</div>
|
349 |
+
</div>
|
350 |
+
|
351 |
+
<div class="premiumButtonsContainer">
|
352 |
+
<div class="premiumSection2 premiumComponent"><div class="premiumTxt">Yes!</div></div>
|
353 |
+
|
354 |
+
<div class="premiumSection3 premiumComponent">
|
355 |
+
<div class="premiumTxt">No,</div>
|
356 |
+
<div class="premiumTxt">it’s only about</div>
|
357 |
+
<div class="premiumTxt">me me me</div>
|
358 |
+
</div>
|
359 |
+
</div>
|
360 |
+
|
361 |
+
</div>
|
362 |
+
|
363 |
+
<div id="premiumSlide3" class="hide slide">
|
364 |
+
|
365 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
366 |
+
<div class="premiumTxt">Then give your site a treat with our</div>
|
367 |
+
<div class="premiumTxt"><strong>premium plugin</strong></div>
|
368 |
+
</div>
|
369 |
+
|
370 |
+
<div class="premiumButtonsContainer" style="width: 100%;">
|
371 |
+
<div class="premiumImg"><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/ultimate-icon.png" /></div>
|
372 |
+
<div class="premiumFeatures">
|
373 |
+
<ul>
|
374 |
+
<li>Better design</li>
|
375 |
+
<li>Faster loading</li>
|
376 |
+
<li>Mobile optimized</li>
|
377 |
+
<li>Better placement</li>
|
378 |
+
</ul>
|
379 |
+
|
380 |
+
<ul>
|
381 |
+
<li>More platforms</li>
|
382 |
+
<li>Friendly support</li>
|
383 |
+
<li>More shares</li>
|
384 |
+
<li>…and <span class="linkPremium">so much more</span></li>
|
385 |
+
</ul>
|
386 |
+
</div>
|
387 |
+
</div>
|
388 |
+
|
389 |
+
<div class="premiumTxt chkbutton"><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=do_you_like_your_website&utm_medium=banner" target="_blank">Check it out ></a></div>
|
390 |
+
<div class="premiumTxt priceTxt">To make it available for all people pricing is <strong>super-fair</strong>, starting at 15.98 USD only</div>
|
391 |
+
</div>
|
392 |
+
</div>
|
393 |
+
|
394 |
+
|
395 |
+
|
396 |
+
<!-- <div class="pop-overlay read-overlay" >
|
397 |
+
<div class="pop_up_box sfsi_pop_up" >
|
398 |
+
<img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
|
399 |
+
<h4 id="readmore_text">Note: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</h4>
|
400 |
+
</div>
|
401 |
+
</div> -->
|