All in One SEO Pack - Version 1.6.13.6

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon 128x128 All in One SEO Pack
Version 1.6.13.6
Comparing to
See all releases

Code changes from version 1.6.13.5 to 1.6.13.6

Files changed (4) hide show
  1. aioseop.class.php +70 -60
  2. all_in_one_seo_pack.php +833 -826
  3. images/headwaybanner.png +0 -0
  4. readme.txt +73 -72
aioseop.class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
- var $version = "1.6.13.5";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
@@ -349,62 +349,68 @@ class All_in_One_SEO_Pack {
349
 
350
  echo "".'<link rel="canonical" href="'.$url.'" />'."\n";
351
  }
 
 
 
352
  }
353
- if($aioseop_options['aiosp_google_analytics_id']) {
354
- ?>
355
- <script type="text/javascript">
356
 
357
- var _gaq = _gaq || [];
358
- _gaq.push(['_setAccount', '<?php echo $aioseop_options['aiosp_google_analytics_id']; ?>']);
359
- _gaq.push(['_trackPageview']);
 
 
 
 
360
 
361
- (function() {
362
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
363
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
364
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
365
- })();
366
 
367
- </script>
368
- <?php
369
- if ($aioseop_options['aiosp_ga_track_outbound_links']) {
370
- ?>
371
- <script type="text/javascript">
372
- function recordOutboundLink(link, category, action) {
373
- _gat._getTrackerByName()._trackEvent(category, action);
374
- setTimeout('document.location = "' + link.href + '"', 100);
375
- }
376
 
377
- if(typeof jQuery == 'function') { /* use jQuery if it exists because it is a more elegant solution */
378
- jQuery(function () {
379
- jQuery('a:not([href*="' + document.domain + '"])').click(function () {
380
- recordOutboundLink(this, 'Outbound Links', document.domain);
381
- });
382
- });
383
- }
384
- else { /* use regular Javascript if jQuery does not exist */
385
- window.onload = function () {
386
- var links = document.getElementsByTagName('a');
387
- for (var x=0; x < links.length; x++) {
388
- links[x].onclick = function () {
389
- var mydomain = new RegExp(document.domain, 'i');
390
- if(!mydomain.test(this.getAttribute('href'))) {
391
- recordOutboundLink(this, 'Outbound Links', document.domain);
392
- }
393
- };
394
  }
395
- };
396
- }
397
- </script>
398
-
399
- <?php
400
- }
401
 
402
- }
403
-
404
- echo "<!-- /all in one seo pack -->\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  }
 
406
 
407
- // Thank you, Yoast de Valk, for much of this code.
 
 
 
408
 
409
  function aiosp_mrt_get_url($query) {
410
  global $aioseop_options;
@@ -587,11 +593,7 @@ class All_in_One_SEO_Pack {
587
  } else if (is_single()) {
588
  $title = $this->internationalize(wp_title('', false));
589
  } else if (is_search() && isset($s) && !empty($s)) {
590
- if (function_exists('attribute_escape')) {
591
- $search = attribute_escape(stripcslashes($s));
592
- } else {
593
- $search = wp_specialchars(stripcslashes($s), true);
594
- }
595
  $search = $this->capitalize($search);
596
  $title = $search;
597
  } else if (is_category() && !is_feed()) {
@@ -707,11 +709,7 @@ class All_in_One_SEO_Pack {
707
  $title = apply_filters('aioseop_title_single',$title);
708
  $header = $this->replace_title($header, $title);
709
  } else if (is_search() && isset($s) && !empty($s)) {
710
- if (function_exists('attribute_escape')) {
711
- $search = attribute_escape(stripcslashes($s));
712
- } else {
713
- $search = wp_specialchars(stripcslashes($s), true);
714
- }
715
  $search = $this->capitalize($search);
716
  $title_format = $aioseop_options['aiosp_search_title_format'];
717
  $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
@@ -1538,11 +1536,23 @@ href="http://twitter.com/michaeltorbert/"><img src="<?php //echo WP_PLUGIN_URL;
1538
  <div style="width:423px;height:130px">
1539
  <h3>Secure your WordPress Blog with WebsiteDefender.com</h3>
1540
  <p><a href="http://www.websitedefender.com">WebsiteDefender.com</a> is an online service that checks your WordPress blog by checking for malware, security vulnerabilities and hacker activity. Don’t take the risk of getting blacklisted by Google.
1541
- <strong><a href="https://dashboard.websitedefender.com/register-for-free-website-scan.php">Sign up for FREE</a> and keep your blog safe!</strong>
1542
  </div>
1543
- <a href="http://www.websitedefender.com/wordpress-security-with-websitedefender/" target="blank"><img src="http://www.websitedefender.com/adverts/WD_wordpress_450x50.gif" alt="Sign up for a free WebsiteDefender account and secure your WordPress blog"></a>
1544
  </div>
1545
 
 
 
 
 
 
 
 
 
 
 
 
 
1546
  <!--
1547
  <div style="float:left;background-color:white;padding: 10px 10px 10px 10px;border: 1px solid #ddd;">
1548
  <div style="width:365px;height:130px;">
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
+ var $version = "1.6.13.6";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
349
 
350
  echo "".'<link rel="canonical" href="'.$url.'" />'."\n";
351
  }
352
+
353
+
354
+
355
  }
356
+
357
+ echo "<!-- /all in one seo pack -->\n";
358
+ }
359
 
360
+ // Thank you, Yoast de Valk, for much of this code.
361
+
362
+ function aiosp_google_analytics(){
363
+ global $aioseop_options;
364
+
365
+ ?>
366
+ <script type="text/javascript">
367
 
368
+ var _gaq = _gaq || [];
369
+ _gaq.push(['_setAccount', '<?php echo $aioseop_options['aiosp_google_analytics_id']; ?>']);
370
+ _gaq.push(['_trackPageview']);
 
 
371
 
372
+ (function() {
373
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
374
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
375
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
376
+ })();
 
 
 
 
377
 
378
+ </script>
379
+ <?php
380
+ if ($aioseop_options['aiosp_ga_track_outbound_links']) {
381
+ ?>
382
+ <script type="text/javascript">
383
+ function recordOutboundLink(link, category, action) {
384
+ _gat._getTrackerByName()._trackEvent(category, action);
385
+ setTimeout('document.location = "' + link.href + '"', 100);
 
 
 
 
 
 
 
 
 
386
  }
 
 
 
 
 
 
387
 
388
+ if(typeof jQuery == 'function') { /* use jQuery if it exists because it is a more elegant solution */
389
+ jQuery(function () {
390
+ jQuery('a:not([href*="' + document.domain + '"])').click(function () {
391
+ recordOutboundLink(this, 'Outbound Links', document.domain);
392
+ });
393
+ });
394
+ }
395
+ else { /* use regular Javascript if jQuery does not exist */
396
+ window.onload = function () {
397
+ var links = document.getElementsByTagName('a');
398
+ for (var x=0; x < links.length; x++) {
399
+ links[x].onclick = function () {
400
+ var mydomain = new RegExp(document.domain, 'i');
401
+ if(!mydomain.test(this.getAttribute('href'))) {
402
+ recordOutboundLink(this, 'Outbound Links', document.domain);
403
+ }
404
+ };
405
+ }
406
+ };
407
  }
408
+ </script>
409
 
410
+ <?php
411
+
412
+ }}
413
+
414
 
415
  function aiosp_mrt_get_url($query) {
416
  global $aioseop_options;
593
  } else if (is_single()) {
594
  $title = $this->internationalize(wp_title('', false));
595
  } else if (is_search() && isset($s) && !empty($s)) {
596
+ $search = esc_attr(stripcslashes($s));
 
 
 
 
597
  $search = $this->capitalize($search);
598
  $title = $search;
599
  } else if (is_category() && !is_feed()) {
709
  $title = apply_filters('aioseop_title_single',$title);
710
  $header = $this->replace_title($header, $title);
711
  } else if (is_search() && isset($s) && !empty($s)) {
712
+ $search = esc_attr(stripcslashes($s));
 
 
 
 
713
  $search = $this->capitalize($search);
714
  $title_format = $aioseop_options['aiosp_search_title_format'];
715
  $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
1536
  <div style="width:423px;height:130px">
1537
  <h3>Secure your WordPress Blog with WebsiteDefender.com</h3>
1538
  <p><a href="http://www.websitedefender.com">WebsiteDefender.com</a> is an online service that checks your WordPress blog by checking for malware, security vulnerabilities and hacker activity. Don’t take the risk of getting blacklisted by Google.
1539
+ <strong><a href="https://dashboard.websitedefender.com/register-for-free-website-scan.php">Sign up for FREE</a> and keep your blog safe!</strong></p>
1540
  </div>
1541
+ <a href="http://www.websitedefender.com/wordpress-security-with-websitedefender/" target="_blank"><img src="http://www.websitedefender.com/adverts/WD_wordpress_450x50.gif" alt="Sign up for a free WebsiteDefender account and secure your WordPress blog"></a>
1542
  </div>
1543
 
1544
+
1545
+ <div style="float:left;background-color:white;padding:10px 10px 10px 10px;border:1px solid #ddd;margin-top:2px">
1546
+ <div style="width:423px;height:130px">
1547
+ <h3>Drag and Drop WordPress Design</h3>
1548
+ <p><a href="http://semperfiwebdesign.com/headwayaio/" target="_blank">Headway Themes</a> allows you to easily create your own stunning website designs! Stop using premade themes start making your own design with Headway's easy to use Drag and Drop interface. All in One SEO Pack users have an exclusive discount by using coupon code <strong>SEMPERFI30</strong> at checkout.</p>
1549
+ </div>
1550
+ <a href="http://semperfiwebdesign.com/headwayaio/" target="_blank"><img src="<?php echo WP_PLUGIN_URL; ?>/all-in-one-seo-pack/images/headwaybanner.png"></a>
1551
+ </div>
1552
+
1553
+
1554
+
1555
+
1556
  <!--
1557
  <div style="float:left;background-color:white;padding: 10px 10px 10px 10px;border: 1px solid #ddd;">
1558
  <div style="width:365px;height:130px;">
all_in_one_seo_pack.php CHANGED
@@ -1,826 +1,833 @@
1
- <?php
2
-
3
-
4
- /*
5
- Plugin Name: All in One SEO Pack
6
- Plugin URI: http://semperfiwebdesign.com
7
- Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
8
- Version: 1.6.13.5
9
- Author: Michael Torbert
10
- Author URI: http://michaeltorbert.com
11
- */
12
-
13
- /*
14
- Copyright (C) 2008-2009 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)
15
- Original code by uberdose of uberdose.com
16
-
17
- This program is free software; you can redistribute it and/or modify
18
- it under the terms of the GNU General Public License as published by
19
- the Free Software Foundation; either version 3 of the License, or
20
- (at your option) any later version.
21
-
22
- This program is distributed in the hope that it will be useful,
23
- but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- GNU General Public License for more details.
26
-
27
- You should have received a copy of the GNU General Public License
28
- along with this program. If not, see <http://www.gnu.org/licenses/>.
29
- */
30
-
31
- /*******************************************************************************************************/
32
- //register_activation_hook(__FILE__,'aioseop_activate_pl');
33
-
34
- $UTF8_TABLES['strtolower'] = array(
35
- "Z" => "z", "Y" => "y", "X" => "x",
36
- "W" => "w", "V" => "v", "U" => "u",
37
- "T" => "t", "S" => "s", "R" => "r",
38
- "Q" => "q", "P" => "p", "O" => "o",
39
- "N" => "n", "M" => "m", "L" => "l",
40
- "K" => "k", "J" => "j", "I" => "i",
41
- "H" => "h", "G" => "g", "F" => "f",
42
- "E" => "e", "D" => "d", "C" => "c",
43
- "B" => "b", "A" => "a", "Å" => "å",
44
- "K" => "k", "Ω" => "ω", "Ώ" => "ώ",
45
- "·ø∫" => "·Ωº", "·øπ" => "·Ωπ", "·ø∏" => "·Ω∏",
46
- "·ø¨" => "·ø•", "·ø´" => "·Ωª", "·ø™" => "·Ω∫",
47
- "·ø©" => "·ø°", "·ø®" => "·ø ", "·øõ" => "·Ω∑",
48
- "·øö" => "·Ω∂", "·øô" => "·øë", "·øò" => "·øê",
49
- "·øã" => "·Ωµ", "·øä" => "·Ω¥", "·øâ" => "·Ω≥",
50
- "Ὲ" => "ὲ", "Ά" => "ά", "Ὰ" => "ὰ",
51
- "·æπ" => "·æ±", "·æ∏" => "·æ∞", "·ΩØ" => "·Ωß",
52
- "·ΩÆ" => "·Ω¶", "·Ω≠" => "·Ω•", "·Ω¨" => "·Ω§",
53
- "·Ω´" => "·Ω£", "·Ω™" => "·Ω¢", "·Ω©" => "·Ω°",
54
- "·Ω®" => "·Ω ", "·Ωü" => "·Ωó", "·Ωù" => "·Ωï",
55
- "·Ωõ" => "·Ωì", "·Ωô" => "·Ωë", "·Ωç" => "·ΩÖ",
56
- "·Ωå" => "·ΩÑ", "·Ωã" => "·ΩÉ", "·Ωä" => "·ΩÇ",
57
- "Ὁ" => "ὁ", "Ὀ" => "ὀ", "Ἷ" => "ἷ",
58
- "Ἶ" => "ἶ", "Ἵ" => "ἵ", "Ἴ" => "ἴ",
59
- "Ἳ" => "ἳ", "Ἲ" => "ἲ", "Ἱ" => "ἱ",
60
- "Ἰ" => "ἰ", "Ἧ" => "ἧ", "Ἦ" => "ἦ",
61
- "Ἥ" => "ἥ", "Ἤ" => "ἤ", "Ἣ" => "ἣ",
62
- "·º™" => "·º¢", "·º©" => "·º°", "·º®" => "·º ",
63
- "Ἕ" => "ἕ", "Ἔ" => "ἔ", "Ἓ" => "ἓ",
64
- "Ἒ" => "ἒ", "Ἑ" => "ἑ", "Ἐ" => "ἐ",
65
- "Ἇ" => "ἇ", "Ἆ" => "ἆ", "Ἅ" => "ἅ",
66
- "Ἄ" => "ἄ", "Ἃ" => "ἃ", "Ἂ" => "ἂ",
67
- "Ἁ" => "ἁ", "Ἀ" => "ἀ", "Ỹ" => "ỹ",
68
- "Ỷ" => "ỷ", "Ỵ" => "ỵ", "Ỳ" => "ỳ",
69
- "Ự" => "ự", "Ữ" => "ữ", "Ử" => "ử",
70
- "Ừ" => "ừ", "Ứ" => "ứ", "Ủ" => "ủ",
71
- "·ª§" => "·ª•", "·ª¢" => "·ª£", "·ª " => "·ª°",
72
- "Ở" => "ở", "Ờ" => "ờ", "Ớ" => "ớ",
73
- "Ộ" => "ộ", "Ỗ" => "ỗ", "Ổ" => "ổ",
74
- "Ồ" => "ồ", "Ố" => "ố", "Ỏ" => "ỏ",
75
- "Ọ" => "ọ", "Ị" => "ị", "Ỉ" => "ỉ",
76
- "Ệ" => "ệ", "Ễ" => "ễ", "Ể" => "ể",
77
- "Ề" => "ề", "Ế" => "ế", "Ẽ" => "ẽ",
78
- "Ẻ" => "ẻ", "Ẹ" => "ẹ", "Ặ" => "ặ",
79
- "·∫¥" => "·∫µ", "·∫≤" => "·∫≥", "·∫∞" => "·∫±",
80
- "Ắ" => "ắ", "Ậ" => "ậ", "Ẫ" => "ẫ",
81
- "Ẩ" => "ẩ", "Ầ" => "ầ", "Ấ" => "ấ",
82
- "·∫¢" => "·∫£", "·∫ " => "·∫°", "·∫î" => "·∫ï",
83
- "Ẓ" => "ẓ", "Ẑ" => "ẑ", "Ẏ" => "ẏ",
84
- "Ẍ" => "ẍ", "Ẋ" => "ẋ", "Ẉ" => "ẉ",
85
- "Ẇ" => "ẇ", "Ẅ" => "ẅ", "Ẃ" => "ẃ",
86
- "Ẁ" => "ẁ", "Ṿ" => "ṿ", "Ṽ" => "ṽ",
87
- "·π∫" => "·πª", "·π∏" => "·ππ", "·π∂" => "·π∑",
88
- "·π¥" => "·πµ", "·π≤" => "·π≥", "·π∞" => "·π±",
89
- "Ṯ" => "ṯ", "Ṭ" => "ṭ", "Ṫ" => "ṫ",
90
- "·π®" => "·π©", "·π¶" => "·πß", "·π§" => "·π•",
91
- "·π¢" => "·π£", "·π " => "·π°", "·πû" => "·πü",
92
- "·πú" => "·πù", "·πö" => "·πõ", "·πò" => "·πô",
93
- "·πñ" => "·πó", "·πî" => "·πï", "·πí" => "·πì",
94
- "·πê" => "·πë", "·πé" => "·πè", "·πå" => "·πç",
95
- "Ṋ" => "ṋ", "Ṉ" => "ṉ", "Ṇ" => "ṇ",
96
- "Ṅ" => "ṅ", "Ṃ" => "ṃ", "Ṁ" => "ṁ",
97
- "Ḿ" => "ḿ", "Ḽ" => "ḽ", "Ḻ" => "ḻ",
98
- "·∏∏" => "·∏π", "·∏∂" => "·∏∑", "·∏¥" => "·∏µ",
99
- "Ḳ" => "ḳ", "Ḱ" => "ḱ", "Ḯ" => "ḯ",
100
- "Ḭ" => "ḭ", "Ḫ" => "ḫ", "Ḩ" => "ḩ",
101
- "Ḧ" => "ḧ", "Ḥ" => "ḥ", "Ḣ" => "ḣ",
102
- "·∏ " => "·∏°", "·∏û" => "·∏ü", "·∏ú" => "·∏ù",
103
- "Ḛ" => "ḛ", "Ḙ" => "ḙ", "Ḗ" => "ḗ",
104
- "Ḕ" => "ḕ", "Ḓ" => "ḓ", "Ḑ" => "ḑ",
105
- "Ḏ" => "ḏ", "Ḍ" => "ḍ", "Ḋ" => "ḋ",
106
- "Ḉ" => "ḉ", "Ḇ" => "ḇ", "Ḅ" => "ḅ",
107
- "Ḃ" => "ḃ", "Ḁ" => "ḁ", "Ֆ" => "ֆ",
108
- "Օ" => "օ", "Ք" => "ք", "Փ" => "փ",
109
- "Ւ" => "ւ", "Ց" => "ց", "Ր" => "ր",
110
- "’è" => "’ø", "’é" => "’æ", "’ç" => "’Ω",
111
- "’å" => "’º", "’ã" => "’ª", "’ä" => "’∫",
112
- "’â" => "’π", "’à" => "’∏", "’á" => "’∑",
113
- "’Ü" => "’∂", "’Ö" => "’µ", "’Ñ" => "’¥",
114
- "’É" => "’≥", "’Ç" => "’≤", "’Å" => "’±",
115
- "’Ä" => "’∞", "‘ø" => "’Ø", "‘æ" => "’Æ",
116
- "Խ" => "խ", "Լ" => "լ", "Ի" => "ի",
117
- "‘∫" => "’™", "‘π" => "’©", "‘∏" => "’®",
118
- "‘∑" => "’ß", "‘∂" => "’¶", "‘µ" => "’•",
119
- "‘¥" => "’§", "‘≥" => "’£", "‘≤" => "’¢",
120
- "‘±" => "’°", "‘é" => "‘è", "‘å" => "‘ç",
121
- "‘ä" => "‘ã", "‘à" => "‘â", "‘Ü" => "‘á",
122
- "‘Ñ" => "‘Ö", "‘Ç" => "‘É", "‘Ä" => "‘Å",
123
- "Ӹ" => "ӹ", "Ӵ" => "ӵ", "Ӳ" => "ӳ",
124
- "Ӱ" => "ӱ", "Ӯ" => "ӯ", "Ӭ" => "ӭ",
125
- "Ӫ" => "ӫ", "Ө" => "ө", "Ӧ" => "ӧ",
126
- "”§" => "”•", "”¢" => "”£", "” " => "”°",
127
- "Ӟ" => "ӟ", "Ӝ" => "ӝ", "Ӛ" => "ӛ",
128
- "Ә" => "ә", "Ӗ" => "ӗ", "Ӕ" => "ӕ",
129
- "Ӓ" => "ӓ", "Ӑ" => "ӑ", "Ӎ" => "ӎ",
130
- "Ӌ" => "ӌ", "Ӊ" => "ӊ", "Ӈ" => "ӈ",
131
- "Ӆ" => "ӆ", "Ӄ" => "ӄ", "Ӂ" => "ӂ",
132
- "Ҿ" => "ҿ", "Ҽ" => "ҽ", "Һ" => "һ",
133
- "“∏" => "“π", "“∂" => "“∑", "“¥" => "“µ",
134
- "“≤" => "“≥", "“∞" => "“±", "“Æ" => "“Ø",
135
- "Ҭ" => "ҭ", "Ҫ" => "ҫ", "Ҩ" => "ҩ",
136
- "Ҧ" => "ҧ", "Ҥ" => "ҥ", "Ң" => "ң",
137
- "“ " => "“°", "“û" => "“ü", "“ú" => "“ù",
138
- "“ö" => "“õ", "“ò" => "“ô", "“ñ" => "“ó",
139
- "“î" => "“ï", "“í" => "“ì", "“ê" => "“ë",
140
- "“é" => "“è", "“å" => "“ç", "“ä" => "“ã",
141
- "“Ä" => "“Å", "—æ" => "—ø", "—º" => "—Ω",
142
- "—∫" => "—ª", "—∏" => "—π", "—∂" => "—∑",
143
- "—¥" => "—µ", "—≤" => "—≥", "—∞" => "—±",
144
- "—Æ" => "—Ø", "—¨" => "—≠", "—™" => "—´",
145
- "—®" => "—©", "—¶" => "—ß", "—§" => "—•",
146
- "—¢" => "—£", "— " => "—°", "–Ø" => "—è",
147
- "–Æ" => "—é", "–≠" => "—ç", "–¨" => "—å",
148
- "–´" => "—ã", "–™" => "—ä", "–©" => "—â",
149
- "–®" => "—à", "–ß" => "—á", "–¶" => "—Ü",
150
- "–•" => "—Ö", "–§" => "—Ñ", "–£" => "—É",
151
- "–¢" => "—Ç", "–°" => "—Å", "– " => "—Ä",
152
- "–ü" => "–ø", "–û" => "–æ", "–ù" => "–Ω",
153
- "–ú" => "–º", "–õ" => "–ª", "–ö" => "–∫",
154
- "–ô" => "–π", "–ò" => "–∏", "–ó" => "–∑",
155
- "–ñ" => "–∂", "–ï" => "–µ", "–î" => "–¥",
156
- "–ì" => "–≥", "–í" => "–≤", "–ë" => "–±",
157
- "–ê" => "–∞", "–è" => "—ü", "–é" => "—û",
158
- "–ç" => "—ù", "–å" => "—ú", "–ã" => "—õ",
159
- "–ä" => "—ö", "–â" => "—ô", "–à" => "—ò",
160
- "–á" => "—ó", "–Ü" => "—ñ", "–Ö" => "—ï",
161
- "–Ñ" => "—î", "–É" => "—ì", "–Ç" => "—í",
162
- "Ё" => "ё", "Ѐ" => "ѐ", "ϴ" => "θ",
163
- "Ϯ" => "ϯ", "Ϭ" => "ϭ", "Ϫ" => "ϫ",
164
- "Ϩ" => "ϩ", "Ϧ" => "ϧ", "Ϥ" => "ϥ",
165
- "œ¢" => "œ£", "œ " => "œ°", "œû" => "œü",
166
- "Ϝ" => "ϝ", "Ϛ" => "ϛ", "Ϙ" => "ϙ",
167
- "Ϋ" => "ϋ", "Ϊ" => "ϊ", "Ω" => "ω",
168
- "Ψ" => "ψ", "Χ" => "χ", "Φ" => "φ",
169
- "Υ" => "υ", "Τ" => "τ", "Σ" => "σ",
170
- "Œ°" => "œÅ", "Œ " => "œÄ", "Œü" => "Œø",
171
- "Ξ" => "ξ", "Ν" => "ν", "Μ" => "μ",
172
- "Λ" => "λ", "Κ" => "κ", "Ι" => "ι",
173
- "Θ" => "θ", "Η" => "η", "Ζ" => "ζ",
174
- "Ε" => "ε", "Δ" => "δ", "Γ" => "γ",
175
- "Β" => "β", "Α" => "α", "Ώ" => "ώ",
176
- "Ύ" => "ύ", "Ό" => "ό", "Ί" => "ί",
177
- "Ή" => "ή", "Έ" => "έ", "Ά" => "ά",
178
- "Ȳ" => "ȳ", "Ȱ" => "ȱ", "Ȯ" => "ȯ",
179
- "Ȭ" => "ȭ", "Ȫ" => "ȫ", "Ȩ" => "ȩ",
180
- "Ȧ" => "ȧ", "Ȥ" => "ȥ", "Ȣ" => "ȣ",
181
- "» " => "∆û", "»û" => "»ü", "»ú" => "»ù",
182
- "Ț" => "ț", "Ș" => "ș", "Ȗ" => "ȗ",
183
- "Ȕ" => "ȕ", "Ȓ" => "ȓ", "Ȑ" => "ȑ",
184
- "Ȏ" => "ȏ", "Ȍ" => "ȍ", "Ȋ" => "ȋ",
185
- "Ȉ" => "ȉ", "Ȇ" => "ȇ", "Ȅ" => "ȅ",
186
- "Ȃ" => "ȃ", "Ȁ" => "ȁ", "Ǿ" => "ǿ",
187
- "Ǽ" => "ǽ", "Ǻ" => "ǻ", "Ǹ" => "ǹ",
188
- "Ƿ" => "ƿ", "Ƕ" => "ƕ", "Ǵ" => "ǵ",
189
- "DZ" => "dz", "Ǯ" => "ǯ", "Ǭ" => "ǭ",
190
- "Ǫ" => "ǫ", "Ǩ" => "ǩ", "Ǧ" => "ǧ",
191
- "«§" => "«•", "«¢" => "«£", "« " => "«°",
192
- "«û" => "«ü", "«õ" => "«ú", "«ô" => "«ö",
193
- "«ó" => "«ò", "«ï" => "«ñ", "«ì" => "«î",
194
- "«ë" => "«í", "«è" => "«ê", "«ç" => "«é",
195
- "«ä" => "«å", "«á" => "«â", "«Ñ" => "«Ü",
196
- "Ƽ" => "ƽ", "Ƹ" => "ƹ", "Ʒ" => "ʒ",
197
- "∆µ" => "∆∂", "∆≥" => "∆¥", "∆≤" => " ã",
198
- "Ʊ" => "ʊ", "Ư" => "ư", "Ʈ" => "ʈ",
199
- "Ƭ" => "ƭ", "Ʃ" => "ʃ", "Ƨ" => "ƨ",
200
- "Ʀ" => "ʀ", "Ƥ" => "ƥ", "Ƣ" => "ƣ",
201
- "∆ " => "∆°", "∆ü" => "…µ", "∆ù" => "…≤",
202
- "∆ú" => "…Ø", "∆ò" => "∆ô", "∆ó" => "…®",
203
- "∆ñ" => "…©", "∆î" => "…£", "∆ì" => "… ",
204
- "Ƒ" => "ƒ", "Ɛ" => "ɛ", "Ə" => "ə",
205
- "Ǝ" => "ǝ", "Ƌ" => "ƌ", "Ɗ" => "ɗ",
206
- "Ɖ" => "ɖ", "Ƈ" => "ƈ", "Ɔ" => "ɔ",
207
- "Ƅ" => "ƅ", "Ƃ" => "ƃ", "Ɓ" => "ɓ",
208
- "Ž" => "ž", "Ż" => "ż", "Ź" => "ź",
209
- "Ÿ" => "ÿ", "Ŷ" => "ŷ", "Ŵ" => "ŵ",
210
- "Ų" => "ų", "Ű" => "ű", "Ů" => "ů",
211
- "Ŭ" => "ŭ", "Ū" => "ū", "Ũ" => "ũ",
212
- "Ŧ" => "ŧ", "Ť" => "ť", "Ţ" => "ţ",
213
- "≈ " => "≈°", "≈û" => "≈ü", "≈ú" => "≈ù",
214
- "Ś" => "ś", "Ř" => "ř", "Ŗ" => "ŗ",
215
- "Ŕ" => "ŕ", "Œ" => "œ", "Ő" => "ő",
216
- "Ŏ" => "ŏ", "Ō" => "ō", "Ŋ" => "ŋ",
217
- "Ň" => "ň", "Ņ" => "ņ", "Ń" => "ń",
218
- "Ł" => "ł", "Ŀ" => "ŀ", "Ľ" => "ľ",
219
- "Ļ" => "ļ", "Ĺ" => "ĺ", "Ķ" => "ķ",
220
- "Ĵ" => "ĵ", "IJ" => "ij", "İ" => "i",
221
- "Į" => "į", "Ĭ" => "ĭ", "Ī" => "ī",
222
- "Ĩ" => "ĩ", "Ħ" => "ħ", "Ĥ" => "ĥ",
223
- "ƒ¢" => "ƒ£", "ƒ " => "ƒ°", "ƒû" => "ƒü",
224
- "ƒú" => "ƒù", "ƒö" => "ƒõ", "ƒò" => "ƒô",
225
- "Ė" => "ė", "Ĕ" => "ĕ", "Ē" => "ē",
226
- "Đ" => "đ", "Ď" => "ď", "Č" => "č",
227
- "Ċ" => "ċ", "Ĉ" => "ĉ", "Ć" => "ć",
228
- "Ą" => "ą", "Ă" => "ă", "Ā" => "ā",
229
- "Þ" => "þ", "Ý" => "ý", "Ü" => "ü",
230
- "Û" => "û", "Ú" => "ú", "Ù" => "ù",
231
- "Ø" => "ø", "Ö" => "ö", "Õ" => "õ",
232
- "Ô" => "ô", "Ó" => "ó", "Ò" => "ò",
233
- "Ñ" => "ñ", "Ð" => "ð", "Ï" => "ï",
234
- "Î" => "î", "Í" => "í", "Ì" => "ì",
235
- "Ë" => "ë", "Ê" => "ê", "É" => "é",
236
- "È" => "è", "Ç" => "ç", "Æ" => "æ",
237
- "Å" => "å", "Ä" => "ä", "Ã" => "ã",
238
- "√Ç" => "√¢", "√Å" => "√°", "√Ä" => "√ ",
239
- "Z" => "z", "Y" => "y", "X" => "x",
240
- "W" => "w", "V" => "v", "U" => "u",
241
- "T" => "t", "S" => "s", "R" => "r",
242
- "Q" => "q", "P" => "p", "O" => "o",
243
- "N" => "n", "M" => "m", "L" => "l",
244
- "K" => "k", "J" => "j", "I" => "i",
245
- "H" => "h", "G" => "g", "F" => "f",
246
- "E" => "e", "D" => "d", "C" => "c",
247
- "B" => "b", "A" => "a",
248
- );
249
-
250
-
251
- $UTF8_TABLES['strtoupper'] = array(
252
- "z" => "Z", "y" => "Y", "x" => "X",
253
- "w" => "W", "v" => "V", "u" => "U",
254
- "t" => "T", "s" => "S", "r" => "R",
255
- "q" => "Q", "p" => "P", "o" => "O",
256
- "n" => "N", "m" => "M", "l" => "L",
257
- "k" => "K", "j" => "J", "i" => "I",
258
- "h" => "H", "g" => "G", "f" => "F",
259
- "e" => "E", "d" => "D", "c" => "C",
260
- "b" => "B", "a" => "A", "ῳ" => "ῼ",
261
- "·ø•" => "·ø¨", "·ø°" => "·ø©", "·ø " => "·ø®",
262
- "·øë" => "·øô", "·øê" => "·øò", "·øÉ" => "·øå",
263
- "ι" => "Ι", "ᾳ" => "ᾼ", "ᾱ" => "Ᾱ",
264
- "ᾰ" => "Ᾰ", "ᾧ" => "ᾯ", "ᾦ" => "ᾮ",
265
- "ᾥ" => "ᾭ", "ᾤ" => "ᾬ", "ᾣ" => "ᾫ",
266
- "·æ¢" => "·æ™", "·æ°" => "·æ©", "·æ " => "·æ®",
267
- "·æó" => "·æü", "·æñ" => "·æû", "·æï" => "·æù",
268
- "·æî" => "·æú", "·æì" => "·æõ", "·æí" => "·æö",
269
- "·æë" => "·æô", "·æê" => "·æò", "·æá" => "·æè",
270
- "ᾆ" => "ᾎ", "ᾅ" => "ᾍ", "ᾄ" => "ᾌ",
271
- "ᾃ" => "ᾋ", "ᾂ" => "ᾊ", "ᾁ" => "ᾉ",
272
- "ᾀ" => "ᾈ", "ώ" => "Ώ", "ὼ" => "Ὼ",
273
- "·Ωª" => "·ø´", "·Ω∫" => "·ø™", "·Ωπ" => "·øπ",
274
- "·Ω∏" => "·ø∏", "·Ω∑" => "·øõ", "·Ω∂" => "·øö",
275
- "·Ωµ" => "·øã", "·Ω¥" => "·øä", "·Ω≥" => "·øâ",
276
- "ὲ" => "Ὲ", "ά" => "Ά", "ὰ" => "Ὰ",
277
- "·Ωß" => "·ΩØ", "·Ω¶" => "·ΩÆ", "·Ω•" => "·Ω≠",
278
- "·Ω§" => "·Ω¨", "·Ω£" => "·Ω´", "·Ω¢" => "·Ω™",
279
- "·Ω°" => "·Ω©", "·Ω " => "·Ω®", "·Ωó" => "·Ωü",
280
- "·Ωï" => "·Ωù", "·Ωì" => "·Ωõ", "·Ωë" => "·Ωô",
281
- "·ΩÖ" => "·Ωç", "·ΩÑ" => "·Ωå", "·ΩÉ" => "·Ωã",
282
- "·ΩÇ" => "·Ωä", "·ΩÅ" => "·Ωâ", "·ΩÄ" => "·Ωà",
283
- "ἷ" => "Ἷ", "ἶ" => "Ἶ", "ἵ" => "Ἵ",
284
- "ἴ" => "Ἴ", "ἳ" => "Ἳ", "ἲ" => "Ἲ",
285
- "ἱ" => "Ἱ", "ἰ" => "Ἰ", "ἧ" => "Ἧ",
286
- "ἦ" => "Ἦ", "ἥ" => "Ἥ", "ἤ" => "Ἤ",
287
- "ἣ" => "Ἣ", "ἢ" => "Ἢ", "ἡ" => "Ἡ",
288
- "·º " => "·º®", "·ºï" => "·ºù", "·ºî" => "·ºú",
289
- "ἓ" => "Ἓ", "ἒ" => "Ἒ", "ἑ" => "Ἑ",
290
- "ἐ" => "Ἐ", "ἇ" => "Ἇ", "ἆ" => "Ἆ",
291
- "ἅ" => "Ἅ", "ἄ" => "Ἄ", "ἃ" => "Ἃ",
292
- "ἂ" => "Ἂ", "ἁ" => "Ἁ", "ἀ" => "Ἀ",
293
- "ỹ" => "Ỹ", "ỷ" => "Ỷ", "ỵ" => "Ỵ",
294
- "ỳ" => "Ỳ", "ự" => "Ự", "ữ" => "Ữ",
295
- "ử" => "Ử", "ừ" => "Ừ", "ứ" => "Ứ",
296
- "ủ" => "Ủ", "ụ" => "Ụ", "ợ" => "Ợ",
297
- "·ª°" => "·ª ", "·ªü" => "·ªû", "·ªù" => "·ªú",
298
- "ớ" => "Ớ", "ộ" => "Ộ", "ỗ" => "Ỗ",
299
- "ổ" => "Ổ", "ồ" => "Ồ", "ố" => "Ố",
300
- "ỏ" => "Ỏ", "ọ" => "Ọ", "ị" => "Ị",
301
- "ỉ" => "Ỉ", "ệ" => "Ệ", "ễ" => "Ễ",
302
- "ể" => "Ể", "ề" => "Ề", "ế" => "Ế",
303
- "ẽ" => "Ẽ", "ẻ" => "Ẻ", "ẹ" => "Ẹ",
304
- "·∫∑" => "·∫∂", "·∫µ" => "·∫¥", "·∫≥" => "·∫≤",
305
- "ằ" => "Ằ", "ắ" => "Ắ", "ậ" => "Ậ",
306
- "ẫ" => "Ẫ", "ẩ" => "Ẩ", "ầ" => "Ầ",
307
- "·∫•" => "·∫§", "·∫£" => "·∫¢", "·∫°" => "·∫ ",
308
- "·∫õ" => "·π ", "·∫ï" => "·∫î", "·∫ì" => "·∫í",
309
- "ẑ" => "Ẑ", "ẏ" => "Ẏ", "ẍ" => "Ẍ",
310
- "ẋ" => "Ẋ", "ẉ" => "Ẉ", "ẇ" => "Ẇ",
311
- "ẅ" => "Ẅ", "ẃ" => "Ẃ", "ẁ" => "Ẁ",
312
- "·πø" => "·πæ", "·πΩ" => "·πº", "·πª" => "·π∫",
313
- "·ππ" => "·π∏", "·π∑" => "·π∂", "·πµ" => "·π¥",
314
- "ṳ" => "Ṳ", "ṱ" => "Ṱ", "ṯ" => "Ṯ",
315
- "·π≠" => "·π¨", "·π´" => "·π™", "·π©" => "·π®",
316
- "·πß" => "·π¶", "·π•" => "·π§", "·π£" => "·π¢",
317
- "·π°" => "·π ", "·πü" => "·πû", "·πù" => "·πú",
318
- "·πõ" => "·πö", "·πô" => "·πò", "·πó" => "·πñ",
319
- "·πï" => "·πî", "·πì" => "·πí", "·πë" => "·πê",
320
- "·πè" => "·πé", "·πç" => "·πå", "·πã" => "·πä",
321
- "ṉ" => "Ṉ", "ṇ" => "Ṇ", "ṅ" => "Ṅ",
322
- "ṃ" => "Ṃ", "ṁ" => "Ṁ", "ḿ" => "Ḿ",
323
- "ḽ" => "Ḽ", "ḻ" => "Ḻ", "ḹ" => "Ḹ",
324
- "·∏∑" => "·∏∂", "·∏µ" => "·∏¥", "·∏≥" => "·∏≤",
325
- "ḱ" => "Ḱ", "ḯ" => "Ḯ", "ḭ" => "Ḭ",
326
- "ḫ" => "Ḫ", "ḩ" => "Ḩ", "ḧ" => "Ḧ",
327
- "·∏•" => "·∏§", "·∏£" => "·∏¢", "·∏°" => "·∏ ",
328
- "ḟ" => "Ḟ", "ḝ" => "Ḝ", "ḛ" => "Ḛ",
329
- "ḙ" => "Ḙ", "ḗ" => "Ḗ", "ḕ" => "Ḕ",
330
- "ḓ" => "Ḓ", "ḑ" => "Ḑ", "ḏ" => "Ḏ",
331
- "ḍ" => "Ḍ", "ḋ" => "Ḋ", "ḉ" => "Ḉ",
332
- "ḇ" => "Ḇ", "ḅ" => "Ḅ", "ḃ" => "Ḃ",
333
- "ḁ" => "Ḁ", "ֆ" => "Ֆ", "օ" => "Օ",
334
- "ք" => "Ք", "փ" => "Փ", "ւ" => "Ւ",
335
- "ց" => "Ց", "ր" => "Ր", "տ" => "Տ",
336
- "’æ" => "’é", "’Ω" => "’ç", "’º" => "’å",
337
- "’ª" => "’ã", "’∫" => "’ä", "’π" => "’â",
338
- "’∏" => "’à", "’∑" => "’á", "’∂" => "’Ü",
339
- "’µ" => "’Ö", "’¥" => "’Ñ", "’≥" => "’É",
340
- "’≤" => "’Ç", "’±" => "’Å", "’∞" => "’Ä",
341
- "’Ø" => "‘ø", "’Æ" => "‘æ", "’≠" => "‘Ω",
342
- "լ" => "Լ", "ի" => "Ի", "ժ" => "Ժ",
343
- "’©" => "‘π", "’®" => "‘∏", "’ß" => "‘∑",
344
- "’¶" => "‘∂", "’•" => "‘µ", "’§" => "‘¥",
345
- "’£" => "‘≥", "’¢" => "‘≤", "’°" => "‘±",
346
- "‘è" => "‘é", "‘ç" => "‘å", "‘ã" => "‘ä",
347
- "‘â" => "‘à", "‘á" => "‘Ü", "‘Ö" => "‘Ñ",
348
- "‘É" => "‘Ç", "‘Å" => "‘Ä", "”π" => "”∏",
349
- "ӵ" => "Ӵ", "ӳ" => "Ӳ", "ӱ" => "Ӱ",
350
- "ӯ" => "Ӯ", "ӭ" => "Ӭ", "ӫ" => "Ӫ",
351
- "ө" => "Ө", "ӧ" => "Ӧ", "ӥ" => "Ӥ",
352
- "”£" => "”¢", "”°" => "” ", "”ü" => "”û",
353
- "”ù" => "”ú", "”õ" => "”ö", "”ô" => "”ò",
354
- "ӗ" => "Ӗ", "ӕ" => "Ӕ", "ӓ" => "Ӓ",
355
- "ӑ" => "Ӑ", "ӎ" => "Ӎ", "ӌ" => "Ӌ",
356
- "ӊ" => "Ӊ", "ӈ" => "Ӈ", "ӆ" => "Ӆ",
357
- "ӄ" => "Ӄ", "ӂ" => "Ӂ", "ҿ" => "Ҿ",
358
- "ҽ" => "Ҽ", "һ" => "Һ", "ҹ" => "Ҹ",
359
- "“∑" => "“∂", "“µ" => "“¥", "“≥" => "“≤",
360
- "ұ" => "Ұ", "ү" => "Ү", "ҭ" => "Ҭ",
361
- "ҫ" => "Ҫ", "ҩ" => "Ҩ", "ҧ" => "Ҧ",
362
- "“•" => "“§", "“£" => "“¢", "“°" => "“ ",
363
- "“ü" => "“û", "“ù" => "“ú", "“õ" => "“ö",
364
- "“ô" => "“ò", "“ó" => "“ñ", "“ï" => "“î",
365
- "“ì" => "“í", "“ë" => "“ê", "“è" => "“é",
366
- "“ç" => "“å", "“ã" => "“ä", "“Å" => "“Ä",
367
- "—ø" => "—æ", "—Ω" => "—º", "—ª" => "—∫",
368
- "—π" => "—∏", "—∑" => "—∂", "—µ" => "—¥",
369
- "—≥" => "—≤", "—±" => "—∞", "—Ø" => "—Æ",
370
- "—≠" => "—¨", "—´" => "—™", "—©" => "—®",
371
- "—ß" => "—¶", "—•" => "—§", "—£" => "—¢",
372
- "—°" => "— ", "—ü" => "–è", "—û" => "–é",
373
- "—ù" => "–ç", "—ú" => "–å", "—õ" => "–ã",
374
- "—ö" => "–ä", "—ô" => "–â", "—ò" => "–à",
375
- "—ó" => "–á", "—ñ" => "–Ü", "—ï" => "–Ö",
376
- "—î" => "–Ñ", "—ì" => "–É", "—í" => "–Ç",
377
- "—ë" => "–Å", "—ê" => "–Ä", "—è" => "–Ø",
378
- "—é" => "–Æ", "—ç" => "–≠", "—å" => "–¨",
379
- "—ã" => "–´", "—ä" => "–™", "—â" => "–©",
380
- "—à" => "–®", "—á" => "–ß", "—Ü" => "–¶",
381
- "—Ö" => "–•", "—Ñ" => "–§", "—É" => "–£",
382
- "—Ç" => "–¢", "—Å" => "–°", "—Ä" => "– ",
383
- "–ø" => "–ü", "–æ" => "–û", "–Ω" => "–ù",
384
- "–º" => "–ú", "–ª" => "–õ", "–∫" => "–ö",
385
- "–π" => "–ô", "–∏" => "–ò", "–∑" => "–ó",
386
- "–∂" => "–ñ", "–µ" => "–ï", "–¥" => "–î",
387
- "–≥" => "–ì", "–≤" => "–í", "–±" => "–ë",
388
- "а" => "А", "ϵ" => "Ε", "ϲ" => "Σ",
389
- "ϱ" => "Ρ", "ϰ" => "Κ", "ϯ" => "Ϯ",
390
- "ϭ" => "Ϭ", "ϫ" => "Ϫ", "ϩ" => "Ϩ",
391
- "ϧ" => "Ϧ", "ϥ" => "Ϥ", "ϣ" => "Ϣ",
392
- "œ°" => "œ ", "œü" => "œû", "œù" => "œú",
393
- "œõ" => "œö", "œô" => "œò", "œñ" => "Œ ",
394
- "ϕ" => "Φ", "ϑ" => "Θ", "ϐ" => "Β",
395
- "ώ" => "Ώ", "ύ" => "Ύ", "ό" => "Ό",
396
- "ϋ" => "Ϋ", "ϊ" => "Ϊ", "ω" => "Ω",
397
- "ψ" => "Ψ", "χ" => "Χ", "φ" => "Φ",
398
- "υ" => "Υ", "τ" => "Τ", "σ" => "Σ",
399
- "œÇ" => "Œ£", "œÅ" => "Œ°", "œÄ" => "Œ ",
400
- "ο" => "Ο", "ξ" => "Ξ", "ν" => "Ν",
401
- "μ" => "Μ", "λ" => "Λ", "κ" => "Κ",
402
- "ι" => "Ι", "θ" => "Θ", "η" => "Η",
403
- "ζ" => "Ζ", "ε" => "Ε", "δ" => "Δ",
404
- "γ" => "Γ", "β" => "Β", "α" => "Α",
405
- "ί" => "Ί", "ή" => "Ή", "έ" => "Έ",
406
- "ά" => "Ά", "ʒ" => "Ʒ", "ʋ" => "Ʋ",
407
- "ʊ" => "Ʊ", "ʈ" => "Ʈ", "ʃ" => "Ʃ",
408
- "ʀ" => "Ʀ", "ɵ" => "Ɵ", "ɲ" => "Ɲ",
409
- "ɯ" => "Ɯ", "ɩ" => "Ɩ", "ɨ" => "Ɨ",
410
- "…£" => "∆î", "… " => "∆ì", "…õ" => "∆ê",
411
- "ə" => "Ə", "ɗ" => "Ɗ", "ɖ" => "Ɖ",
412
- "ɔ" => "Ɔ", "ɓ" => "Ɓ", "ȳ" => "Ȳ",
413
- "ȱ" => "Ȱ", "ȯ" => "Ȯ", "ȭ" => "Ȭ",
414
- "ȫ" => "Ȫ", "ȩ" => "Ȩ", "ȧ" => "Ȧ",
415
- "ȥ" => "Ȥ", "ȣ" => "Ȣ", "ȟ" => "Ȟ",
416
- "»ù" => "»ú", "»õ" => "»ö", "»ô" => "»ò",
417
- "ȗ" => "Ȗ", "ȕ" => "Ȕ", "ȓ" => "Ȓ",
418
- "ȑ" => "Ȑ", "ȏ" => "Ȏ", "ȍ" => "Ȍ",
419
- "ȋ" => "Ȋ", "ȉ" => "Ȉ", "ȇ" => "Ȇ",
420
- "ȅ" => "Ȅ", "ȃ" => "Ȃ", "ȁ" => "Ȁ",
421
- "ǿ" => "Ǿ", "ǽ" => "Ǽ", "ǻ" => "Ǻ",
422
- "«π" => "«∏", "«µ" => "«¥", "«≥" => "«≤",
423
- "ǯ" => "Ǯ", "ǭ" => "Ǭ", "ǫ" => "Ǫ",
424
- "ǩ" => "Ǩ", "ǧ" => "Ǧ", "ǥ" => "Ǥ",
425
- "«£" => "«¢", "«°" => "« ", "«ü" => "«û",
426
- "ǝ" => "Ǝ", "ǜ" => "Ǜ", "ǚ" => "Ǚ",
427
- "«ò" => "«ó", "«ñ" => "«ï", "«î" => "«ì",
428
- "«í" => "«ë", "«ê" => "«è", "«é" => "«ç",
429
- "«å" => "«ã", "«â" => "«à", "«Ü" => "«Ö",
430
- "ƿ" => "Ƿ", "ƽ" => "Ƽ", "ƹ" => "Ƹ",
431
- "ƶ" => "Ƶ", "ƴ" => "Ƴ", "ư" => "Ư",
432
- "ƭ" => "Ƭ", "ƨ" => "Ƨ", "ƥ" => "Ƥ",
433
- "∆£" => "∆¢", "∆°" => "∆ ", "∆û" => "» ",
434
- "ƙ" => "Ƙ", "ƕ" => "Ƕ", "ƒ" => "Ƒ",
435
- "ƌ" => "Ƌ", "ƈ" => "Ƈ", "ƅ" => "Ƅ",
436
- "ƃ" => "Ƃ", "ſ" => "S", "ž" => "Ž",
437
- "ż" => "Ż", "ź" => "Ź", "ŷ" => "Ŷ",
438
- "≈µ" => "≈¥", "≈≥" => "≈≤", "≈±" => "≈∞",
439
- "ů" => "Ů", "ŭ" => "Ŭ", "ū" => "Ū",
440
- "ũ" => "Ũ", "ŧ" => "Ŧ", "ť" => "Ť",
441
- "≈£" => "≈¢", "≈°" => "≈ ", "≈ü" => "≈û",
442
- "≈ù" => "≈ú", "≈õ" => "≈ö", "≈ô" => "≈ò",
443
- "ŗ" => "Ŗ", "ŕ" => "Ŕ", "œ" => "Œ",
444
- "ő" => "Ő", "ŏ" => "Ŏ", "ō" => "Ō",
445
- "ŋ" => "Ŋ", "ň" => "Ň", "ņ" => "Ņ",
446
- "ń" => "Ń", "ł" => "Ł", "ŀ" => "Ŀ",
447
- "ľ" => "Ľ", "ļ" => "Ļ", "ĺ" => "Ĺ",
448
- "ķ" => "Ķ", "ĵ" => "Ĵ", "ij" => "IJ",
449
- "ı" => "I", "į" => "Į", "ĭ" => "Ĭ",
450
- "ī" => "Ī", "ĩ" => "Ĩ", "ħ" => "Ħ",
451
- "ƒ•" => "ƒ§", "ƒ£" => "ƒ¢", "ƒ°" => "ƒ ",
452
- "ğ" => "Ğ", "ĝ" => "Ĝ", "ě" => "Ě",
453
- "ę" => "Ę", "ė" => "Ė", "ĕ" => "Ĕ",
454
- "ē" => "Ē", "đ" => "Đ", "ď" => "Ď",
455
- "č" => "Č", "ċ" => "Ċ", "ĉ" => "Ĉ",
456
- "ć" => "Ć", "ą" => "Ą", "ă" => "Ă",
457
- "ā" => "Ā", "ÿ" => "Ÿ", "þ" => "Þ",
458
- "ý" => "Ý", "ü" => "Ü", "û" => "Û",
459
- "√∫" => "√ö", "√π" => "√ô", "√∏" => "√ò",
460
- "ö" => "Ö", "õ" => "Õ", "ô" => "Ô",
461
- "ó" => "Ó", "ò" => "Ò", "ñ" => "Ñ",
462
- "ð" => "Ð", "ï" => "Ï", "î" => "Î",
463
- "í" => "Í", "ì" => "Ì", "ë" => "Ë",
464
- "ê" => "Ê", "é" => "É", "è" => "È",
465
- "ç" => "Ç", "æ" => "Æ", "å" => "Å",
466
- "ä" => "Ä", "ã" => "Ã", "â" => "Â",
467
- "√°" => "√Å", "√ " => "√Ä", "¬µ" => "Œú",
468
- "z" => "Z", "y" => "Y", "x" => "X",
469
- "w" => "W", "v" => "V", "u" => "U",
470
- "t" => "T", "s" => "S", "r" => "R",
471
- "q" => "Q", "p" => "P", "o" => "O",
472
- "n" => "N", "m" => "M", "l" => "L",
473
- "k" => "K", "j" => "J", "i" => "I",
474
- "h" => "H", "g" => "G", "f" => "F",
475
- "e" => "E", "d" => "D", "c" => "C",
476
- "b" => "B", "a" => "A",
477
- );
478
-
479
- if ( ! defined( 'WP_CONTENT_URL' ) )
480
- define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
481
- if ( ! defined( 'WP_CONTENT_DIR' ) )
482
- define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
483
- if ( ! defined( 'WP_PLUGIN_URL' ) )
484
- define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
485
- if ( ! defined( 'WP_PLUGIN_DIR' ) )
486
- define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
487
-
488
- require_once( WP_PLUGIN_DIR . '/all-in-one-seo-pack/aioseop.class.php');
489
-
490
- global $aioseop_options;
491
- $aioseop_options = get_option('aioseop_options');
492
-
493
- ////checking to see if things need to be updated
494
-
495
- if(isset($_POST['aioseop_migrate'])) aioseop_mrt_fix_meta();
496
- if(isset($_POST['aioseop_migrate_options'])) aioseop_mrt_mkarry();
497
- if(!get_option('aiosp_post_title_format') && !get_option('aioseop_options')) aioseop_mrt_mkarry();
498
-
499
- ////end checking to see if things need to be updated
500
-
501
- function aioseop_mrt_fix_meta(){
502
- global $wpdb;
503
- $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_keywords' WHERE meta_key = 'keywords'");
504
- $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_title' WHERE meta_key = 'title'");
505
- $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_description' WHERE meta_key = 'description'");
506
- $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_meta' WHERE meta_key = 'aiosp_meta'");
507
- $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_disable' WHERE meta_key = 'aiosp_disable'");
508
- echo "<div class='updated fade' style='background-color:green;border-color:green;'><p><strong>Updating SEO post meta in database.</strong></p></div";
509
- }
510
-
511
-
512
- $aioseopcc = 0;
513
-
514
-
515
- function aioseop_mrt_mkarry() {
516
- $naioseop_options = array(
517
- "aiosp_can"=>1,
518
- "aiosp_donate"=>0,
519
- "aiosp_home_title"=>null,
520
- "aiosp_home_description"=>'',
521
- "aiosp_home_keywords"=>null,
522
- "aiosp_max_words_excerpt"=>'something',
523
- "aiosp_rewrite_titles"=>1,
524
- "aiosp_post_title_format"=>'%post_title% | %blog_title%',
525
- "aiosp_page_title_format"=>'%page_title% | %blog_title%',
526
- "aiosp_category_title_format"=>'%category_title% | %blog_title%',
527
- "aiosp_archive_title_format"=>'%date% | %blog_title%',
528
- "aiosp_tag_title_format"=>'%tag% | %blog_title%',
529
- "aiosp_search_title_format"=>'%search% | %blog_title%',
530
- "aiosp_description_format"=>'%description%',
531
- "aiosp_404_title_format"=>'Nothing found for %request_words%',
532
- "aiosp_paged_format"=>' - Part %page%',
533
- "aiosp_google_analytics_id"=>null,
534
- "aiosp_ga_track_outbound_links"=>0,
535
- "aiosp_use_categories"=>0,
536
- "aiosp_dynamic_postspage_keywords"=>1,
537
- "aiosp_category_noindex"=>1,
538
- "aiosp_archive_noindex"=>1,
539
- "aiosp_tags_noindex"=>0,
540
- "aiosp_cap_cats"=>1,
541
- "aiosp_generate_descriptions"=>0,
542
- "aiosp_debug_info"=>null,
543
- "aiosp_post_meta_tags"=>'',
544
- "aiosp_page_meta_tags"=>'',
545
- "aiosp_home_meta_tags"=>'',
546
- "aiosp_enabled" =>0,
547
- "aiosp_enablecpost" => 0,
548
- "aiosp_use_tags_as_keywords" =>1,
549
- "aiosp_seopostcol" =>1,
550
- "aiosp_seocustptcol" => 0,
551
- "aiosp_posttypecolumns" => array('post','page'),
552
- "aiosp_do_log"=>null);
553
-
554
- if(get_option('aiosp_post_title_format')){
555
- foreach( $naioseop_options as $aioseop_opt_name => $value ) {
556
- if( $aioseop_oldval = get_option($aioseop_opt_name) ) {
557
- $naioseop_options[$aioseop_opt_name] = $aioseop_oldval;
558
-
559
- }
560
- if( $aioseop_oldval == ''){
561
- $naioseop_options[$aioseop_opt_name] = '';
562
- }
563
-
564
- delete_option($aioseop_opt_name);
565
- }
566
- }
567
-
568
- add_option('aioseop_options',$naioseop_options);
569
- echo "<div class='updated fade' style='background-color:green;border-color:green;'><p><strong>Updating SEO configuration options in database</strong></p></div";
570
-
571
- }
572
-
573
- function aioseop_activation_notice(){
574
- global $aioseop_options;
575
- echo '<div class="error fade" style="background-color:red;"><p><strong>All in One SEO Pack must be configured. Go to <a href="' . admin_url( 'options-general.php?page=all-in-one-seo-pack/aioseop.class.php' ) . '">the admin page</a> to enable and configure the plugin.</strong><br />All in One SEO Pack now supports <em>Custom Post Types</em>.</p></div>';
576
- }
577
-
578
- if($aioseopcc){
579
- if(aioseop_get_version() != trim(wp_remote_fopen('http://aioseoppro.semperfiwebdesign.com/version.html'))){
580
- add_action('after_plugin_row_all-in-one-seo-pack-pro/all_in_one_seo_pack.php', 'add_plugin_row', 10, 2);
581
- }
582
- }
583
-
584
- function aioseop_activate_pl(){
585
- if(get_option('aioseop_options')){
586
- $aioseop_options = get_option('aioseop_options');
587
- $aioseop_options['aiosp_enabled'] = "0";
588
-
589
- if(!$aioseop_options['aiosp_posttypecolumns']){
590
- $aioseop_options['aiosp_posttypecolumns'] = array('post','page');
591
- }
592
-
593
- update_option('aioseop_options',$aioseop_options);
594
- }
595
- }
596
-
597
- if($aioseop_options['aiosp_can'] == '1' || $aioseop_options['aiosp_can'] == 'on'){
598
- remove_action( 'wp_head', 'rel_canonical' );
599
- }
600
-
601
- function aioseop_get_version(){
602
- return '1.6.13.5';
603
- }
604
-
605
- function add_plugin_row($links, $file) {
606
-
607
- echo '<td colspan="5" style="background-color:yellow;">';
608
- echo wp_remote_fopen('http://aioseoppro.semperfiwebdesign.com/');
609
- echo '</td>';
610
-
611
- }
612
-
613
- $aiosp = new All_in_One_SEO_Pack();
614
-
615
- ////////new stuff
616
-
617
- function mys($col, $type){
618
-
619
- ?>
620
-
621
-
622
- <fieldset class="inline-edit-col-right"><div class="inline-edit-col">
623
- <div class="inline-edit-group">
624
- <label class="alignleft">
625
- <input type="checkbox" value="1" name="aioseops" id="aioseos_check">
626
- <span class="checkbox-title">stuff</span>
627
- </label>
628
- </div>
629
- </fieldset>
630
- <?php
631
- }
632
-
633
-
634
- add_action('load-edit.php','addmycolumns',1);
635
-
636
- function addmycolumns(){
637
- $aioseop_options = get_option('aioseop_options');
638
- $aiosp_posttypecolumns = $aioseop_options['aiosp_posttypecolumns'];
639
-
640
- if ( !isset($_GET['post_type']) ) $post_type = 'post';
641
- else $post_type = $_GET['post_type'];
642
-
643
-
644
- if(is_array($aiosp_posttypecolumns) && in_array($post_type,$aiosp_posttypecolumns)) {
645
- if($post_type == 'page'){
646
- add_action('manage_pages_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
647
- add_filter('manage_pages_columns', 'aioseop_mrt_pcolumns');
648
-
649
- }else{
650
- add_action('manage_posts_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
651
- add_filter('manage_posts_columns', 'aioseop_mrt_pcolumns');
652
- }
653
- }
654
-
655
- }
656
-
657
-
658
- function aioseop_mrt_pcolumns($aioseopc) {
659
- $aioseopc['seotitle'] = __('SEO Title');
660
- $aioseopc['seokeywords'] = __('SEO Keywords');
661
- $aioseopc['seodesc'] = __('SEO Description');
662
- return $aioseopc;
663
- }
664
-
665
- function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
666
- if( $aioseopcn == 'seotitle' ) {
667
- echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_title',TRUE)));
668
- }
669
- if( $aioseopcn == 'seokeywords' ) {
670
- echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_keywords',TRUE)));
671
- }
672
- if( $aioseopcn == 'seodesc' ) {
673
- echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_description',TRUE)));
674
- }
675
-
676
- }
677
-
678
-
679
- ///////end new stuff
680
- add_filter('wp_list_pages', 'aioseop_list_pages');
681
- add_action('edit_post', array($aiosp, 'post_meta_tags'));
682
- add_action('publish_post', array($aiosp, 'post_meta_tags'));
683
- add_action('save_post', array($aiosp, 'post_meta_tags'));
684
- add_action('edit_page_form', array($aiosp, 'post_meta_tags'));
685
- add_action('init', array($aiosp, 'init'));
686
- add_action('wp_head', array($aiosp, 'wp_head'));
687
- add_action('template_redirect', array($aiosp, 'template_redirect'));
688
- add_action('admin_menu', array($aiosp, 'admin_menu'));
689
- add_action('admin_menu', 'aioseop_meta_box_add');
690
- add_action('admin_menu', 'aioseop_mrt_nap');
691
-
692
- function aioseop_mrt_nap(){
693
- add_submenu_page("__FILE__", 'Settings', 'Settings', 'manage_options', '__FILE__', 'aioseop_mrt_nap_menu2a');
694
- add_submenu_page("__FILE__", 'Tools', 'Tools', 'manage_options', 'subpageb', 'aioseop_mrt_nap_menu2b');
695
- }
696
-
697
- function aioseop_mrt_nap_menu(){
698
- echo "hi";
699
-
700
- }
701
-
702
- function aioseop_mrt_nap_menu2a(){
703
- echo "here1";
704
- }
705
-
706
- function aioseop_mrt_nap_menu2b(){
707
- echo "here2";
708
- }
709
-
710
- if( ($_POST['aiosp_enabled'] == null && $aioseop_options['aiosp_enabled']!='1') || $_POST['aiosp_enabled']=='0'){
711
- add_action( 'admin_notices', 'aioseop_activation_notice');
712
- }
713
-
714
-
715
- // The following two functions are GPLed from Sarah G's Page Menu Editor, http://wordpress.org/extend/plugins/page-menu-editor/.
716
- function aioseop_list_pages($content){
717
- $matches = array();
718
- if (preg_match_all('/<li class="page_item page-item-(\d+)/i', $content, $matches)) {
719
- update_postmeta_cache(array_values($matches[1]));
720
- unset($matches);
721
- $pattern = '/<li class="page_item page-item-(\d+)([^\"]*)"><a href=\"([^\"]+)" title="([^\"]+)">([^<]+)<\/a>/i';
722
- return preg_replace_callback($pattern, "aioseop_filter_callback", $content);
723
- }
724
- return $content;
725
- }
726
-
727
- function aioseop_filter_callback($matches) {
728
- global $wpdb;
729
- if ($matches[1] && !empty($matches[1])) $postID = $matches[1];
730
- if (empty($postID)) $postID = get_option("page_on_front");
731
- $title_attrib = stripslashes(get_post_meta($postID, '_aioseop_titleatr', true));
732
- $menulabel = stripslashes(get_post_meta($postID, '_aioseop_menulabel', true));
733
- if (empty($menulabel)) $menulabel = $matches[4];
734
- if (!empty($title_attrib)) :
735
- $filtered = '<li class="page_item page-item-'.$postID.$matches[2].'"><a href="'.$matches[3].'" title="'.$title_attrib.'">'.$menulabel.'</a>';
736
- else :
737
- $filtered = '<li class="page_item page-item-'.$postID.$matches[2].'"><a href="'.$matches[3].'" title="'.$matches[4].'">'.$menulabel.'</a>';
738
- endif;
739
- return $filtered;
740
- }
741
-
742
- function aioseop_meta_box_add() {
743
- $mrt_aioseop_pts=get_post_types('','names');
744
- $aioseop_options = get_option('aioseop_options');
745
- $aioseop_mrt_cpt = $aioseop_options['aiosp_enablecpost'];
746
- foreach ($mrt_aioseop_pts as $mrt_aioseop_pt) {
747
- if($mrt_aioseop_pt == 'post' || $mrt_aioseop_pt == 'page' || $aioseop_mrt_cpt){
748
- add_meta_box('aiosp',__('All in One SEO Pack', 'all_in_one_seo_pack'),'aiosp_meta',$mrt_aioseop_pt);
749
- }
750
- }
751
- }
752
-
753
- function aiosp_meta() {
754
- global $post;
755
- $post_id = $post;
756
- if (is_object($post_id)) $post_id = $post_id->ID;
757
- $keywords = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_keywords', true)));
758
- $title = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_title', true)));
759
- $description = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_description', true)));
760
- $aiosp_meta = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aiosp_meta', true)));
761
- $aiosp_disable = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_disable', true)));
762
- $aiosp_titleatr = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_titleatr', true)));
763
- $aiosp_menulabel = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_menulabel', true)));
764
- ?>
765
- <SCRIPT LANGUAGE="JavaScript">
766
- <!-- Begin
767
- function countChars(field,cntfield) {
768
- cntfield.value = field.value.length;
769
- }
770
- // End -->
771
- </script>
772
- <input value="aiosp_edit" type="hidden" name="aiosp_edit" />
773
-
774
- <a target="__blank" href="http://semperfiwebdesign.com/forum/"><?php _e('Click here for Support', 'all_in_one_seo_pack') ?></a>
775
- <table style="margin-bottom:40px">
776
- <tr>
777
- <th style="text-align:left;" colspan="2">
778
- </th>
779
- </tr>
780
-
781
- <tr>
782
- <th scope="row" style="text-align:right;"><?php _e('Title:', 'all_in_one_seo_pack') ?></th>
783
- <td><input value="<?php echo $title ?>" type="text" name="aiosp_title" size="62" onKeyDown="countChars(document.post.aiosp_title,document.post.lengthT)" onKeyUp="countChars(document.post.aiosp_title,document.post.lengthT)"/><br />
784
- <input readonly type="text" name="lengthT" size="3" maxlength="3" style="text-align:center;" value="<?php echo strlen($title);?>" />
785
- <?php _e(' characters. Most search engines use a maximum of 60 chars for the title.', 'all_in_one_seo_pack') ?>
786
- </td>
787
- </tr>
788
-
789
- <tr>
790
- <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
791
- <td><textarea name="aiosp_description" rows="3" cols="60"
792
- onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
793
- onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br />
794
- <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
795
- <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
796
- </td>
797
- </tr>
798
-
799
- <tr>
800
- <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
801
- <td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
802
- </tr>
803
- <input type="hidden" name="nonce-aioseop-edit" value="<?php echo wp_create_nonce('edit-aioseop-nonce') ?>" />
804
- <?php if($post->post_type=='page'){ ?>
805
- <tr>
806
- <th scope="row" style="text-align:right;"><?php _e('Title Attribute:', 'all_in_one_seo_pack') ?></th>
807
- <td><input value="<?php echo $aiosp_titleatr ?>" type="text" name="aiosp_titleatr" size="62"/></td>
808
- </tr>
809
-
810
- <tr>
811
- <th scope="row" style="text-align:right;"><?php _e('Menu Label:', 'all_in_one_seo_pack') ?></th>
812
- <td><input value="<?php echo $aiosp_menulabel ?>" type="text" name="aiosp_menulabel" size="62"/></td>
813
- </tr>
814
- <?php } ?>
815
- <tr>
816
- <th scope="row" style="text-align:right; vertical-align:top;">
817
- <?php _e('Disable on this page/post:', 'all_in_one_seo_pack')?>
818
- </th>
819
- <td>
820
- <input type="checkbox" name="aiosp_disable" <?php if ($aiosp_disable) echo "checked=\"1\""; ?>/>
821
- </td>
822
- </tr>
823
- </table>
824
- <?php
825
- }
826
- ?>
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ /*
5
+ Plugin Name: All in One SEO Pack
6
+ Plugin URI: http://semperfiwebdesign.com
7
+ Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
8
+ Version: 1.6.13.6
9
+ Author: Michael Torbert
10
+ Author URI: http://michaeltorbert.com
11
+ */
12
+
13
+ /*
14
+ Copyright (C) 2008-2009 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)
15
+ Original code by uberdose of uberdose.com
16
+
17
+ This program is free software; you can redistribute it and/or modify
18
+ it under the terms of the GNU General Public License as published by
19
+ the Free Software Foundation; either version 3 of the License, or
20
+ (at your option) any later version.
21
+
22
+ This program is distributed in the hope that it will be useful,
23
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ GNU General Public License for more details.
26
+
27
+ You should have received a copy of the GNU General Public License
28
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
29
+ */
30
+
31
+ /*******************************************************************************************************/
32
+ //register_activation_hook(__FILE__,'aioseop_activate_pl');
33
+
34
+ $UTF8_TABLES['strtolower'] = array(
35
+ "Z" => "z", "Y" => "y", "X" => "x",
36
+ "W" => "w", "V" => "v", "U" => "u",
37
+ "T" => "t", "S" => "s", "R" => "r",
38
+ "Q" => "q", "P" => "p", "O" => "o",
39
+ "N" => "n", "M" => "m", "L" => "l",
40
+ "K" => "k", "J" => "j", "I" => "i",
41
+ "H" => "h", "G" => "g", "F" => "f",
42
+ "E" => "e", "D" => "d", "C" => "c",
43
+ "B" => "b", "A" => "a", "Å" => "å",
44
+ "K" => "k", "Ω" => "ω", "Ώ" => "ώ",
45
+ "·ø∫" => "·Ωº", "·øπ" => "·Ωπ", "·ø∏" => "·Ω∏",
46
+ "·ø¨" => "·ø•", "·ø´" => "·Ωª", "·ø™" => "·Ω∫",
47
+ "·ø©" => "·ø°", "·ø®" => "·ø ", "·øõ" => "·Ω∑",
48
+ "·øö" => "·Ω∂", "·øô" => "·øë", "·øò" => "·øê",
49
+ "·øã" => "·Ωµ", "·øä" => "·Ω¥", "·øâ" => "·Ω≥",
50
+ "Ὲ" => "ὲ", "Ά" => "ά", "Ὰ" => "ὰ",
51
+ "·æπ" => "·æ±", "·æ∏" => "·æ∞", "·ΩØ" => "·Ωß",
52
+ "·ΩÆ" => "·Ω¶", "·Ω≠" => "·Ω•", "·Ω¨" => "·Ω§",
53
+ "·Ω´" => "·Ω£", "·Ω™" => "·Ω¢", "·Ω©" => "·Ω°",
54
+ "·Ω®" => "·Ω ", "·Ωü" => "·Ωó", "·Ωù" => "·Ωï",
55
+ "·Ωõ" => "·Ωì", "·Ωô" => "·Ωë", "·Ωç" => "·ΩÖ",
56
+ "·Ωå" => "·ΩÑ", "·Ωã" => "·ΩÉ", "·Ωä" => "·ΩÇ",
57
+ "Ὁ" => "ὁ", "Ὀ" => "ὀ", "Ἷ" => "ἷ",
58
+ "Ἶ" => "ἶ", "Ἵ" => "ἵ", "Ἴ" => "ἴ",
59
+ "Ἳ" => "ἳ", "Ἲ" => "ἲ", "Ἱ" => "ἱ",
60
+ "Ἰ" => "ἰ", "Ἧ" => "ἧ", "Ἦ" => "ἦ",
61
+ "Ἥ" => "ἥ", "Ἤ" => "ἤ", "Ἣ" => "ἣ",
62
+ "·º™" => "·º¢", "·º©" => "·º°", "·º®" => "·º ",
63
+ "Ἕ" => "ἕ", "Ἔ" => "ἔ", "Ἓ" => "ἓ",
64
+ "Ἒ" => "ἒ", "Ἑ" => "ἑ", "Ἐ" => "ἐ",
65
+ "Ἇ" => "ἇ", "Ἆ" => "ἆ", "Ἅ" => "ἅ",
66
+ "Ἄ" => "ἄ", "Ἃ" => "ἃ", "Ἂ" => "ἂ",
67
+ "Ἁ" => "ἁ", "Ἀ" => "ἀ", "Ỹ" => "ỹ",
68
+ "Ỷ" => "ỷ", "Ỵ" => "ỵ", "Ỳ" => "ỳ",
69
+ "Ự" => "ự", "Ữ" => "ữ", "Ử" => "ử",
70
+ "Ừ" => "ừ", "Ứ" => "ứ", "Ủ" => "ủ",
71
+ "·ª§" => "·ª•", "·ª¢" => "·ª£", "·ª " => "·ª°",
72
+ "Ở" => "ở", "Ờ" => "ờ", "Ớ" => "ớ",
73
+ "Ộ" => "ộ", "Ỗ" => "ỗ", "Ổ" => "ổ",
74
+ "Ồ" => "ồ", "Ố" => "ố", "Ỏ" => "ỏ",
75
+ "Ọ" => "ọ", "Ị" => "ị", "Ỉ" => "ỉ",
76
+ "Ệ" => "ệ", "Ễ" => "ễ", "Ể" => "ể",
77
+ "Ề" => "ề", "Ế" => "ế", "Ẽ" => "ẽ",
78
+ "Ẻ" => "ẻ", "Ẹ" => "ẹ", "Ặ" => "ặ",
79
+ "·∫¥" => "·∫µ", "·∫≤" => "·∫≥", "·∫∞" => "·∫±",
80
+ "Ắ" => "ắ", "Ậ" => "ậ", "Ẫ" => "ẫ",
81
+ "Ẩ" => "ẩ", "Ầ" => "ầ", "Ấ" => "ấ",
82
+ "·∫¢" => "·∫£", "·∫ " => "·∫°", "·∫î" => "·∫ï",
83
+ "Ẓ" => "ẓ", "Ẑ" => "ẑ", "Ẏ" => "ẏ",
84
+ "Ẍ" => "ẍ", "Ẋ" => "ẋ", "Ẉ" => "ẉ",
85
+ "Ẇ" => "ẇ", "Ẅ" => "ẅ", "Ẃ" => "ẃ",
86
+ "Ẁ" => "ẁ", "Ṿ" => "ṿ", "Ṽ" => "ṽ",
87
+ "·π∫" => "·πª", "·π∏" => "·ππ", "·π∂" => "·π∑",
88
+ "·π¥" => "·πµ", "·π≤" => "·π≥", "·π∞" => "·π±",
89
+ "Ṯ" => "ṯ", "Ṭ" => "ṭ", "Ṫ" => "ṫ",
90
+ "·π®" => "·π©", "·π¶" => "·πß", "·π§" => "·π•",
91
+ "·π¢" => "·π£", "·π " => "·π°", "·πû" => "·πü",
92
+ "·πú" => "·πù", "·πö" => "·πõ", "·πò" => "·πô",
93
+ "·πñ" => "·πó", "·πî" => "·πï", "·πí" => "·πì",
94
+ "·πê" => "·πë", "·πé" => "·πè", "·πå" => "·πç",
95
+ "Ṋ" => "ṋ", "Ṉ" => "ṉ", "Ṇ" => "ṇ",
96
+ "Ṅ" => "ṅ", "Ṃ" => "ṃ", "Ṁ" => "ṁ",
97
+ "Ḿ" => "ḿ", "Ḽ" => "ḽ", "Ḻ" => "ḻ",
98
+ "·∏∏" => "·∏π", "·∏∂" => "·∏∑", "·∏¥" => "·∏µ",
99
+ "Ḳ" => "ḳ", "Ḱ" => "ḱ", "Ḯ" => "ḯ",
100
+ "Ḭ" => "ḭ", "Ḫ" => "ḫ", "Ḩ" => "ḩ",
101
+ "Ḧ" => "ḧ", "Ḥ" => "ḥ", "Ḣ" => "ḣ",
102
+ "·∏ " => "·∏°", "·∏û" => "·∏ü", "·∏ú" => "·∏ù",
103
+ "Ḛ" => "ḛ", "Ḙ" => "ḙ", "Ḗ" => "ḗ",
104
+ "Ḕ" => "ḕ", "Ḓ" => "ḓ", "Ḑ" => "ḑ",
105
+ "Ḏ" => "ḏ", "Ḍ" => "ḍ", "Ḋ" => "ḋ",
106
+ "Ḉ" => "ḉ", "Ḇ" => "ḇ", "Ḅ" => "ḅ",
107
+ "Ḃ" => "ḃ", "Ḁ" => "ḁ", "Ֆ" => "ֆ",
108
+ "Օ" => "օ", "Ք" => "ք", "Փ" => "փ",
109
+ "Ւ" => "ւ", "Ց" => "ց", "Ր" => "ր",
110
+ "’è" => "’ø", "’é" => "’æ", "’ç" => "’Ω",
111
+ "’å" => "’º", "’ã" => "’ª", "’ä" => "’∫",
112
+ "’â" => "’π", "’à" => "’∏", "’á" => "’∑",
113
+ "’Ü" => "’∂", "’Ö" => "’µ", "’Ñ" => "’¥",
114
+ "’É" => "’≥", "’Ç" => "’≤", "’Å" => "’±",
115
+ "’Ä" => "’∞", "‘ø" => "’Ø", "‘æ" => "’Æ",
116
+ "Խ" => "խ", "Լ" => "լ", "Ի" => "ի",
117
+ "‘∫" => "’™", "‘π" => "’©", "‘∏" => "’®",
118
+ "‘∑" => "’ß", "‘∂" => "’¶", "‘µ" => "’•",
119
+ "‘¥" => "’§", "‘≥" => "’£", "‘≤" => "’¢",
120
+ "‘±" => "’°", "‘é" => "‘è", "‘å" => "‘ç",
121
+ "‘ä" => "‘ã", "‘à" => "‘â", "‘Ü" => "‘á",
122
+ "‘Ñ" => "‘Ö", "‘Ç" => "‘É", "‘Ä" => "‘Å",
123
+ "Ӹ" => "ӹ", "Ӵ" => "ӵ", "Ӳ" => "ӳ",
124
+ "Ӱ" => "ӱ", "Ӯ" => "ӯ", "Ӭ" => "ӭ",
125
+ "Ӫ" => "ӫ", "Ө" => "ө", "Ӧ" => "ӧ",
126
+ "”§" => "”•", "”¢" => "”£", "” " => "”°",
127
+ "Ӟ" => "ӟ", "Ӝ" => "ӝ", "Ӛ" => "ӛ",
128
+ "Ә" => "ә", "Ӗ" => "ӗ", "Ӕ" => "ӕ",
129
+ "Ӓ" => "ӓ", "Ӑ" => "ӑ", "Ӎ" => "ӎ",
130
+ "Ӌ" => "ӌ", "Ӊ" => "ӊ", "Ӈ" => "ӈ",
131
+ "Ӆ" => "ӆ", "Ӄ" => "ӄ", "Ӂ" => "ӂ",
132
+ "Ҿ" => "ҿ", "Ҽ" => "ҽ", "Һ" => "һ",
133
+ "“∏" => "“π", "“∂" => "“∑", "“¥" => "“µ",
134
+ "“≤" => "“≥", "“∞" => "“±", "“Æ" => "“Ø",
135
+ "Ҭ" => "ҭ", "Ҫ" => "ҫ", "Ҩ" => "ҩ",
136
+ "Ҧ" => "ҧ", "Ҥ" => "ҥ", "Ң" => "ң",
137
+ "“ " => "“°", "“û" => "“ü", "“ú" => "“ù",
138
+ "“ö" => "“õ", "“ò" => "“ô", "“ñ" => "“ó",
139
+ "“î" => "“ï", "“í" => "“ì", "“ê" => "“ë",
140
+ "“é" => "“è", "“å" => "“ç", "“ä" => "“ã",
141
+ "“Ä" => "“Å", "—æ" => "—ø", "—º" => "—Ω",
142
+ "—∫" => "—ª", "—∏" => "—π", "—∂" => "—∑",
143
+ "—¥" => "—µ", "—≤" => "—≥", "—∞" => "—±",
144
+ "—Æ" => "—Ø", "—¨" => "—≠", "—™" => "—´",
145
+ "—®" => "—©", "—¶" => "—ß", "—§" => "—•",
146
+ "—¢" => "—£", "— " => "—°", "–Ø" => "—è",
147
+ "–Æ" => "—é", "–≠" => "—ç", "–¨" => "—å",
148
+ "–´" => "—ã", "–™" => "—ä", "–©" => "—â",
149
+ "–®" => "—à", "–ß" => "—á", "–¶" => "—Ü",
150
+ "–•" => "—Ö", "–§" => "—Ñ", "–£" => "—É",
151
+ "–¢" => "—Ç", "–°" => "—Å", "– " => "—Ä",
152
+ "–ü" => "–ø", "–û" => "–æ", "–ù" => "–Ω",
153
+ "–ú" => "–º", "–õ" => "–ª", "–ö" => "–∫",
154
+ "–ô" => "–π", "–ò" => "–∏", "–ó" => "–∑",
155
+ "–ñ" => "–∂", "–ï" => "–µ", "–î" => "–¥",
156
+ "–ì" => "–≥", "–í" => "–≤", "–ë" => "–±",
157
+ "–ê" => "–∞", "–è" => "—ü", "–é" => "—û",
158
+ "–ç" => "—ù", "–å" => "—ú", "–ã" => "—õ",
159
+ "–ä" => "—ö", "–â" => "—ô", "–à" => "—ò",
160
+ "–á" => "—ó", "–Ü" => "—ñ", "–Ö" => "—ï",
161
+ "–Ñ" => "—î", "–É" => "—ì", "–Ç" => "—í",
162
+ "Ё" => "ё", "Ѐ" => "ѐ", "ϴ" => "θ",
163
+ "Ϯ" => "ϯ", "Ϭ" => "ϭ", "Ϫ" => "ϫ",
164
+ "Ϩ" => "ϩ", "Ϧ" => "ϧ", "Ϥ" => "ϥ",
165
+ "œ¢" => "œ£", "œ " => "œ°", "œû" => "œü",
166
+ "Ϝ" => "ϝ", "Ϛ" => "ϛ", "Ϙ" => "ϙ",
167
+ "Ϋ" => "ϋ", "Ϊ" => "ϊ", "Ω" => "ω",
168
+ "Ψ" => "ψ", "Χ" => "χ", "Φ" => "φ",
169
+ "Υ" => "υ", "Τ" => "τ", "Σ" => "σ",
170
+ "Œ°" => "œÅ", "Œ " => "œÄ", "Œü" => "Œø",
171
+ "Ξ" => "ξ", "Ν" => "ν", "Μ" => "μ",
172
+ "Λ" => "λ", "Κ" => "κ", "Ι" => "ι",
173
+ "Θ" => "θ", "Η" => "η", "Ζ" => "ζ",
174
+ "Ε" => "ε", "Δ" => "δ", "Γ" => "γ",
175
+ "Β" => "β", "Α" => "α", "Ώ" => "ώ",
176
+ "Ύ" => "ύ", "Ό" => "ό", "Ί" => "ί",
177
+ "Ή" => "ή", "Έ" => "έ", "Ά" => "ά",
178
+ "Ȳ" => "ȳ", "Ȱ" => "ȱ", "Ȯ" => "ȯ",
179
+ "Ȭ" => "ȭ", "Ȫ" => "ȫ", "Ȩ" => "ȩ",
180
+ "Ȧ" => "ȧ", "Ȥ" => "ȥ", "Ȣ" => "ȣ",
181
+ "» " => "∆û", "»û" => "»ü", "»ú" => "»ù",
182
+ "Ț" => "ț", "Ș" => "ș", "Ȗ" => "ȗ",
183
+ "Ȕ" => "ȕ", "Ȓ" => "ȓ", "Ȑ" => "ȑ",
184
+ "Ȏ" => "ȏ", "Ȍ" => "ȍ", "Ȋ" => "ȋ",
185
+ "Ȉ" => "ȉ", "Ȇ" => "ȇ", "Ȅ" => "ȅ",
186
+ "Ȃ" => "ȃ", "Ȁ" => "ȁ", "Ǿ" => "ǿ",
187
+ "Ǽ" => "ǽ", "Ǻ" => "ǻ", "Ǹ" => "ǹ",
188
+ "Ƿ" => "ƿ", "Ƕ" => "ƕ", "Ǵ" => "ǵ",
189
+ "DZ" => "dz", "Ǯ" => "ǯ", "Ǭ" => "ǭ",
190
+ "Ǫ" => "ǫ", "Ǩ" => "ǩ", "Ǧ" => "ǧ",
191
+ "«§" => "«•", "«¢" => "«£", "« " => "«°",
192
+ "«û" => "«ü", "«õ" => "«ú", "«ô" => "«ö",
193
+ "«ó" => "«ò", "«ï" => "«ñ", "«ì" => "«î",
194
+ "«ë" => "«í", "«è" => "«ê", "«ç" => "«é",
195
+ "«ä" => "«å", "«á" => "«â", "«Ñ" => "«Ü",
196
+ "Ƽ" => "ƽ", "Ƹ" => "ƹ", "Ʒ" => "ʒ",
197
+ "∆µ" => "∆∂", "∆≥" => "∆¥", "∆≤" => " ã",
198
+ "Ʊ" => "ʊ", "Ư" => "ư", "Ʈ" => "ʈ",
199
+ "Ƭ" => "ƭ", "Ʃ" => "ʃ", "Ƨ" => "ƨ",
200
+ "Ʀ" => "ʀ", "Ƥ" => "ƥ", "Ƣ" => "ƣ",
201
+ "∆ " => "∆°", "∆ü" => "…µ", "∆ù" => "…≤",
202
+ "∆ú" => "…Ø", "∆ò" => "∆ô", "∆ó" => "…®",
203
+ "∆ñ" => "…©", "∆î" => "…£", "∆ì" => "… ",
204
+ "Ƒ" => "ƒ", "Ɛ" => "ɛ", "Ə" => "ə",
205
+ "Ǝ" => "ǝ", "Ƌ" => "ƌ", "Ɗ" => "ɗ",
206
+ "Ɖ" => "ɖ", "Ƈ" => "ƈ", "Ɔ" => "ɔ",
207
+ "Ƅ" => "ƅ", "Ƃ" => "ƃ", "Ɓ" => "ɓ",
208
+ "Ž" => "ž", "Ż" => "ż", "Ź" => "ź",
209
+ "Ÿ" => "ÿ", "Ŷ" => "ŷ", "Ŵ" => "ŵ",
210
+ "Ų" => "ų", "Ű" => "ű", "Ů" => "ů",
211
+ "Ŭ" => "ŭ", "Ū" => "ū", "Ũ" => "ũ",
212
+ "Ŧ" => "ŧ", "Ť" => "ť", "Ţ" => "ţ",
213
+ "≈ " => "≈°", "≈û" => "≈ü", "≈ú" => "≈ù",
214
+ "Ś" => "ś", "Ř" => "ř", "Ŗ" => "ŗ",
215
+ "Ŕ" => "ŕ", "Œ" => "œ", "Ő" => "ő",
216
+ "Ŏ" => "ŏ", "Ō" => "ō", "Ŋ" => "ŋ",
217
+ "Ň" => "ň", "Ņ" => "ņ", "Ń" => "ń",
218
+ "Ł" => "ł", "Ŀ" => "ŀ", "Ľ" => "ľ",
219
+ "Ļ" => "ļ", "Ĺ" => "ĺ", "Ķ" => "ķ",
220
+ "Ĵ" => "ĵ", "IJ" => "ij", "İ" => "i",
221
+ "Į" => "į", "Ĭ" => "ĭ", "Ī" => "ī",
222
+ "Ĩ" => "ĩ", "Ħ" => "ħ", "Ĥ" => "ĥ",
223
+ "ƒ¢" => "ƒ£", "ƒ " => "ƒ°", "ƒû" => "ƒü",
224
+ "ƒú" => "ƒù", "ƒö" => "ƒõ", "ƒò" => "ƒô",
225
+ "Ė" => "ė", "Ĕ" => "ĕ", "Ē" => "ē",
226
+ "Đ" => "đ", "Ď" => "ď", "Č" => "č",
227
+ "Ċ" => "ċ", "Ĉ" => "ĉ", "Ć" => "ć",
228
+ "Ą" => "ą", "Ă" => "ă", "Ā" => "ā",
229
+ "Þ" => "þ", "Ý" => "ý", "Ü" => "ü",
230
+ "Û" => "û", "Ú" => "ú", "Ù" => "ù",
231
+ "Ø" => "ø", "Ö" => "ö", "Õ" => "õ",
232
+ "Ô" => "ô", "Ó" => "ó", "Ò" => "ò",
233
+ "Ñ" => "ñ", "Ð" => "ð", "Ï" => "ï",
234
+ "Î" => "î", "Í" => "í", "Ì" => "ì",
235
+ "Ë" => "ë", "Ê" => "ê", "É" => "é",
236
+ "È" => "è", "Ç" => "ç", "Æ" => "æ",
237
+ "Å" => "å", "Ä" => "ä", "Ã" => "ã",
238
+ "√Ç" => "√¢", "√Å" => "√°", "√Ä" => "√ ",
239
+ "Z" => "z", "Y" => "y", "X" => "x",
240
+ "W" => "w", "V" => "v", "U" => "u",
241
+ "T" => "t", "S" => "s", "R" => "r",
242
+ "Q" => "q", "P" => "p", "O" => "o",
243
+ "N" => "n", "M" => "m", "L" => "l",
244
+ "K" => "k", "J" => "j", "I" => "i",
245
+ "H" => "h", "G" => "g", "F" => "f",
246
+ "E" => "e", "D" => "d", "C" => "c",
247
+ "B" => "b", "A" => "a",
248
+ );
249
+
250
+
251
+ $UTF8_TABLES['strtoupper'] = array(
252
+ "z" => "Z", "y" => "Y", "x" => "X",
253
+ "w" => "W", "v" => "V", "u" => "U",
254
+ "t" => "T", "s" => "S", "r" => "R",
255
+ "q" => "Q", "p" => "P", "o" => "O",
256
+ "n" => "N", "m" => "M", "l" => "L",
257
+ "k" => "K", "j" => "J", "i" => "I",
258
+ "h" => "H", "g" => "G", "f" => "F",
259
+ "e" => "E", "d" => "D", "c" => "C",
260
+ "b" => "B", "a" => "A", "ῳ" => "ῼ",
261
+ "·ø•" => "·ø¨", "·ø°" => "·ø©", "·ø " => "·ø®",
262
+ "·øë" => "·øô", "·øê" => "·øò", "·øÉ" => "·øå",
263
+ "ι" => "Ι", "ᾳ" => "ᾼ", "ᾱ" => "Ᾱ",
264
+ "ᾰ" => "Ᾰ", "ᾧ" => "ᾯ", "ᾦ" => "ᾮ",
265
+ "ᾥ" => "ᾭ", "ᾤ" => "ᾬ", "ᾣ" => "ᾫ",
266
+ "·æ¢" => "·æ™", "·æ°" => "·æ©", "·æ " => "·æ®",
267
+ "·æó" => "·æü", "·æñ" => "·æû", "·æï" => "·æù",
268
+ "·æî" => "·æú", "·æì" => "·æõ", "·æí" => "·æö",
269
+ "·æë" => "·æô", "·æê" => "·æò", "·æá" => "·æè",
270
+ "ᾆ" => "ᾎ", "ᾅ" => "ᾍ", "ᾄ" => "ᾌ",
271
+ "ᾃ" => "ᾋ", "ᾂ" => "ᾊ", "ᾁ" => "ᾉ",
272
+ "ᾀ" => "ᾈ", "ώ" => "Ώ", "ὼ" => "Ὼ",
273
+ "·Ωª" => "·ø´", "·Ω∫" => "·ø™", "·Ωπ" => "·øπ",
274
+ "·Ω∏" => "·ø∏", "·Ω∑" => "·øõ", "·Ω∂" => "·øö",
275
+ "·Ωµ" => "·øã", "·Ω¥" => "·øä", "·Ω≥" => "·øâ",
276
+ "ὲ" => "Ὲ", "ά" => "Ά", "ὰ" => "Ὰ",
277
+ "·Ωß" => "·ΩØ", "·Ω¶" => "·ΩÆ", "·Ω•" => "·Ω≠",
278
+ "·Ω§" => "·Ω¨", "·Ω£" => "·Ω´", "·Ω¢" => "·Ω™",
279
+ "·Ω°" => "·Ω©", "·Ω " => "·Ω®", "·Ωó" => "·Ωü",
280
+ "·Ωï" => "·Ωù", "·Ωì" => "·Ωõ", "·Ωë" => "·Ωô",
281
+ "·ΩÖ" => "·Ωç", "·ΩÑ" => "·Ωå", "·ΩÉ" => "·Ωã",
282
+ "·ΩÇ" => "·Ωä", "·ΩÅ" => "·Ωâ", "·ΩÄ" => "·Ωà",
283
+ "ἷ" => "Ἷ", "ἶ" => "Ἶ", "ἵ" => "Ἵ",
284
+ "ἴ" => "Ἴ", "ἳ" => "Ἳ", "ἲ" => "Ἲ",
285
+ "ἱ" => "Ἱ", "ἰ" => "Ἰ", "ἧ" => "Ἧ",
286
+ "ἦ" => "Ἦ", "ἥ" => "Ἥ", "ἤ" => "Ἤ",
287
+ "ἣ" => "Ἣ", "ἢ" => "Ἢ", "ἡ" => "Ἡ",
288
+ "·º " => "·º®", "·ºï" => "·ºù", "·ºî" => "·ºú",
289
+ "ἓ" => "Ἓ", "ἒ" => "Ἒ", "ἑ" => "Ἑ",
290
+ "ἐ" => "Ἐ", "ἇ" => "Ἇ", "ἆ" => "Ἆ",
291
+ "ἅ" => "Ἅ", "ἄ" => "Ἄ", "ἃ" => "Ἃ",
292
+ "ἂ" => "Ἂ", "ἁ" => "Ἁ", "ἀ" => "Ἀ",
293
+ "ỹ" => "Ỹ", "ỷ" => "Ỷ", "ỵ" => "Ỵ",
294
+ "ỳ" => "Ỳ", "ự" => "Ự", "ữ" => "Ữ",
295
+ "ử" => "Ử", "ừ" => "Ừ", "ứ" => "Ứ",
296
+ "ủ" => "Ủ", "ụ" => "Ụ", "ợ" => "Ợ",
297
+ "·ª°" => "·ª ", "·ªü" => "·ªû", "·ªù" => "·ªú",
298
+ "ớ" => "Ớ", "ộ" => "Ộ", "ỗ" => "Ỗ",
299
+ "ổ" => "Ổ", "ồ" => "Ồ", "ố" => "Ố",
300
+ "ỏ" => "Ỏ", "ọ" => "Ọ", "ị" => "Ị",
301
+ "ỉ" => "Ỉ", "ệ" => "Ệ", "ễ" => "Ễ",
302
+ "ể" => "Ể", "ề" => "Ề", "ế" => "Ế",
303
+ "ẽ" => "Ẽ", "ẻ" => "Ẻ", "ẹ" => "Ẹ",
304
+ "·∫∑" => "·∫∂", "·∫µ" => "·∫¥", "·∫≥" => "·∫≤",
305
+ "ằ" => "Ằ", "ắ" => "Ắ", "ậ" => "Ậ",
306
+ "ẫ" => "Ẫ", "ẩ" => "Ẩ", "ầ" => "Ầ",
307
+ "·∫•" => "·∫§", "·∫£" => "·∫¢", "·∫°" => "·∫ ",
308
+ "·∫õ" => "·π ", "·∫ï" => "·∫î", "·∫ì" => "·∫í",
309
+ "ẑ" => "Ẑ", "ẏ" => "Ẏ", "ẍ" => "Ẍ",
310
+ "ẋ" => "Ẋ", "ẉ" => "Ẉ", "ẇ" => "Ẇ",
311
+ "ẅ" => "Ẅ", "ẃ" => "Ẃ", "ẁ" => "Ẁ",
312
+ "·πø" => "·πæ", "·πΩ" => "·πº", "·πª" => "·π∫",
313
+ "·ππ" => "·π∏", "·π∑" => "·π∂", "·πµ" => "·π¥",
314
+ "ṳ" => "Ṳ", "ṱ" => "Ṱ", "ṯ" => "Ṯ",
315
+ "·π≠" => "·π¨", "·π´" => "·π™", "·π©" => "·π®",
316
+ "·πß" => "·π¶", "·π•" => "·π§", "·π£" => "·π¢",
317
+ "·π°" => "·π ", "·πü" => "·πû", "·πù" => "·πú",
318
+ "·πõ" => "·πö", "·πô" => "·πò", "·πó" => "·πñ",
319
+ "·πï" => "·πî", "·πì" => "·πí", "·πë" => "·πê",
320
+ "·πè" => "·πé", "·πç" => "·πå", "·πã" => "·πä",
321
+ "ṉ" => "Ṉ", "ṇ" => "Ṇ", "ṅ" => "Ṅ",
322
+ "ṃ" => "Ṃ", "ṁ" => "Ṁ", "ḿ" => "Ḿ",
323
+ "ḽ" => "Ḽ", "ḻ" => "Ḻ", "ḹ" => "Ḹ",
324
+ "·∏∑" => "·∏∂", "·∏µ" => "·∏¥", "·∏≥" => "·∏≤",
325
+ "ḱ" => "Ḱ", "ḯ" => "Ḯ", "ḭ" => "Ḭ",
326
+ "ḫ" => "Ḫ", "ḩ" => "Ḩ", "ḧ" => "Ḧ",
327
+ "·∏•" => "·∏§", "·∏£" => "·∏¢", "·∏°" => "·∏ ",
328
+ "ḟ" => "Ḟ", "ḝ" => "Ḝ", "ḛ" => "Ḛ",
329
+ "ḙ" => "Ḙ", "ḗ" => "Ḗ", "ḕ" => "Ḕ",
330
+ "ḓ" => "Ḓ", "ḑ" => "Ḑ", "ḏ" => "Ḏ",
331
+ "ḍ" => "Ḍ", "ḋ" => "Ḋ", "ḉ" => "Ḉ",
332
+ "ḇ" => "Ḇ", "ḅ" => "Ḅ", "ḃ" => "Ḃ",
333
+ "ḁ" => "Ḁ", "ֆ" => "Ֆ", "օ" => "Օ",
334
+ "ք" => "Ք", "փ" => "Փ", "ւ" => "Ւ",
335
+ "ց" => "Ց", "ր" => "Ր", "տ" => "Տ",
336
+ "’æ" => "’é", "’Ω" => "’ç", "’º" => "’å",
337
+ "’ª" => "’ã", "’∫" => "’ä", "’π" => "’â",
338
+ "’∏" => "’à", "’∑" => "’á", "’∂" => "’Ü",
339
+ "’µ" => "’Ö", "’¥" => "’Ñ", "’≥" => "’É",
340
+ "’≤" => "’Ç", "’±" => "’Å", "’∞" => "’Ä",
341
+ "’Ø" => "‘ø", "’Æ" => "‘æ", "’≠" => "‘Ω",
342
+ "լ" => "Լ", "ի" => "Ի", "ժ" => "Ժ",
343
+ "’©" => "‘π", "’®" => "‘∏", "’ß" => "‘∑",
344
+ "’¶" => "‘∂", "’•" => "‘µ", "’§" => "‘¥",
345
+ "’£" => "‘≥", "’¢" => "‘≤", "’°" => "‘±",
346
+ "‘è" => "‘é", "‘ç" => "‘å", "‘ã" => "‘ä",
347
+ "‘â" => "‘à", "‘á" => "‘Ü", "‘Ö" => "‘Ñ",
348
+ "‘É" => "‘Ç", "‘Å" => "‘Ä", "”π" => "”∏",
349
+ "ӵ" => "Ӵ", "ӳ" => "Ӳ", "ӱ" => "Ӱ",
350
+ "ӯ" => "Ӯ", "ӭ" => "Ӭ", "ӫ" => "Ӫ",
351
+ "ө" => "Ө", "ӧ" => "Ӧ", "ӥ" => "Ӥ",
352
+ "”£" => "”¢", "”°" => "” ", "”ü" => "”û",
353
+ "”ù" => "”ú", "”õ" => "”ö", "”ô" => "”ò",
354
+ "ӗ" => "Ӗ", "ӕ" => "Ӕ", "ӓ" => "Ӓ",
355
+ "ӑ" => "Ӑ", "ӎ" => "Ӎ", "ӌ" => "Ӌ",
356
+ "ӊ" => "Ӊ", "ӈ" => "Ӈ", "ӆ" => "Ӆ",
357
+ "ӄ" => "Ӄ", "ӂ" => "Ӂ", "ҿ" => "Ҿ",
358
+ "ҽ" => "Ҽ", "һ" => "Һ", "ҹ" => "Ҹ",
359
+ "“∑" => "“∂", "“µ" => "“¥", "“≥" => "“≤",
360
+ "ұ" => "Ұ", "ү" => "Ү", "ҭ" => "Ҭ",
361
+ "ҫ" => "Ҫ", "ҩ" => "Ҩ", "ҧ" => "Ҧ",
362
+ "“•" => "“§", "“£" => "“¢", "“°" => "“ ",
363
+ "“ü" => "“û", "“ù" => "“ú", "“õ" => "“ö",
364
+ "“ô" => "“ò", "“ó" => "“ñ", "“ï" => "“î",
365
+ "“ì" => "“í", "“ë" => "“ê", "“è" => "“é",
366
+ "“ç" => "“å", "“ã" => "“ä", "“Å" => "“Ä",
367
+ "—ø" => "—æ", "—Ω" => "—º", "—ª" => "—∫",
368
+ "—π" => "—∏", "—∑" => "—∂", "—µ" => "—¥",
369
+ "—≥" => "—≤", "—±" => "—∞", "—Ø" => "—Æ",
370
+ "—≠" => "—¨", "—´" => "—™", "—©" => "—®",
371
+ "—ß" => "—¶", "—•" => "—§", "—£" => "—¢",
372
+ "—°" => "— ", "—ü" => "–è", "—û" => "–é",
373
+ "—ù" => "–ç", "—ú" => "–å", "—õ" => "–ã",
374
+ "—ö" => "–ä", "—ô" => "–â", "—ò" => "–à",
375
+ "—ó" => "–á", "—ñ" => "–Ü", "—ï" => "–Ö",
376
+ "—î" => "–Ñ", "—ì" => "–É", "—í" => "–Ç",
377
+ "—ë" => "–Å", "—ê" => "–Ä", "—è" => "–Ø",
378
+ "—é" => "–Æ", "—ç" => "–≠", "—å" => "–¨",
379
+ "—ã" => "–´", "—ä" => "–™", "—â" => "–©",
380
+ "—à" => "–®", "—á" => "–ß", "—Ü" => "–¶",
381
+ "—Ö" => "–•", "—Ñ" => "–§", "—É" => "–£",
382
+ "—Ç" => "–¢", "—Å" => "–°", "—Ä" => "– ",
383
+ "–ø" => "–ü", "–æ" => "–û", "–Ω" => "–ù",
384
+ "–º" => "–ú", "–ª" => "–õ", "–∫" => "–ö",
385
+ "–π" => "–ô", "–∏" => "–ò", "–∑" => "–ó",
386
+ "–∂" => "–ñ", "–µ" => "–ï", "–¥" => "–î",
387
+ "–≥" => "–ì", "–≤" => "–í", "–±" => "–ë",
388
+ "а" => "А", "ϵ" => "Ε", "ϲ" => "Σ",
389
+ "ϱ" => "Ρ", "ϰ" => "Κ", "ϯ" => "Ϯ",
390
+ "ϭ" => "Ϭ", "ϫ" => "Ϫ", "ϩ" => "Ϩ",
391
+ "ϧ" => "Ϧ", "ϥ" => "Ϥ", "ϣ" => "Ϣ",
392
+ "œ°" => "œ ", "œü" => "œû", "œù" => "œú",
393
+ "œõ" => "œö", "œô" => "œò", "œñ" => "Œ ",
394
+ "ϕ" => "Φ", "ϑ" => "Θ", "ϐ" => "Β",
395
+ "ώ" => "Ώ", "ύ" => "Ύ", "ό" => "Ό",
396
+ "ϋ" => "Ϋ", "ϊ" => "Ϊ", "ω" => "Ω",
397
+ "ψ" => "Ψ", "χ" => "Χ", "φ" => "Φ",
398
+ "υ" => "Υ", "τ" => "Τ", "σ" => "Σ",
399
+ "œÇ" => "Œ£", "œÅ" => "Œ°", "œÄ" => "Œ ",
400
+ "ο" => "Ο", "ξ" => "Ξ", "ν" => "Ν",
401
+ "μ" => "Μ", "λ" => "Λ", "κ" => "Κ",
402
+ "ι" => "Ι", "θ" => "Θ", "η" => "Η",
403
+ "ζ" => "Ζ", "ε" => "Ε", "δ" => "Δ",
404
+ "γ" => "Γ", "β" => "Β", "α" => "Α",
405
+ "ί" => "Ί", "ή" => "Ή", "έ" => "Έ",
406
+ "ά" => "Ά", "ʒ" => "Ʒ", "ʋ" => "Ʋ",
407
+ "ʊ" => "Ʊ", "ʈ" => "Ʈ", "ʃ" => "Ʃ",
408
+ "ʀ" => "Ʀ", "ɵ" => "Ɵ", "ɲ" => "Ɲ",
409
+ "ɯ" => "Ɯ", "ɩ" => "Ɩ", "ɨ" => "Ɨ",
410
+ "…£" => "∆î", "… " => "∆ì", "…õ" => "∆ê",
411
+ "ə" => "Ə", "ɗ" => "Ɗ", "ɖ" => "Ɖ",
412
+ "ɔ" => "Ɔ", "ɓ" => "Ɓ", "ȳ" => "Ȳ",
413
+ "ȱ" => "Ȱ", "ȯ" => "Ȯ", "ȭ" => "Ȭ",
414
+ "ȫ" => "Ȫ", "ȩ" => "Ȩ", "ȧ" => "Ȧ",
415
+ "ȥ" => "Ȥ", "ȣ" => "Ȣ", "ȟ" => "Ȟ",
416
+ "»ù" => "»ú", "»õ" => "»ö", "»ô" => "»ò",
417
+ "ȗ" => "Ȗ", "ȕ" => "Ȕ", "ȓ" => "Ȓ",
418
+ "ȑ" => "Ȑ", "ȏ" => "Ȏ", "ȍ" => "Ȍ",
419
+ "ȋ" => "Ȋ", "ȉ" => "Ȉ", "ȇ" => "Ȇ",
420
+ "ȅ" => "Ȅ", "ȃ" => "Ȃ", "ȁ" => "Ȁ",
421
+ "ǿ" => "Ǿ", "ǽ" => "Ǽ", "ǻ" => "Ǻ",
422
+ "«π" => "«∏", "«µ" => "«¥", "«≥" => "«≤",
423
+ "ǯ" => "Ǯ", "ǭ" => "Ǭ", "ǫ" => "Ǫ",
424
+ "ǩ" => "Ǩ", "ǧ" => "Ǧ", "ǥ" => "Ǥ",
425
+ "«£" => "«¢", "«°" => "« ", "«ü" => "«û",
426
+ "ǝ" => "Ǝ", "ǜ" => "Ǜ", "ǚ" => "Ǚ",
427
+ "«ò" => "«ó", "«ñ" => "«ï", "«î" => "«ì",
428
+ "«í" => "«ë", "«ê" => "«è", "«é" => "«ç",
429
+ "«å" => "«ã", "«â" => "«à", "«Ü" => "«Ö",
430
+ "ƿ" => "Ƿ", "ƽ" => "Ƽ", "ƹ" => "Ƹ",
431
+ "ƶ" => "Ƶ", "ƴ" => "Ƴ", "ư" => "Ư",
432
+ "ƭ" => "Ƭ", "ƨ" => "Ƨ", "ƥ" => "Ƥ",
433
+ "∆£" => "∆¢", "∆°" => "∆ ", "∆û" => "» ",
434
+ "ƙ" => "Ƙ", "ƕ" => "Ƕ", "ƒ" => "Ƒ",
435
+ "ƌ" => "Ƌ", "ƈ" => "Ƈ", "ƅ" => "Ƅ",
436
+ "ƃ" => "Ƃ", "ſ" => "S", "ž" => "Ž",
437
+ "ż" => "Ż", "ź" => "Ź", "ŷ" => "Ŷ",
438
+ "≈µ" => "≈¥", "≈≥" => "≈≤", "≈±" => "≈∞",
439
+ "ů" => "Ů", "ŭ" => "Ŭ", "ū" => "Ū",
440
+ "ũ" => "Ũ", "ŧ" => "Ŧ", "ť" => "Ť",
441
+ "≈£" => "≈¢", "≈°" => "≈ ", "≈ü" => "≈û",
442
+ "≈ù" => "≈ú", "≈õ" => "≈ö", "≈ô" => "≈ò",
443
+ "ŗ" => "Ŗ", "ŕ" => "Ŕ", "œ" => "Œ",
444
+ "ő" => "Ő", "ŏ" => "Ŏ", "ō" => "Ō",
445
+ "ŋ" => "Ŋ", "ň" => "Ň", "ņ" => "Ņ",
446
+ "ń" => "Ń", "ł" => "Ł", "ŀ" => "Ŀ",
447
+ "ľ" => "Ľ", "ļ" => "Ļ", "ĺ" => "Ĺ",
448
+ "ķ" => "Ķ", "ĵ" => "Ĵ", "ij" => "IJ",
449
+ "ı" => "I", "į" => "Į", "ĭ" => "Ĭ",
450
+ "ī" => "Ī", "ĩ" => "Ĩ", "ħ" => "Ħ",
451
+ "ƒ•" => "ƒ§", "ƒ£" => "ƒ¢", "ƒ°" => "ƒ ",
452
+ "ğ" => "Ğ", "ĝ" => "Ĝ", "ě" => "Ě",
453
+ "ę" => "Ę", "ė" => "Ė", "ĕ" => "Ĕ",
454
+ "ē" => "Ē", "đ" => "Đ", "ď" => "Ď",
455
+ "č" => "Č", "ċ" => "Ċ", "ĉ" => "Ĉ",
456
+ "ć" => "Ć", "ą" => "Ą", "ă" => "Ă",
457
+ "ā" => "Ā", "ÿ" => "Ÿ", "þ" => "Þ",
458
+ "ý" => "Ý", "ü" => "Ü", "û" => "Û",
459
+ "√∫" => "√ö", "√π" => "√ô", "√∏" => "√ò",
460
+ "ö" => "Ö", "õ" => "Õ", "ô" => "Ô",
461
+ "ó" => "Ó", "ò" => "Ò", "ñ" => "Ñ",
462
+ "ð" => "Ð", "ï" => "Ï", "î" => "Î",
463
+ "í" => "Í", "ì" => "Ì", "ë" => "Ë",
464
+ "ê" => "Ê", "é" => "É", "è" => "È",
465
+ "ç" => "Ç", "æ" => "Æ", "å" => "Å",
466
+ "ä" => "Ä", "ã" => "Ã", "â" => "Â",
467
+ "√°" => "√Å", "√ " => "√Ä", "¬µ" => "Œú",
468
+ "z" => "Z", "y" => "Y", "x" => "X",
469
+ "w" => "W", "v" => "V", "u" => "U",
470
+ "t" => "T", "s" => "S", "r" => "R",
471
+ "q" => "Q", "p" => "P", "o" => "O",
472
+ "n" => "N", "m" => "M", "l" => "L",
473
+ "k" => "K", "j" => "J", "i" => "I",
474
+ "h" => "H", "g" => "G", "f" => "F",
475
+ "e" => "E", "d" => "D", "c" => "C",
476
+ "b" => "B", "a" => "A",
477
+ );
478
+
479
+ if ( ! defined( 'WP_CONTENT_URL' ) )
480
+ define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
481
+ if ( ! defined( 'WP_CONTENT_DIR' ) )
482
+ define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
483
+ if ( ! defined( 'WP_PLUGIN_URL' ) )
484
+ define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
485
+ if ( ! defined( 'WP_PLUGIN_DIR' ) )
486
+ define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
487
+
488
+ require_once( WP_PLUGIN_DIR . '/all-in-one-seo-pack/aioseop.class.php');
489
+
490
+ global $aioseop_options;
491
+ $aioseop_options = get_option('aioseop_options');
492
+
493
+ ////checking to see if things need to be updated
494
+
495
+ if(isset($_POST['aioseop_migrate'])) aioseop_mrt_fix_meta();
496
+ if(isset($_POST['aioseop_migrate_options'])) aioseop_mrt_mkarry();
497
+ if(!get_option('aiosp_post_title_format') && !get_option('aioseop_options')) aioseop_mrt_mkarry();
498
+
499
+ ////end checking to see if things need to be updated
500
+
501
+ function aioseop_mrt_fix_meta(){
502
+ global $wpdb;
503
+ $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_keywords' WHERE meta_key = 'keywords'");
504
+ $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_title' WHERE meta_key = 'title'");
505
+ $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_description' WHERE meta_key = 'description'");
506
+ $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_meta' WHERE meta_key = 'aiosp_meta'");
507
+ $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_aioseop_disable' WHERE meta_key = 'aiosp_disable'");
508
+ echo "<div class='updated fade' style='background-color:green;border-color:green;'><p><strong>Updating SEO post meta in database.</strong></p></div";
509
+ }
510
+
511
+
512
+ $aioseopcc = 0;
513
+
514
+
515
+ function aioseop_mrt_mkarry() {
516
+ $naioseop_options = array(
517
+ "aiosp_can"=>1,
518
+ "aiosp_donate"=>0,
519
+ "aiosp_home_title"=>null,
520
+ "aiosp_home_description"=>'',
521
+ "aiosp_home_keywords"=>null,
522
+ "aiosp_max_words_excerpt"=>'something',
523
+ "aiosp_rewrite_titles"=>1,
524
+ "aiosp_post_title_format"=>'%post_title% | %blog_title%',
525
+ "aiosp_page_title_format"=>'%page_title% | %blog_title%',
526
+ "aiosp_category_title_format"=>'%category_title% | %blog_title%',
527
+ "aiosp_archive_title_format"=>'%date% | %blog_title%',
528
+ "aiosp_tag_title_format"=>'%tag% | %blog_title%',
529
+ "aiosp_search_title_format"=>'%search% | %blog_title%',
530
+ "aiosp_description_format"=>'%description%',
531
+ "aiosp_404_title_format"=>'Nothing found for %request_words%',
532
+ "aiosp_paged_format"=>' - Part %page%',
533
+ "aiosp_google_analytics_id"=>null,
534
+ "aiosp_ga_track_outbound_links"=>0,
535
+ "aiosp_use_categories"=>0,
536
+ "aiosp_dynamic_postspage_keywords"=>1,
537
+ "aiosp_category_noindex"=>0,
538
+ "aiosp_archive_noindex"=>0,
539
+ "aiosp_tags_noindex"=>0,
540
+ "aiosp_cap_cats"=>1,
541
+ "aiosp_generate_descriptions"=>0,
542
+ "aiosp_debug_info"=>null,
543
+ "aiosp_post_meta_tags"=>'',
544
+ "aiosp_page_meta_tags"=>'',
545
+ "aiosp_home_meta_tags"=>'',
546
+ "aiosp_enabled" =>0,
547
+ "aiosp_enablecpost" => 0,
548
+ "aiosp_use_tags_as_keywords" =>1,
549
+ "aiosp_seopostcol" =>1,
550
+ "aiosp_seocustptcol" => 0,
551
+ "aiosp_posttypecolumns" => array('post','page'),
552
+ "aiosp_do_log"=>null);
553
+
554
+ if(get_option('aiosp_post_title_format')){
555
+ foreach( $naioseop_options as $aioseop_opt_name => $value ) {
556
+ if( $aioseop_oldval = get_option($aioseop_opt_name) ) {
557
+ $naioseop_options[$aioseop_opt_name] = $aioseop_oldval;
558
+
559
+ }
560
+ if( $aioseop_oldval == ''){
561
+ $naioseop_options[$aioseop_opt_name] = '';
562
+ }
563
+
564
+ delete_option($aioseop_opt_name);
565
+ }
566
+ }
567
+
568
+ add_option('aioseop_options',$naioseop_options);
569
+ echo "<div class='updated fade' style='background-color:green;border-color:green;'><p><strong>Updating SEO configuration options in database</strong></p></div";
570
+
571
+ }
572
+
573
+ function aioseop_activation_notice(){
574
+ global $aioseop_options;
575
+ echo '<div class="error fade" style="background-color:red;"><p><strong>All in One SEO Pack must be configured. Go to <a href="' . admin_url( 'options-general.php?page=all-in-one-seo-pack/aioseop.class.php' ) . '">the admin page</a> to enable and configure the plugin.</strong><br />All in One SEO Pack now supports <em>Custom Post Types</em> and Google Analytics.</p></div>';
576
+ }
577
+
578
+ if($aioseopcc){
579
+ if(aioseop_get_version() != trim(wp_remote_fopen('http://aioseoppro.semperfiwebdesign.com/version.html'))){
580
+ add_action('after_plugin_row_all-in-one-seo-pack-pro/all_in_one_seo_pack.php', 'add_plugin_row', 10, 2);
581
+ }
582
+ }
583
+
584
+ function aioseop_activate_pl(){
585
+ if(get_option('aioseop_options')){
586
+ $aioseop_options = get_option('aioseop_options');
587
+ $aioseop_options['aiosp_enabled'] = "0";
588
+
589
+ if(!$aioseop_options['aiosp_posttypecolumns']){
590
+ $aioseop_options['aiosp_posttypecolumns'] = array('post','page');
591
+ }
592
+
593
+ update_option('aioseop_options',$aioseop_options);
594
+ }
595
+ }
596
+
597
+ if($aioseop_options['aiosp_can'] == '1' || $aioseop_options['aiosp_can'] == 'on'){
598
+ remove_action( 'wp_head', 'rel_canonical' );
599
+ }
600
+
601
+ function aioseop_get_version(){
602
+ return '1.6.13.6';
603
+ }
604
+
605
+ function add_plugin_row($links, $file) {
606
+
607
+ echo '<td colspan="5" style="background-color:yellow;">';
608
+ echo wp_remote_fopen('http://aioseoppro.semperfiwebdesign.com/');
609
+ echo '</td>';
610
+
611
+ }
612
+
613
+ $aiosp = new All_in_One_SEO_Pack();
614
+
615
+ ////////new stuff
616
+
617
+ function mys($col, $type){
618
+
619
+ ?>
620
+
621
+
622
+ <fieldset class="inline-edit-col-right"><div class="inline-edit-col">
623
+ <div class="inline-edit-group">
624
+ <label class="alignleft">
625
+ <input type="checkbox" value="1" name="aioseops" id="aioseos_check">
626
+ <span class="checkbox-title">stuff</span>
627
+ </label>
628
+ </div>
629
+ </fieldset>
630
+ <?php
631
+ }
632
+
633
+
634
+ add_action('load-edit.php','addmycolumns',1);
635
+
636
+ function addmycolumns(){
637
+ $aioseop_options = get_option('aioseop_options');
638
+ $aiosp_posttypecolumns = $aioseop_options['aiosp_posttypecolumns'];
639
+
640
+ if ( !isset($_GET['post_type']) ) $post_type = 'post';
641
+ else $post_type = $_GET['post_type'];
642
+
643
+
644
+ if(is_array($aiosp_posttypecolumns) && in_array($post_type,$aiosp_posttypecolumns)) {
645
+ if($post_type == 'page'){
646
+ add_action('manage_pages_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
647
+ add_filter('manage_pages_columns', 'aioseop_mrt_pcolumns');
648
+
649
+ }else{
650
+ add_action('manage_posts_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
651
+ add_filter('manage_posts_columns', 'aioseop_mrt_pcolumns');
652
+ }
653
+ }
654
+
655
+ }
656
+
657
+
658
+ function aioseop_mrt_pcolumns($aioseopc) {
659
+ $aioseopc['seotitle'] = __('SEO Title');
660
+ $aioseopc['seokeywords'] = __('SEO Keywords');
661
+ $aioseopc['seodesc'] = __('SEO Description');
662
+ return $aioseopc;
663
+ }
664
+
665
+ function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
666
+ if( $aioseopcn == 'seotitle' ) {
667
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_title',TRUE)));
668
+ }
669
+ if( $aioseopcn == 'seokeywords' ) {
670
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_keywords',TRUE)));
671
+ }
672
+ if( $aioseopcn == 'seodesc' ) {
673
+ echo htmlspecialchars(stripcslashes(get_post_meta($aioseoppi,'_aioseop_description',TRUE)));
674
+ }
675
+
676
+ }
677
+
678
+
679
+ ///////end new stuff
680
+ add_filter('wp_list_pages', 'aioseop_list_pages');
681
+ add_action('edit_post', array($aiosp, 'post_meta_tags'));
682
+ add_action('publish_post', array($aiosp, 'post_meta_tags'));
683
+ add_action('save_post', array($aiosp, 'post_meta_tags'));
684
+ add_action('edit_page_form', array($aiosp, 'post_meta_tags'));
685
+ add_action('init', array($aiosp, 'init'));
686
+ add_action('wp_head', array($aiosp, 'wp_head'));
687
+ add_action('template_redirect', array($aiosp, 'template_redirect'));
688
+ add_action('admin_menu', array($aiosp, 'admin_menu'));
689
+ add_action('admin_menu', 'aioseop_meta_box_add');
690
+ add_action('admin_menu', 'aioseop_mrt_nap');
691
+
692
+ ////analytics
693
+ if($aioseop_options['aiosp_google_analytics_id'])
694
+ add_action('wp_footer', array($aiosp, 'aiosp_google_analytics'));
695
+
696
+
697
+
698
+
699
+ function aioseop_mrt_nap(){
700
+ add_submenu_page("__FILE__", 'Settings', 'Settings', 'manage_options', '__FILE__', 'aioseop_mrt_nap_menu2a');
701
+ add_submenu_page("__FILE__", 'Tools', 'Tools', 'manage_options', 'subpageb', 'aioseop_mrt_nap_menu2b');
702
+ }
703
+
704
+ function aioseop_mrt_nap_menu(){
705
+ echo "hi";
706
+
707
+ }
708
+
709
+ function aioseop_mrt_nap_menu2a(){
710
+ echo "here1";
711
+ }
712
+
713
+ function aioseop_mrt_nap_menu2b(){
714
+ echo "here2";
715
+ }
716
+
717
+ if( ($_POST['aiosp_enabled'] == null && $aioseop_options['aiosp_enabled']!='1') || $_POST['aiosp_enabled']=='0'){
718
+ add_action( 'admin_notices', 'aioseop_activation_notice');
719
+ }
720
+
721
+
722
+ // The following two functions are GPLed from Sarah G's Page Menu Editor, http://wordpress.org/extend/plugins/page-menu-editor/.
723
+ function aioseop_list_pages($content){
724
+ $matches = array();
725
+ if (preg_match_all('/<li class="page_item page-item-(\d+)/i', $content, $matches)) {
726
+ update_postmeta_cache(array_values($matches[1]));
727
+ unset($matches);
728
+ $pattern = '/<li class="page_item page-item-(\d+)([^\"]*)"><a href=\"([^\"]+)" title="([^\"]+)">([^<]+)<\/a>/i';
729
+ return preg_replace_callback($pattern, "aioseop_filter_callback", $content);
730
+ }
731
+ return $content;
732
+ }
733
+
734
+ function aioseop_filter_callback($matches) {
735
+ global $wpdb;
736
+ if ($matches[1] && !empty($matches[1])) $postID = $matches[1];
737
+ if (empty($postID)) $postID = get_option("page_on_front");
738
+ $title_attrib = stripslashes(get_post_meta($postID, '_aioseop_titleatr', true));
739
+ $menulabel = stripslashes(get_post_meta($postID, '_aioseop_menulabel', true));
740
+ if (empty($menulabel)) $menulabel = $matches[4];
741
+ if (!empty($title_attrib)) :
742
+ $filtered = '<li class="page_item page-item-'.$postID.$matches[2].'"><a href="'.$matches[3].'" title="'.$title_attrib.'">'.$menulabel.'</a>';
743
+ else :
744
+ $filtered = '<li class="page_item page-item-'.$postID.$matches[2].'"><a href="'.$matches[3].'" title="'.$matches[4].'">'.$menulabel.'</a>';
745
+ endif;
746
+ return $filtered;
747
+ }
748
+
749
+ function aioseop_meta_box_add() {
750
+ $mrt_aioseop_pts=get_post_types('','names');
751
+ $aioseop_options = get_option('aioseop_options');
752
+ $aioseop_mrt_cpt = $aioseop_options['aiosp_enablecpost'];
753
+ foreach ($mrt_aioseop_pts as $mrt_aioseop_pt) {
754
+ if($mrt_aioseop_pt == 'post' || $mrt_aioseop_pt == 'page' || $aioseop_mrt_cpt){
755
+ add_meta_box('aiosp',__('All in One SEO Pack', 'all_in_one_seo_pack'),'aiosp_meta',$mrt_aioseop_pt);
756
+ }
757
+ }
758
+ }
759
+
760
+ function aiosp_meta() {
761
+ global $post;
762
+ $post_id = $post;
763
+ if (is_object($post_id)) $post_id = $post_id->ID;
764
+ $keywords = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_keywords', true)));
765
+ $title = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_title', true)));
766
+ $description = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_description', true)));
767
+ $aiosp_meta = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aiosp_meta', true)));
768
+ $aiosp_disable = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_disable', true)));
769
+ $aiosp_titleatr = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_titleatr', true)));
770
+ $aiosp_menulabel = htmlspecialchars(stripcslashes(get_post_meta($post_id, '_aioseop_menulabel', true)));
771
+ ?>
772
+ <SCRIPT LANGUAGE="JavaScript">
773
+ <!-- Begin
774
+ function countChars(field,cntfield) {
775
+ cntfield.value = field.value.length;
776
+ }
777
+ // End -->
778
+ </script>
779
+ <input value="aiosp_edit" type="hidden" name="aiosp_edit" />
780
+
781
+ <a target="__blank" href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/"><?php _e('Upgrade to All in One SEO Pack Pro Version', 'all_in_one_seo_pack') ?></a>
782
+ <table style="margin-bottom:40px">
783
+ <tr>
784
+ <th style="text-align:left;" colspan="2">
785
+ </th>
786
+ </tr>
787
+
788
+ <tr>
789
+ <th scope="row" style="text-align:right;"><?php _e('Title:', 'all_in_one_seo_pack') ?></th>
790
+ <td><input value="<?php echo $title ?>" type="text" name="aiosp_title" size="62" onKeyDown="countChars(document.post.aiosp_title,document.post.lengthT)" onKeyUp="countChars(document.post.aiosp_title,document.post.lengthT)"/><br />
791
+ <input readonly type="text" name="lengthT" size="3" maxlength="3" style="text-align:center;" value="<?php echo strlen($title);?>" />
792
+ <?php _e(' characters. Most search engines use a maximum of 60 chars for the title.', 'all_in_one_seo_pack') ?>
793
+ </td>
794
+ </tr>
795
+
796
+ <tr>
797
+ <th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
798
+ <td><textarea name="aiosp_description" rows="3" cols="60"
799
+ onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
800
+ onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br />
801
+ <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
802
+ <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
803
+ </td>
804
+ </tr>
805
+
806
+ <tr>
807
+ <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
808
+ <td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
809
+ </tr>
810
+ <input type="hidden" name="nonce-aioseop-edit" value="<?php echo wp_create_nonce('edit-aioseop-nonce') ?>" />
811
+ <?php if($post->post_type=='page'){ ?>
812
+ <tr>
813
+ <th scope="row" style="text-align:right;"><?php _e('Title Attribute:', 'all_in_one_seo_pack') ?></th>
814
+ <td><input value="<?php echo $aiosp_titleatr ?>" type="text" name="aiosp_titleatr" size="62"/></td>
815
+ </tr>
816
+
817
+ <tr>
818
+ <th scope="row" style="text-align:right;"><?php _e('Menu Label:', 'all_in_one_seo_pack') ?></th>
819
+ <td><input value="<?php echo $aiosp_menulabel ?>" type="text" name="aiosp_menulabel" size="62"/></td>
820
+ </tr>
821
+ <?php } ?>
822
+ <tr>
823
+ <th scope="row" style="text-align:right; vertical-align:top;">
824
+ <?php _e('Disable on this page/post:', 'all_in_one_seo_pack')?>
825
+ </th>
826
+ <td>
827
+ <input type="checkbox" name="aiosp_disable" <?php if ($aiosp_disable) echo "checked=\"1\""; ?>/>
828
+ </td>
829
+ </tr>
830
+ </table>
831
+ <?php
832
+ }
833
+ ?>
images/headwaybanner.png ADDED
Binary file
readme.txt CHANGED
@@ -1,72 +1,73 @@
1
- === All in One SEO Pack ===
2
- Contributors: hallsofmontezuma
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
- Tags: seo,meta,keywords,description,title,post, search engine optimization, google
5
- Requires at least: 3.0
6
- Tested up to: 3.2.1
7
- Stable tag: trunk
8
-
9
- Automatically optimizes your Wordpress blog for Search Engines (Search Engine Optimization).
10
-
11
- == Description ==
12
-
13
- **Optimizes** your Wordpress blog for Search Engines (**Search Engine Optimization**).
14
-
15
- **[Upgrade to Pro Version](http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version)**
16
-
17
- [Support](http://semperfiwebdesign.com/forum/) |
18
- [Change Log](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-pack-release-history/) |
19
- [FAQ](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/)|
20
- [Translations](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/)
21
-
22
- Some features:
23
-
24
-
25
- * Support for Custom Post Types
26
- * Advanced Canonical URLs
27
- * Fine tune Page Navigational Links
28
- * Built-in API so other plugins/themes can access and extend functionality
29
- * ONLY plugin to provide SEO Integration for WP e-Commerce sites
30
- * Nonce Security
31
- * Support for CMS-style WordPress installations
32
- * Automatically optimizes your **titles** for search engines
33
- * Generates **META tags automatically**
34
- * Avoids the typical duplicate content found on Wordpress blogs
35
- * For beginners, you don't even have to look at the options, it works out-of-the-box. Just install.
36
- * For advanced users, you can fine-tune everything
37
- * You can override any title and set any META description and any META keywords you want.
38
- * Backward-Compatibility with many other plugins, like Auto Meta, Ultimate Tag Warrior and others.
39
-
40
- **If upgrading, please back up your database first!**
41
-
42
- Be sure to check out:
43
- [WP Security Scan](http://wordpress.org/extend/plugins/wp-security-scan/)
44
- and
45
- [SMS Text Message](http://wordpress.org/extend/plugins/sms-text-message/)
46
-
47
- Follow me on Twitter to keep up with the latest updates [Michael
48
- Torbert](http://twitter.com/michaeltorbert/)
49
-
50
- == Installation ==
51
-
52
- You can use the built in installer and upgrader, or you can install the plugin
53
- manually.
54
-
55
- 1. You can either use the automatic plugin installer or your FTP program to upload it to your wp-content/plugins directory
56
- the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
57
- 1. Activate the plugin through the 'Plugins' menu in WordPress
58
- 1. Visit your SEO options (*Options - All in One SEO*) for Wordpress 2.3.x, (*Settings - All in One SEO*) for Wordpress 2.5.x-2.8.x
59
- 1. Configure any options as desired, and then enable the plugin
60
- 1. That's it!
61
-
62
- If you have to upgrade manually simply repeat the installation steps and re-enable the plugin.
63
-
64
- **If upgrading, please back up your database first!**
65
-
66
- [Upgrade guide for upgrading from 1.5.x and below to
67
- 1.6.x](http://onefinejay.com/2009/07/11/a-guide-to-upgrading-to-aioseop-v1-6-1)
68
-
69
- == Frequently Asked Questions ==
70
-
71
- Please read these **[FAQs](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/)** before requesting
72
- **[My Plugin Support Forum](http://semperfiwebdesign.com/forum/)**
 
1
+ === All in One SEO Pack ===
2
+ Contributors: hallsofmontezuma
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
+ Tags: seo, search engine optimization, google
5
+ Requires at least: 3.0
6
+ Tested up to: 3.3
7
+ Stable tag: trunk
8
+
9
+ Automatically optimizes your Wordpress blog for Search Engines (Search Engine Optimization).
10
+
11
+ == Description ==
12
+
13
+ **Optimizes** your Wordpress blog for Search Engines (**Search Engine Optimization**).
14
+
15
+ **[Upgrade to Pro Version](http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version)**
16
+
17
+ [Support](http://semperfiwebdesign.com/forum/) |
18
+ [Change Log](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-pack-release-history/) |
19
+ [FAQ](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/)|
20
+ [Translations](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/)
21
+
22
+ Some features:
23
+
24
+
25
+ * Google Analytics support
26
+ * Support for Custom Post Types
27
+ * Advanced Canonical URLs
28
+ * Fine tune Page Navigational Links
29
+ * Built-in API so other plugins/themes can access and extend functionality
30
+ * ONLY plugin to provide SEO Integration for WP e-Commerce sites
31
+ * Nonce Security
32
+ * Support for CMS-style WordPress installations
33
+ * Automatically optimizes your **titles** for search engines
34
+ * Generates **META tags automatically**
35
+ * Avoids the typical duplicate content found on Wordpress blogs
36
+ * For beginners, you don't even have to look at the options, it works out-of-the-box. Just install.
37
+ * For advanced users, you can fine-tune everything
38
+ * You can override any title and set any META description and any META keywords you want.
39
+ * Backward-Compatibility with many other plugins, like Auto Meta, Ultimate Tag Warrior and others.
40
+
41
+ **If upgrading, please back up your database first!**
42
+
43
+ Be sure to check out:
44
+ [WP Security Scan](http://wordpress.org/extend/plugins/wp-security-scan/)
45
+ and
46
+ [SMS Text Message](http://wordpress.org/extend/plugins/sms-text-message/)
47
+
48
+ Follow me on Twitter to keep up with the latest updates [Michael
49
+ Torbert](http://twitter.com/michaeltorbert/)
50
+
51
+ == Installation ==
52
+
53
+ You can use the built in installer and upgrader, or you can install the plugin
54
+ manually.
55
+
56
+ 1. You can either use the automatic plugin installer or your FTP program to upload it to your wp-content/plugins directory
57
+ the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
58
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
59
+ 1. Visit your SEO options (*Options - All in One SEO*) for Wordpress 2.3.x, (*Settings - All in One SEO*) for Wordpress 2.5.x-2.8.x
60
+ 1. Configure any options as desired, and then enable the plugin
61
+ 1. That's it!
62
+
63
+ If you have to upgrade manually simply repeat the installation steps and re-enable the plugin.
64
+
65
+ **If upgrading, please back up your database first!**
66
+
67
+ [Upgrade guide for upgrading from 1.5.x and below to
68
+ 1.6.x](http://onefinejay.com/2009/07/11/a-guide-to-upgrading-to-aioseop-v1-6-1)
69
+
70
+ == Frequently Asked Questions ==
71
+
72
+ Please read these **[FAQs](http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/)** before requesting
73
+ **[My Plugin Support Forum](http://semperfiwebdesign.com/forum/)**