From c4f57456f767e979c213355946f5682e8b0ecec6 Mon Sep 17 00:00:00 2001 From: hunter b rose Date: Wed, 22 Oct 2014 09:44:35 -0400 Subject: [PATCH] updates. --- assets/gulp/tasks/styl.js | 1 + assets/js/src/app.coffee | 45 +- assets/js/src/lib/menu.coffee | 34 + assets/js/src/lib/modal.coffee | 51 + assets/styl/src/mains/_base.scss | 39 +- assets/styl/src/mains/_mixins.scss | 61 +- assets/styl/src/mains/_universals.scss | 32 +- assets/styl/src/site/_menu.scss | 206 ++ assets/styl/src/site/_sidr.scss | 156 - header.php | 5 - plugins/search-replace.php | 834 ------ plugins/search-replace/.gitignore | 2 + plugins/search-replace/README.md | 78 + plugins/search-replace/composer.json | 12 + plugins/search-replace/index.php | 2651 +++++++++++++++++ plugins/search-replace/package.json | 21 + plugins/search-replace/srdb.class.php | 1165 ++++++++ plugins/search-replace/srdb.cli.php | 233 ++ plugins/search-replace/tests/DataSet.xml | 1559 ++++++++++ .../search-replace/tests/DataSetGenerator.php | 81 + plugins/search-replace/tests/SrdbTest.php | 381 +++ plugins/search-replace/tests/charset-test.php | 93 + plugins/search-replace/tests/db.sql | 45 + 23 files changed, 6697 insertions(+), 1088 deletions(-) create mode 100644 assets/js/src/lib/menu.coffee create mode 100644 assets/js/src/lib/modal.coffee create mode 100644 assets/styl/src/site/_menu.scss delete mode 100644 assets/styl/src/site/_sidr.scss delete mode 100755 plugins/search-replace.php create mode 100755 plugins/search-replace/.gitignore create mode 100755 plugins/search-replace/README.md create mode 100755 plugins/search-replace/composer.json create mode 100755 plugins/search-replace/index.php create mode 100755 plugins/search-replace/package.json create mode 100755 plugins/search-replace/srdb.class.php create mode 100755 plugins/search-replace/srdb.cli.php create mode 100755 plugins/search-replace/tests/DataSet.xml create mode 100755 plugins/search-replace/tests/DataSetGenerator.php create mode 100755 plugins/search-replace/tests/SrdbTest.php create mode 100755 plugins/search-replace/tests/charset-test.php create mode 100755 plugins/search-replace/tests/db.sql diff --git a/assets/gulp/tasks/styl.js b/assets/gulp/tasks/styl.js index 28655ce..8cffa27 100755 --- a/assets/gulp/tasks/styl.js +++ b/assets/gulp/tasks/styl.js @@ -10,6 +10,7 @@ var browserSync = require('browser-sync'); gulp.task('styl', function() { return gulp.src('styl/src/screen.scss') .pipe(sass({ + errLogToConsole: true, includePaths: [ './styl/lib/__vendors/harp-susy/scss', './styl/lib/__vendors/harp-compass/scss' diff --git a/assets/js/src/app.coffee b/assets/js/src/app.coffee index 4c2049d..c851f44 100644 --- a/assets/js/src/app.coffee +++ b/assets/js/src/app.coffee @@ -1,44 +1 @@ -jQuery ($) -> - - #*--------------------------------------------------------# - # Sidr - #*--------------------------------------------------------# - - $('#press').sidr - name: 'sidr' - side: 'right' - - $('.close-sidr').click -> - $.sidr 'close', 'sidr' - - $('a#press').bind "click touchstart", -> - $(@).toggleClass 'open' - - #*--------------------------------------------------------# - # bxslider - #*--------------------------------------------------------# - - $('ul.sldr').bxSlider - speed: 1000 - pause: 10000 - auto: false - touchEnabled: false - pagerCustom: '.feature-pager' - controls: true - nextText: 'Previous' - prevText: 'Next' - - #*--------------------------------------------------------# - # Services - #*--------------------------------------------------------# - - serviceTitle = $('.service-title-hldr') - serviceContent = $('.service-content') - - serviceTitle.hoverIntent -> - $(@).parent().find(serviceContent).slideToggle() - - hello = $('.hello') - - $('.this-is-an-element').each -> - $(@).hide() \ No newline at end of file +jQuery ($) -> \ No newline at end of file diff --git a/assets/js/src/lib/menu.coffee b/assets/js/src/lib/menu.coffee new file mode 100644 index 0000000..74c4f5c --- /dev/null +++ b/assets/js/src/lib/menu.coffee @@ -0,0 +1,34 @@ +#*--------------------------------------------------------# + # Mobile Menu +#*--------------------------------------------------------# + +module.exports = -> + + bodyEl = document.body + content = document.querySelector( '.content-wrap' ) + openbtn = document.getElementById( 'open-button' ) + closebtn = document.getElementById( 'close-button' ) + isOpen = false + + init = -> + initEvents() + + initEvents = -> + openbtn.addEventListener( 'click', toggleMenu ) + if closebtn + closebtn.addEventListener( 'click', toggleMenu ) + + # content.addEventListener 'click', (event) -> + # target = event.target + # if isOpen and target isnt openbtn + # toggleMenu() + + + toggleMenu = -> + if isOpen + classie.remove( bodyEl, 'show-menu' ) + else + classie.add( bodyEl, 'show-menu' ) + isOpen = !isOpen + + init: init \ No newline at end of file diff --git a/assets/js/src/lib/modal.coffee b/assets/js/src/lib/modal.coffee new file mode 100644 index 0000000..48ce830 --- /dev/null +++ b/assets/js/src/lib/modal.coffee @@ -0,0 +1,51 @@ +#*--------------------------------------------------------# + # jQuery Modal Plugin +#*--------------------------------------------------------# + +$ = jQuery + +settings = + overlay: $('.md-overlay') + trigger: null + modal: null + close: null + +methods = + + init: (options) -> + if options + $.extend settings, options + + settings.trigger.click (event) -> + event.preventDefault() + modal = $(@).attr('data-modal') + modalID = '#' + modal + $(modalID).addClass('md-show') + settings.overlay.addClass 'overlay-it' + + mdClose = (event) -> + event.preventDefault() + settings.overlay.removeClass 'overlay-it' + settings.modal.removeClass 'md-show' + + autoPlay = (id, w, h) -> + src = id.find('iframe').attr 'src' + id.html '' + + settings.close.on 'click', mdClose + settings.overlay.on 'click', mdClose + + + log: (message) -> + try + console.log message + catch e + + +$.fn.modal = (method) -> + if methods[method] + methods[method].apply( @, Array.prototype.slice.call( arguments, 1 )) + else if typeof method == 'object' || !method + methods.init.apply( @, arguments ) + else + $.error( 'Method ' + method + ' does not exist on jQuery.plugin_name' ) \ No newline at end of file diff --git a/assets/styl/src/mains/_base.scss b/assets/styl/src/mains/_base.scss index aa47fad..54fe89e 100644 --- a/assets/styl/src/mains/_base.scss +++ b/assets/styl/src/mains/_base.scss @@ -2,38 +2,6 @@ Susy // Breakpoint \*--------------------------------------------------------*/ -// $susy: ( -// columns: 24, -// gutters: 0.25, -// gutter-position: after, -// // debug: ( -// // image: show, -// // color: rgba(#336699, .25), -// // output: background, -// // toggle: top right, -// // ), -// ); - -// $at-1200: max-width 75em; -// $at-1168: max-width 73em; -// $at-1072: max-width 67em; -// $at-1056: max-width 66em; -// $at-1024: max-width 64em; -// $at-976: max-width 61em; -// $at-960: max-width 60em; -// $at-896: max-width 56em; -// $at-848: max-width 53em; -// $at-768: max-width 48em; -// $at-720: max-width 45em; -// $at-684: max-width 43em; -// $at-640: max-width 40em; -// $at-608: max-width 38em; -// $at-560: max-width 35em; -// $at-540: max-width 34em; -// $at-480: max-width 30em; -// $at-400: max-width 25em; -// $at-320: max-width 20em; - $total-columns : 24; $column-width : 4em; $gutter-width : 1em; @@ -41,14 +9,20 @@ $grid-padding : 0; $container-style: fluid; +$at-1216: 24 76em; $at-1200: 24 75em; $at-1168: 24 73em; +$at-1120: 24 70em; +$at-1072: 24 67em; $at-1056: 24 66em; $at-1024: 24 64em; $at-976: 24 61em; $at-960: 24 60em; $at-896: 24 56em; +$at-864: 24 54em; $at-848: 24 53em; +$at-816: 24 51em; +$at-800: 24 50em; $at-768: 24 48em; $at-720: 24 45em; $at-684: 24 43em; @@ -57,5 +31,6 @@ $at-608: 24 38em; $at-560: 24 35em; $at-540: 24 34em; $at-480: 24 30em; +$at-440: 24 27.5em; $at-400: 24 25em; $at-320: 24 20em; \ No newline at end of file diff --git a/assets/styl/src/mains/_mixins.scss b/assets/styl/src/mains/_mixins.scss index 9bf5ad2..ea4bdba 100644 --- a/assets/styl/src/mains/_mixins.scss +++ b/assets/styl/src/mains/_mixins.scss @@ -76,4 +76,63 @@ $timing: cubic-bezier(0.190, 1.000, 0.220, 1.000); right: 1rem; } } -} \ No newline at end of file +} + +/*--------------------------------------------------------*\ + Positioning and Triangles +\*--------------------------------------------------------*/ + +@mixin position($position, $args) { + position: $position; + $offsets: top right bottom left; + @each $o in $offsets { + $i: index($args, $o); + + @if $i and $i + 1 <= length($args) and type-of( nth($args, $i + 1) ) == number { + #{$o}: nth($args, $i + 1); + } + } +} + +@mixin absolute($args) { + @include position(absolute, $args); +} + +@mixin fixed($args) { + @include position(fixed, $args); +} + +// @mixin triangle($dir, $left, $right, $height, $position, $args, $color) { + +// @include position($position, $args); +// display: block; +// width: 0; +// height: 0; +// content: ''; +// border-color: transparent; +// border-style: solid; + +// @if $dir == top or $dir == bottom { +// border-left-width: $left; +// border-right-width: $right; +// } +// @else if $dir == right or $dir == left { +// border-bottom-width: $left; +// border-top-width: $right; +// } + +// @if $dir == top { +// border-bottom-width: $height; +// border-bottom-color: $color; +// } @elseif $dir == bottom { +// border-top-width: $height; +// border-top-color: $color; +// } @elseif $dir == left { +// border-right-width: $height; +// border-right-color: $color; +// } @elseif $dir == right { +// border-left-width: $height; +// border-left-color: $color; +// } + +// } \ No newline at end of file diff --git a/assets/styl/src/mains/_universals.scss b/assets/styl/src/mains/_universals.scss index 6d8abbb..6744338 100644 --- a/assets/styl/src/mains/_universals.scss +++ b/assets/styl/src/mains/_universals.scss @@ -2,27 +2,33 @@ Universals \*--------------------------------------------------------*/ -*, *::before, *::after { +html { + font-size: 16px; box-sizing: border-box; -webkit-font-smoothing: antialiased; } -html { - font-size: 16px; +html, body, .wrapper { + height: 100%; +} + +*, *::before, *::after { + box-sizing: inherit; + -webkit-font-smoothing: inherit; } a { - transition: all 0.25s ease-in; + transition: all 0.75s $timing; text-decoration: none; } .wrapper { @include container; - // opacity: 0; - // transition: opacity 0.5s ease-in-out; - // &.clean-load { - // opacity: 1; - // } + opacity: 0; + transition: opacity 1s ease; + &.clean-load { + opacity: 1; + } } img { @@ -32,7 +38,6 @@ img { } .ctn { - //@include container(center); @include container; @include set-container-width(24, fluid); display: block; @@ -61,13 +66,8 @@ img { Mains \*--------------------------------------------------------*/ -section.each-section { - @include full; - padding: 5rem 0; -} - .section-title { - @include full; + @include span-columns(24,24);; @include lt(2rem, 1.25); margin-bottom: 1.5rem; } diff --git a/assets/styl/src/site/_menu.scss b/assets/styl/src/site/_menu.scss new file mode 100644 index 0000000..342fdbe --- /dev/null +++ b/assets/styl/src/site/_menu.scss @@ -0,0 +1,206 @@ +/*--------------------------------------------------------*\ + Mobile Menu Button +\*--------------------------------------------------------*/ + +.menu-button { + display: none; + @include at-breakpoint($at-960) { + display: block; + position: absolute; + top: 0; + @include ctn-absolute(right); + z-index: 1000; + width: 2.5rem; + height: 2rem; + text-indent: 2.5rem; + color: transparent; + background: transparent; + cursor: pointer; + padding: 0; + border: 0; + outline: none; + } +} + +.menu-button span, +.menu-button span::before, +.menu-button span::after { + cursor: pointer; + border-radius: 0.125rem; + height: 0.25rem; + width: 2.5rem; + background: $grey-dk; + position: absolute; + display: block; + content: ''; + .scrolled & { + background: $grey-dk; + } +} + +.header.header-white.scrolled { + .menu-button span, + .menu-button span::before, + .menu-button span::after { + background: #fff; + } +} + +.header.header-white { + .menu-button span, + .menu-button span::before, + .menu-button span::after { + background: #fff; + } +} + +.menu-button span::before { + top: -0.625rem; +} + +.menu-button span::after { + bottom: -0.625rem; +} + +.menu-button:hover { + opacity: 0.75; +} + +/*--------------------------------------------------------*\ + Close Button +\*--------------------------------------------------------*/ + +.close-button { + width: 1em; + height: 1em; + position: absolute; + right: 1em; + top: 1em; + overflow: hidden; + text-indent: 1em; + font-size: 0.75em; + border: none; + background: transparent; + color: transparent; +} + +.close-button::before, +.close-button::after { + content: ''; + position: absolute; + width: 3px; + height: 100%; + top: 0; + left: 50%; + background: #bdc3c7; +} + +.close-button::before { + transform: rotate(45deg); +} + +.close-button::after { + transform: rotate(-45deg); +} + +/*--------------------------------------------------------*\ + Menu Wrap +\*--------------------------------------------------------*/ + +.menu-wrap { + position: fixed; + z-index: 1001; + width: 300px; + height: 100%; + background: #373a47; + padding: 2.5rem 0; + transform: translate3d(-320px,0,0); + transition: transform 0.4s; + transition-timing-function: cubic-bezier(0.7,0,0.3,1); +} + +.ie-9 .menu-wrap { + display: none; +} + +.ie9 .show-menu .menu-wrap { + display: block; +} + +.nav-m, +.nav-m ul { + height: 100%; +} + +.nav-m li { + display: block; + transform: translate3d(0,500px,0); + @include md(1rem, 1.5); + text-transform: uppercase; + a { + padding: 0.5rem 0 0.5rem 2rem; + display: block; + color: #fff; + &:hover { + background: $blue-lt; + } + } +} + +.nav-m, +.nav-m li { + transition: transform 0s 0.4s; + transition-timing-function: cubic-bezier(0.7,0,0.3,1); +} + +.nav-m li:nth-child(2) { + transform: translate3d(0,1000px,0); +} + +.nav-m li:nth-child(3) { + transform: translate3d(0,1500px,0); +} + +.nav-m li:nth-child(4) { + transform: translate3d(0,2000px,0); +} + +.nav-m li:nth-child(5) { + transform: translate3d(0,2500px,0); +} + +.nav-m li:nth-child(6) { + transform: translate3d(0,3000px,0); +} + +.nav-m li:nth-child(7) { + transform: translate3d(0,3000px,0); +} + +/*--------------------------------------------------------*\ + Menu Transitions +\*--------------------------------------------------------*/ + +.show-menu .menu-wrap { + transform: translate3d(0,0,0); + transition: transform 0.8s; + transition-timing-function: cubic-bezier(0.7,0,0.3,1); +} + +.show-menu .nav-m ul, +.show-menu .nav-m li { + transform: translate3d(0,0,0); + transition: transform 0.8s; + transition-timing-function: cubic-bezier(0.7,0,0.3,1); +} + +.show-menu .nav-m li { + transition-duration: 0.9s; +} + +.show-menu .content::before { + opacity: 1; + transition: opacity 0.8s; + transition-timing-function: cubic-bezier(0.7,0,0.3,1); + transform: translate3d(0,0,0); +} \ No newline at end of file diff --git a/assets/styl/src/site/_sidr.scss b/assets/styl/src/site/_sidr.scss deleted file mode 100644 index d8147ee..0000000 --- a/assets/styl/src/site/_sidr.scss +++ /dev/null @@ -1,156 +0,0 @@ -/*--------------------------------------------------------*\ - sidr -\*--------------------------------------------------------*/ - -// #sidr { -// display: none; -// position: fixed; -// top: 0; -// height: 100%; -// z-index: 999999; -// width: 16rem; -// overflow-x: none; -// overflow-y: auto; -// background: #000; -// @include rg(0.75rem, 1); -// text-transform: uppercase; -// text-align: center; -// &.left { -// left: -16em; -// right: auto; -// } -// a.close-sidr { -// position: absolute; -// right: 2em; -// top: 1em; -// } -// ul { -// display: block; -// &.sub-menu { -// display: none; -// } -// li { -// display: block; -// padding: 1rem 0; -// border-bottom: 1px solid #333; -// &:first-child { -// border-top: 1px solid #333; -// } -// a { -// display: block; -// text-decoration: none; -// color: #fff; -// &:hover { -// color: $yellow; -// } -// &:focus { -// color: $yellow; -// } -// } -// } -// } -// } - -/*--------------------------------------------------------*\ - navicon -\*--------------------------------------------------------*/ - -#press { - display: none; - @include at-breakpoint($at-848) { - display: inline-block; - position: relative; - img { - width: 1.75em; - height: auto; - } - } -} - -.sidr-btn-ctn { - @extend .v-center; - right: 4rem; - z-index: 100; -} - -$transition-duration: .5s; -$size: 100%; -$toggled-size: .75; -$pagebg: #fff; -$rad: 0; -$width: 2rem; -$height: 0.325rem; - -.navicon-btn { - display: inline-block; - position: relative; - padding: 2.0625rem 1.5rem; - transition: $transition-duration/2; - cursor: pointer; - user-select: none; - opacity: 0.8; - .navicon:before, .navicon:after { - transition: $transition-duration/2; - } - &:hover { - transition: $transition-duration; - opacity: 1; - .navicon:before, .navicon:after { - transition: $transition-duration/2; - } - .navicon:after { - top: -0.75rem; - } - .navicon:before { - top: 0.75rem; - } - } -} - -.navicon { - position: relative; - width: $width; - height: $height; - background: $pagebg; - transition: $transition-duration; - border-radius: $rad; - &:after, &:before { - display: block; - content: ""; - height: $height; - width: $width; - background: $pagebg; - position: absolute; - z-index: -1; - transition: $transition-duration $transition-duration/2; - border-radius: $rad; - } - &:after { - top: -0.625rem; - } - &:before { - top: 0.625rem; - } -} - -.open:not(.steps) .navicon:before, -.open:not(.steps) .navicon:after { - top: 0 !important; -} - -.open .navicon:before, -.open .navicon:after { - transition: $transition-duration; -} - -.open.x { - .navicon { - background: transparent; - &:after { - transform: rotate(45deg); - } - &:before { - transform: rotate(-45deg); - } - } -} diff --git a/header.php b/header.php index fa7912e..8083cec 100644 --- a/header.php +++ b/header.php @@ -22,10 +22,5 @@ wp_nav_menu( $args ); ?> - \ No newline at end of file diff --git a/plugins/search-replace.php b/plugins/search-replace.php deleted file mode 100755 index e7d6ffd..0000000 --- a/plugins/search-replace.php +++ /dev/null @@ -1,834 +0,0 @@ - - /> $value ) { - if ( is_array( $value ) ) { - recursive_array_replace( $find, $replace, $data[ $key ] ); - } else { - // have to check if it's string to ensure no switching to string for booleans/numbers/nulls - don't need any nasty conversions - if ( is_string( $value ) ) - $data[ $key ] = str_replace( $find, $replace, $value ); - } - } - } else { - if ( is_string( $data ) ) - $data = str_replace( $find, $replace, $data ); - } -} - - -/** - * Take a serialised array and unserialise it replacing elements as needed and - * unserialising any subordinate arrays and performing the replace on those too. - * - * @param string $from String we're looking to replace. - * @param string $to What we want it to be replaced with - * @param array $data Used to pass any subordinate arrays back to in. - * @param bool $serialised Does the array passed via $data need serialising. - * - * @return array The original array with all elements replaced as needed. - */ -function recursive_unserialize_replace( $from = '', $to = '', $data = '', $serialised = false ) { - - // some unseriliased data cannot be re-serialised eg. SimpleXMLElements - try { - - if ( is_string( $data ) && ( $unserialized = @unserialize( $data ) ) !== false ) { - $data = recursive_unserialize_replace( $from, $to, $unserialized, true ); - } - - elseif ( is_array( $data ) ) { - $_tmp = array( ); - foreach ( $data as $key => $value ) { - $_tmp[ $key ] = recursive_unserialize_replace( $from, $to, $value, false ); - } - - $data = $_tmp; - unset( $_tmp ); - } - - else { - if ( is_string( $data ) ) - $data = str_replace( $from, $to, $data ); - } - - if ( $serialised ) - return serialize( $data ); - - } catch( Exception $error ) { - - } - - return $data; -} - - -/** - * Is the string we're dealing with a serialised string? ( NOT USED ANY MORE ) - * - * @param string $data The string we want to check - * - * @return bool true if serialised. - */ -function is_serialized_string( $data ) { - // if it isn't a string, it isn't a serialized string - if ( !is_string( $data ) ) - return false; - $data = trim( $data ); - if ( preg_match( '/^s:[0-9]+:.*;$/s', $data ) ) // this should fetch all serialized strings - return true; - return false; -} - - -/** - * The main loop triggered in step 5. Up here to keep it out of the way of the - * HTML. This walks every table in the db that was selected in step 3 and then - * walks every row and column replacing all occurences of a string with another. - * We split large tables into 50,000 row blocks when dealing with them to save - * on memmory consumption. - * - * @param mysql $connection The db connection object - * @param string $search What we want to replace - * @param string $replace What we want to replace it with. - * @param array $tables The tables we want to look at. - * - * @return array Collection of information gathered during the run. - */ -function icit_srdb_replacer( $connection, $search = '', $replace = '', $tables = array( ) ) { - global $guid, $exclude_cols; - - $report = array( 'tables' => 0, - 'rows' => 0, - 'change' => 0, - 'updates' => 0, - 'start' => microtime( ), - 'end' => microtime( ), - 'errors' => array( ), - ); - - if ( is_array( $tables ) && ! empty( $tables ) ) { - foreach( $tables as $table ) { - $report[ 'tables' ]++; - - $columns = array( ); - - // Get a list of columns in this table - $fields = mysql_query( 'DESCRIBE ' . $table, $connection ); - while( $column = mysql_fetch_array( $fields ) ) - $columns[ $column[ 'Field' ] ] = $column[ 'Key' ] == 'PRI' ? true : false; - - // Count the number of rows we have in the table if large we'll split into blocks, This is a mod from Simon Wheatley - $row_count = mysql_query( 'SELECT COUNT(*) FROM ' . $table, $connection ); - $rows_result = mysql_fetch_array( $row_count ); - $row_count = $rows_result[ 0 ]; - if ( $row_count == 0 ) - continue; - - $page_size = 50000; - $pages = ceil( $row_count / $page_size ); - - for( $page = 0; $page < $pages; $page++ ) { - - $current_row = 0; - $start = $page * $page_size; - $end = $start + $page_size; - // Grab the content of the table - $data = mysql_query( sprintf( 'SELECT * FROM %s LIMIT %d, %d', $table, $start, $end ), $connection ); - - if ( ! $data ) - $report[ 'errors' ][] = mysql_error( ); - - while ( $row = mysql_fetch_array( $data ) ) { - - $report[ 'rows' ]++; // Increment the row counter - $current_row++; - - $update_sql = array( ); - $where_sql = array( ); - $upd = false; - - foreach( $columns as $column => $primary_key ) { - if ( $guid == 1 && in_array( $column, $exclude_cols ) ) - continue; - - $edited_data = $data_to_fix = $row[ $column ]; - - // Run a search replace on the data that'll respect the serialisation. - $edited_data = recursive_unserialize_replace( $search, $replace, $data_to_fix ); - - // Something was changed - if ( $edited_data != $data_to_fix ) { - $report[ 'change' ]++; - $update_sql[] = $column . ' = "' . mysql_real_escape_string( $edited_data ) . '"'; - $upd = true; - } - - if ( $primary_key ) - $where_sql[] = $column . ' = "' . mysql_real_escape_string( $data_to_fix ) . '"'; - } - - if ( $upd && ! empty( $where_sql ) ) { - $sql = 'UPDATE ' . $table . ' SET ' . implode( ', ', $update_sql ) . ' WHERE ' . implode( ' AND ', array_filter( $where_sql ) ); - $result = mysql_query( $sql, $connection ); - if ( ! $result ) - $report[ 'errors' ][] = mysql_error( ); - else - $report[ 'updates' ]++; - - } elseif ( $upd ) { - $report[ 'errors' ][] = sprintf( '"%s" has no primary key, manual change needed on row %s.', $table, $current_row ); - } - - } - } - } - - } - $report[ 'end' ] = microtime( ); - - return $report; -} - - -/** - * Take an array and turn it into an English formatted list. Like so: - * array( 'a', 'b', 'c', 'd' ); = a, b, c, or d. - * - * @param array $input_arr The source array - * - * @return string English formatted string - */ -function eng_list( $input_arr = array( ), $sep = ', ', $before = '"', $after = '"' ) { - if ( ! is_array( $input_arr ) ) - return false; - - $_tmp = $input_arr; - - if ( count( $_tmp ) >= 2 ) { - $end2 = array_pop( $_tmp ); - $end1 = array_pop( $_tmp ); - array_push( $_tmp, $end1 . $after . ' or ' . $before . $end2 ); - } - - return $before . implode( $before . $sep . $after, $_tmp ) . $after; -} - - -/** - * Search through the file name passed for a set of defines used to set up - * WordPress db access. - * - * @param string $filename The file name we need to scan for the defines. - * - * @return array List of db connection details. - */ -function icit_srdb_define_find( $filename = 'wp-config.php' ) { - - $filename = dirname( __FILE__ ) . '/' . basename( $filename ); - - if ( file_exists( $filename ) && is_file( $filename ) && is_readable( $filename ) ) { - $file = @fopen( $filename, 'r' ); - $file_content = fread( $file, filesize( $filename ) ); - @fclose( $file ); - } - - preg_match_all( '/define\s*?\(\s*?([\'"])(DB_NAME|DB_USER|DB_PASSWORD|DB_HOST|DB_CHARSET)\1\s*?,\s*?([\'"])([^\3]*?)\3\s*?\)\s*?;/si', $file_content, $defines ); - - if ( ( isset( $defines[ 2 ] ) && ! empty( $defines[ 2 ] ) ) && ( isset( $defines[ 4 ] ) && ! empty( $defines[ 4 ] ) ) ) { - foreach( $defines[ 2 ] as $key => $define ) { - - switch( $define ) { - case 'DB_NAME': - $name = $defines[ 4 ][ $key ]; - break; - case 'DB_USER': - $user = $defines[ 4 ][ $key ]; - break; - case 'DB_PASSWORD': - $pass = $defines[ 4 ][ $key ]; - break; - case 'DB_HOST': - $host = $defines[ 4 ][ $key ]; - break; - case 'DB_CHARSET': - $char = $defines[ 4 ][ $key ]; - break; - } - } - } - - return array( $host, $name, $user, $pass, $char ); -} - -/* - Check and clean all vars, change the step we're at depending on the quality of - the vars. -*/ -$errors = array( ); -$step = isset( $_REQUEST[ 'step' ] ) ? intval( $_REQUEST[ 'step' ] ) : 0; // Set the step to the request, we'll change it as we need to. - -// Check that we need to scan wp-config. -$loadwp = isset( $_POST[ 'loadwp' ] ) ? true : false; - -// DB details -$host = isset( $_POST[ 'host' ] ) ? stripcslashes( $_POST[ 'host' ] ) : 'localhost'; // normally localhost, but not necessarily. -$data = isset( $_POST[ 'data' ] ) ? stripcslashes( $_POST[ 'data' ] ) : ''; // your database -$user = isset( $_POST[ 'user' ] ) ? stripcslashes( $_POST[ 'user' ] ) : ''; // your db userid -$pass = isset( $_POST[ 'pass' ] ) ? stripcslashes( $_POST[ 'pass' ] ) : ''; // your db password -$char = isset( $_POST[ 'char' ] ) ? stripcslashes( $_POST[ 'char' ] ) : ''; // your db charset -// Search replace details -$srch = isset( $_POST[ 'srch' ] ) ? stripcslashes( $_POST[ 'srch' ] ) : ''; -$rplc = isset( $_POST[ 'rplc' ] ) ? stripcslashes( $_POST[ 'rplc' ] ) : ''; -// Tables to scanned -$tables = isset( $_POST[ 'tables' ] ) && is_array( $_POST[ 'tables' ] ) ? array_map( 'stripcslashes', $_POST[ 'tables' ] ) : array( ); -// Do we want to skip changing the guid column -$guid = isset( $_POST[ 'guid' ] ) && $_POST[ 'guid' ] == 1 ? 1 : 0; -$exclude_cols = array( 'guid' ); // Add columns to be excluded from changes to this array. If the GUID checkbox is ticked they'll be skipped. - -// If we're at the start we'll check to see if wp is about so we can get the details from the wp-config. -if ( $step == 0 || $step == 1 ) - $step = file_exists( dirname( __FILE__ ) . '/wp-config.php' ) ? 1 : 2; - -// Scan wp-config for the defines. We can't just include it as it will try and load the whole of wordpress. -if ( $loadwp && file_exists( dirname( __FILE__ ) . '/wp-config.php' ) ) - list( $host, $data, $user, $pass, $char ) = icit_srdb_define_find( 'wp-config.php' ); - -// Check the db connection else go back to step two. -if ( $step >= 3 ) { - $connection = @mysql_connect( $host, $user, $pass ); - if ( ! $connection ) { - $errors[] = mysql_error( ); - $step = 2; - } - - if ( ! empty( $char ) ) { - if ( function_exists( 'mysql_set_charset' ) ) - mysql_set_charset( $char, $connection ); - else - mysql_query( 'SET NAMES ' . $char, $connection ); // Shouldn't really use this, but there for backwards compatibility - } - - // Do we have any tables and if so build the all tables array - $all_tables = array( ); - @mysql_select_db( $data, $connection ); - $all_tables_mysql = @mysql_query( 'SHOW TABLES', $connection ); - - if ( ! $all_tables_mysql ) { - $errors[] = mysql_error( ); - $step = 2; - } else { - while ( $table = mysql_fetch_array( $all_tables_mysql ) ) { - $all_tables[] = $table[ 0 ]; - } - } -} - -// Check and clean the tables array -$tables = array_filter( $tables, 'check_table_array' ); -if ( $step >= 4 && empty( $tables ) ) { - $errors[] = 'You didn\'t select any tables.'; - $step = 3; -} - -// Make sure we're searching for something. -if ( $step >= 5 ) { - if ( empty( $srch ) ) { - $errors[] = 'Missing search string.'; - $step = 4; - } - - if ( empty( $rplc ) ) { - $errors[] = 'Replace string is blank.'; - $step = 4; - } - - if ( ! ( empty( $rplc ) && empty( $srch ) ) && $rplc == $srch ) { - $errors[] = 'Search and replace are the same, please check your values.'; - $step = 4; - } -} - - -/* - Send the HTML to the screen. -*/ -@header('Content-Type: text/html; charset=UTF-8');?> - - - - Search and replace DB. - - - -
'; - foreach( $errors as $error ) - echo '

' . $error . '

'; - echo '
'; - }?> - - -

Safe Search Replace

-

by interconnect/it

- -

Load DB connection values from WordPress?

-
-
-

-
-
-

Database details

-
-
-

- - -

- -

- - -

- -

- - -

- -

- - -

- -

- - -

- -
-
-

Which tables do you want to scan?

-
- -
- - - - - - -

- - - Multiple tables can be selected with ( CTRL/CMD + click ). -

- -

- - If the values in the GUID column from the WordPress posts table change RSS readers and other tools will be under the impression that the posts are new and may show them in feeds again.
- All columns titled will be skipped if this it ticked.
-

- - -
-
-

What to replace?

-
-
- - - - - - $tab ) { - printf( '', esc_html_attr( $i, false ), esc_html_attr( $tab, false ) ); - } ?> - -

- - -

- -

- - -

- - -
-
'; - foreach( $report[ 'errors' ] as $error ) - echo '

' . $error . '

'; - echo ''; - } - - // Calc the time taken. - $time = array_sum( explode( ' ', $report[ 'end' ] ) ) - array_sum( explode( ' ', $report[ 'start' ] ) ); ?> - -

Completed

-

"%s" with "%s" we scanned %d tables with a total of %d rows, %d cells were changed and %d db update performed and it all took %f seconds.', $srch, $rplc, $report[ 'tables' ], $report[ 'rows' ], $report[ 'change' ], $report[ 'updates' ], $time ); ?>

-

No idea how we got here.

-

Something strange has happened.

Warning'; - printf( '

Safe mode is on so you may run into problems if it takes longer than %s seconds to process your request.

', ini_get( 'max_execution_time' ) ); -} -/* - Close out the html and exit. -*/ ?> -
-

interconnect/it Safe Search and Replace on Database with Serialized Data v2.0.0

-

This developer/sysadmin tool helps solve the problem of doing a search and replace on a - WordPress site when doing a migration to a domain name with a different length.

- -

WARNING! Take a backup first, and carefully test the results of this code. - If you don't, and you vape your data then you only have yourself to blame. - Seriously. And if you're English is bad and you don't fully understand the - instructions then STOP. Right there. Yes. Before you do any damage. - -

Don't Forget to Remove Me!

- -

Delete this utility from your - server after use. It represents a major security threat to your database if - maliciously used.

- -

Use Of This Script Is Entirely At Your Own Risk

- -

We accept no liability from the use of this tool.

- -

If you're not comfortable with this kind of stuff, get an expert, like us, to do - this work for you. You do this ENTIRELY AT YOUR OWN RISK! We accept no responsibility - if you mess up your data. There is NO UNDO here!

- -

The easiest way to use it is to copy your site's files and DB to the new location. - You then, if required, fix up your .htaccess and wp-config.php appropriately. Once - done, run this script, select your tables (in most cases all of them) and then - enter the search replace strings. You can press back in your browser to do - this several times, as may be required in some cases.

- -

Of course, you can use the script in many other ways - for example, finding - all references to a company name and changing it when a rebrand comes along. Or - perhaps you changed your name. Whatever you want to search and replace the code will help.

- -

Got feedback on this script? Come tell us! - -

- - - diff --git a/plugins/search-replace/.gitignore b/plugins/search-replace/.gitignore new file mode 100755 index 0000000..93f1361 --- /dev/null +++ b/plugins/search-replace/.gitignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log diff --git a/plugins/search-replace/README.md b/plugins/search-replace/README.md new file mode 100755 index 0000000..b9038c1 --- /dev/null +++ b/plugins/search-replace/README.md @@ -0,0 +1,78 @@ +# Search Replace DB + +This script was made to aid the process of migrating PHP and MySQL based websites. It has additional features for WordPress and Drupal but works for most other similar CMSes. + +If you find a problem let us know in the issues area and if you can improve the code then please fork the repository and send us a pull request :) + +## Warnings & Limitations + +1. Three character UTF8 seems to break in certain cases. +2. We can't test every possible case, though we do our best. Backups and verifications are important. +3. The license for this script is GPL v3 and no longer WTFPL. Please bear this in mind if contributing or branching. +4. You use this script at your own risk and we have no responsibility for any problems it may cause. Do backups. + +## Usage + +1. Migrate all your website files +2. Upload the script folder to your web root or higher (eg. the same folder as `wp-config.php` or `wp-content`) +3. Browse to the script folder URL in your web browser +4. Fill in the fields as needed +5. Choose the `Dry run` button to do a dry run without searching/replacing + +### CLI script + +``` +ARGS + -h, --host + Required. The hostname of the database server. + -n, --name + Required. Database name. + -u, --user + Required. Database user. + -p, --pass + Required. Database user's password. + -s, --search + String to search for or `preg_replace()` style + regular expression. + -r, --replace + None empty string to replace search with or + `preg_replace()` style replacement. + -t, --tables + If set only runs the script on the specified table, comma + separate for multiple values. + -i, --include-cols + If set only runs the script on the specified columns, comma + separate for multiple values. + -x, --exclude-cols + If set excludes the specified columns, comma separate for + multiple values. + -g, --regex [no value] + Treats value for -s or --search as a regular expression and + -r or --replace as a regular expression replacement. + -l, --pagesize + How rows to fetch at a time from a table. + -z, --dry-run [no value] + Prevents any updates happening so you can preview the number + of changes to be made + -e, --alter-engine + Changes the database table to the specified database engine + eg. InnoDB or MyISAM. If specified search/replace arguments + are ignored. They will not be run simultaneously. + -a, --alter-collation + Changes the database table to the specified collation + eg. utf8_unicode_ci. If specified search/replace arguments + are ignored. They will not be run simultaneously. + -v, --verbose [true|false] + Defaults to true, can be set to false to run script silently. + --help + Displays this help message ;) +``` + +## Troubleshooting + +### I get a popup saying there was an AJAX error + +This happens occasionally and could be for a couple of reasons: + + * script was unable to set the timeout so PHP closed the connection before the table could be processed, this can happen on some server configurations + * When using php-fpm (as you have with VVV) make sure that the socket is owned by the server user `chown www-data:www-data /var/run/php5-fpm.sock` diff --git a/plugins/search-replace/composer.json b/plugins/search-replace/composer.json new file mode 100755 index 0000000..d797dba --- /dev/null +++ b/plugins/search-replace/composer.json @@ -0,0 +1,12 @@ +{ + "name": "interconnectit/search-replace-db", + "description": "A PHP search replace tool for quickly modifying a string throughout a database. Useful for changing the base URL when migrating a WordPress site from development to production.", + "license": "GPL-3.0", + "homepage": "https://github.com/interconnectit/Search-Replace-DB", + "require": { + "php": ">=5.3.0" + }, + "support": { + "issues": "https://github.com/interconnectit/Search-Replace-DB/issues" + } +} diff --git a/plugins/search-replace/index.php b/plugins/search-replace/index.php new file mode 100755 index 0000000..043e842 --- /dev/null +++ b/plugins/search-replace/index.php @@ -0,0 +1,2651 @@ +is_wordpress() ) { + + // populate db details + $name = DB_NAME; + $user = DB_USER; + $pass = DB_PASSWORD; + $host = DB_HOST; + $charset = DB_CHARSET; + $collate = DB_COLLATE; + + $this->response( $name, $user, $pass, $host, $charset, $collate ); + + } elseif( $bootstrap && $this->is_drupal() ) { + + $database = Database::getConnection(); + $database_opts = $database->getConnectionOptions(); + + // populate db details + $name = $database_opts[ 'database' ]; + $user = $database_opts[ 'username' ]; + $pass = $database_opts[ 'password' ]; + $host = $database_opts[ 'host' ]; + $charset = 'utf8'; + $collate = ''; + + $this->response( $name, $user, $pass, $host, $charset, $collate ); + + } else { + + $this->response(); + + } + + } + + + public function response( $name = '', $user = '', $pass = '', $host = '127.0.0.1', $charset = 'utf8', $collate = '' ) { + + // always override with post data + if ( isset( $_POST[ 'name' ] ) ) { + $name = $_POST[ 'name' ]; // your database + $user = $_POST[ 'user' ]; // your db userid + $pass = $_POST[ 'pass' ]; // your db password + $host = $_POST[ 'host' ]; // normally localhost, but not necessarily. + $charset = 'utf8'; // isset( $_POST[ 'char' ] ) ? stripcslashes( $_POST[ 'char' ] ) : ''; // your db charset + $collate = ''; + } + + // Search replace details + $search = isset( $_POST[ 'search' ] ) ? $_POST[ 'search' ] : ''; + $replace = isset( $_POST[ 'replace' ] ) ? $_POST[ 'replace' ] : ''; + + // regex options + $regex = isset( $_POST[ 'regex' ] ); + $regex_i = isset( $_POST[ 'regex_i' ] ); + $regex_m = isset( $_POST[ 'regex_m' ] ); + $regex_s = isset( $_POST[ 'regex_s' ] ); + $regex_x = isset( $_POST[ 'regex_x' ] ); + + // Tables to scanned + $tables = isset( $_POST[ 'tables' ] ) && is_array( $_POST[ 'tables' ] ) ? $_POST[ 'tables' ] : array( ); + if ( isset( $_POST[ 'use_tables' ] ) && $_POST[ 'use_tables' ] == 'all' ) + $tables = array(); + + // exclude / include columns + $exclude_cols = isset( $_POST[ 'exclude_cols' ] ) ? $_POST[ 'exclude_cols' ] : array(); + $include_cols = isset( $_POST[ 'include_cols' ] ) ? $_POST[ 'include_cols' ] : array(); + + foreach( array( 'exclude_cols', 'include_cols' ) as $maybe_string_arg ) { + if ( is_string( $$maybe_string_arg ) ) + $$maybe_string_arg = array_filter( array_map( 'trim', explode( ',', $$maybe_string_arg ) ) ); + } + + // update class vars + $vars = array( + 'name', 'user', 'pass', 'host', + 'charset', 'collate', 'tables', + 'search', 'replace', + 'exclude_cols', 'include_cols', + 'regex', 'regex_i', 'regex_m', 'regex_s', 'regex_x' + ); + + foreach( $vars as $var ) { + if ( isset( $$var ) ) + $this->set( $var, $$var ); + } + + // are doing something? + $show = ''; + if ( isset( $_POST[ 'submit' ] ) ) { + if ( is_array( $_POST[ 'submit' ] ) ) + $show = key( $_POST[ 'submit' ] ); + if ( is_string( $_POST[ 'submit' ] ) ) + $show = preg_replace( '/submit\[([a-z0-9]+)\]/', '$1', $_POST[ 'submit' ] ); + } + + // is it an AJAX call + $ajax = isset( $_POST[ 'ajax' ] ); + + // body callback + $html = 'ui'; + + switch( $show ) { + + // remove search replace + case 'delete': + + // determine if it's the folder of compiled version + if ( basename( __FILE__ ) == 'index.php' ) + $path = str_replace( basename( __FILE__ ), '', __FILE__ ); + else + $path = __FILE__; + + if ( $this->delete_script( $path ) ) { + if ( is_file( __FILE__ ) && file_exists( __FILE__ ) ) + $this->add_error( 'Could not delete the search replace script. You will have to delete it manually', 'delete' ); + else + $this->add_error( 'Search/Replace has been successfully removed from your server', 'delete' ); + } else { + $this->add_error( 'Could not delete the search replace script automatically. You will have to delete it manually, sorry!', 'delete' ); + } + + $html = 'deleted'; + + break; + + case 'liverun': + + // bsy-web, 20130621: Check live run was explicitly clicked and only set false then + $this->set( 'dry_run', false ); + + case 'dryrun': + + // build regex string + // non UI implements can just pass in complete regex string + if ( $this->regex ) { + $mods = ''; + if ( $this->regex_i ) $mods .= 'i'; + if ( $this->regex_s ) $mods .= 's'; + if ( $this->regex_m ) $mods .= 'm'; + if ( $this->regex_x ) $mods .= 'x'; + $this->search = '/' . $this->search . '/' . $mods; + } + + // call search replace class + $parent = parent::__construct( array( + 'name' => $this->get( 'name' ), + 'user' => $this->get( 'user' ), + 'pass' => $this->get( 'pass' ), + 'host' => $this->get( 'host' ), + 'search' => $this->get( 'search' ), + 'replace' => $this->get( 'replace' ), + 'tables' => $this->get( 'tables' ), + 'dry_run' => $this->get( 'dry_run' ), + 'regex' => $this->get( 'regex' ), + 'exclude_cols' => $this->get( 'exclude_cols' ), + 'include_cols' => $this->get( 'include_cols' ) + ) ); + + break; + + case 'innodb': + + // call search replace class to alter engine + $parent = parent::__construct( array( + 'name' => $this->get( 'name' ), + 'user' => $this->get( 'user' ), + 'pass' => $this->get( 'pass' ), + 'host' => $this->get( 'host' ), + 'tables' => $this->get( 'tables' ), + 'alter_engine' => 'InnoDB', + ) ); + + break; + + case 'utf8': + + // call search replace class to alter engine + $parent = parent::__construct( array( + 'name' => $this->get( 'name' ), + 'user' => $this->get( 'user' ), + 'pass' => $this->get( 'pass' ), + 'host' => $this->get( 'host' ), + 'tables' => $this->get( 'tables' ), + 'alter_collation' => 'utf8_unicode_ci', + ) ); + + break; + + case 'update': + default: + + // get tables or error messages + $this->db_setup(); + + if ( $this->db_valid() ) { + + // get engines + $this->set( 'engines', $this->get_engines() ); + + // get tables + $this->set( 'all_tables', $this->get_tables() ); + + } + + break; + } + + $info = array( + 'table_select' => $this->table_select( false ), + 'engines' => $this->get( 'engines' ) + ); + + // set header again before output in case WP does it's thing + header( 'HTTP/1.1 200 OK' ); + + if ( ! $ajax ) { + $this->html( $html ); + } else { + + // return json version of results + header( 'Content-Type: application/json' ); + + echo json_encode( array( + 'errors' => $this->get( 'errors' ), + 'report' => $this->get( 'report' ), + 'info' => $info + ) ); + + exit; + + } + + } + + + public function exceptions( $exception ) { + $this->add_error( '

' . $exception->getMessage() . '

' ); + } + + public function errors( $no, $message, $file, $line ) { + $this->add_error( '

' . "{$no}: {$message} in {$file} on line {$line}" . '

', 'results' ); + } + + public function fatal_handler() { + $error = error_get_last(); + + if( $error !== NULL ) { + $errno = $error["type"]; + $errfile = $error["file"]; + $errline = $error["line"]; + $errstr = $error["message"]; + + if ( $errno == 1 ) { + header( 'HTTP/1.1 200 OK' ); + $this->add_error( '

Could not bootstrap environment.
' . "Fatal error in {$errfile}, line {$errline}. {$errstr}" . '

', 'environment' ); + $this->response(); + } + } + } + + + /** + * http://stackoverflow.com/questions/3349753/delete-directory-with-files-in-it + * + * @param string $path directory/file path + * + * @return void + */ + public function delete_script( $path ) { + return is_file( $path ) ? + @unlink( $path ) : + array_map( array( $this, __FUNCTION__ ), glob( $path . '/*' ) ) == @rmdir( $path ); + } + + + /** + * Attempts to detect a WordPress installation and bootstraps the environment with it + * + * @return bool Whether it is a WP install and we have database credentials + */ + public function is_wordpress() { + + $path_mod = ''; + $depth = 0; + $max_depth = 4; + $bootstrap_file = 'wp-blog-header.php'; + + while( ! file_exists( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ) ) { + $path_mod .= '/..'; + if ( $depth++ >= $max_depth ) + break; + } + + if ( file_exists( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ) ) { + + // store WP path + $this->path = dirname( __FILE__ ) . $path_mod; + + // just in case we're white screening + try { + // need to make as many of the globals available as possible or things can break + // (globals suck) + global $wp, $wpdb, $wp_query, $wp_the_query, $wp_version, + $wp_db_version, $tinymce_version, $manifest_version, + $required_php_version, $required_mysql_version, + $post, $posts, $wp_locale, $authordata, $more, $numpages, + $currentday, $currentmonth, $page, $pages, $multipage, + $wp_rewrite, $wp_filesystem, $blog_id, $request, + $wp_styles, $wp_taxonomies, $wp_post_types, $wp_filter, + $wp_object_cache, $query_string, $single, $post_type, + $is_iphone, $is_chrome, $is_safari, $is_NS4, $is_opera, + $is_macIE, $is_winIE, $is_gecko, $is_lynx, $is_IE, + $is_apache, $is_iis7, $is_IIS; + + // prevent multisite redirect + define( 'WP_INSTALLING', true ); + + // prevent super/total cache + define( 'DONOTCACHEDB', true ); + define( 'DONOTCACHEPAGE', true ); + define( 'DONOTCACHEOBJECT', true ); + define( 'DONOTCDN', true ); + define( 'DONOTMINIFY', true ); + + // cancel batcache + if ( function_exists( 'batcache_cancel' ) ) + batcache_cancel(); + + // bootstrap WordPress + require( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ); + + $this->set( 'path', ABSPATH ); + + $this->set( 'is_wordpress', true ); + + return true; + + } catch( Exception $error ) { + + // try and get database values using regex approach + $db_details = $this->define_find( $this->path . '/wp-config.php' ); + + if ( $db_details ) { + + define( 'DB_NAME', $db_details[ 'name' ] ); + define( 'DB_USER', $db_details[ 'user' ] ); + define( 'DB_PASSWORD', $db_details[ 'pass' ] ); + define( 'DB_HOST', $db_details[ 'host' ] ); + define( 'DB_CHARSET', $db_details[ 'char' ] ); + define( 'DB_COLLATE', $db_details[ 'coll' ] ); + + // additional error message + $this->add_error( 'WordPress detected but could not bootstrap environment. There might be a PHP error, possibly caused by changes to the database', 'db' ); + + } + + if ( $db_details ) + return true; + + } + + } + + return false; + } + + + public function is_drupal() { + + $path_mod = ''; + $depth = 0; + $max_depth = 4; + $bootstrap_file = 'includes/bootstrap.inc'; + + while( ! file_exists( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ) ) { + $path_mod .= '/..'; + if ( $depth++ >= $max_depth ) + break; + } + + if ( file_exists( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ) ) { + + try { + // require the bootstrap include + require_once( dirname( __FILE__ ) . "{$path_mod}/{$bootstrap_file}" ); + + // define drupal root + if ( ! defined( 'DRUPAL_ROOT' ) ) + define( 'DRUPAL_ROOT', dirname( __FILE__ ) . $path_mod ); + + // load drupal + drupal_bootstrap( DRUPAL_BOOTSTRAP_FULL ); + + // confirm environment + $this->set( 'is_drupal', true ); + + return true; + + } catch( Exception $error ) { + + $this->add_error( 'Drupal detected but could not bootstrap environment. There might be a PHP error, possibly caused by changes to the database', 'db' ); + + } + + } + + return false; + } + + + /** + * Search through the file name passed for a set of defines used to set up + * WordPress db access. + * + * @param string $filename The file name we need to scan for the defines. + * + * @return array List of db connection details. + */ + public function define_find( $filename = 'wp-config.php' ) { + + if ( $filename == 'wp-config.php' ) { + $filename = dirname( __FILE__ ) . '/' . basename( $filename ); + + // look up one directory if config file doesn't exist in current directory + if ( ! file_exists( $filename ) ) + $filename = dirname( __FILE__ ) . '/../' . basename( $filename ); + } + + if ( file_exists( $filename ) && is_file( $filename ) && is_readable( $filename ) ) { + $file = @fopen( $filename, 'r' ); + $file_content = fread( $file, filesize( $filename ) ); + @fclose( $file ); + } + + preg_match_all( '/define\s*?\(\s*?([\'"])(DB_NAME|DB_USER|DB_PASSWORD|DB_HOST|DB_CHARSET|DB_COLLATE)\1\s*?,\s*?([\'"])([^\3]*?)\3\s*?\)\s*?;/si', $file_content, $defines ); + + if ( ( isset( $defines[ 2 ] ) && ! empty( $defines[ 2 ] ) ) && ( isset( $defines[ 4 ] ) && ! empty( $defines[ 4 ] ) ) ) { + foreach( $defines[ 2 ] as $key => $define ) { + + switch( $define ) { + case 'DB_NAME': + $name = $defines[ 4 ][ $key ]; + break; + case 'DB_USER': + $user = $defines[ 4 ][ $key ]; + break; + case 'DB_PASSWORD': + $pass = $defines[ 4 ][ $key ]; + break; + case 'DB_HOST': + $host = $defines[ 4 ][ $key ]; + break; + case 'DB_CHARSET': + $char = $defines[ 4 ][ $key ]; + break; + case 'DB_COLLATE': + $coll = $defines[ 4 ][ $key ]; + break; + } + } + } + + return array( + 'host' => $host, + 'name' => $name, + 'user' => $user, + 'pass' => $pass, + 'char' => $char, + 'coll' => $coll + ); + } + + + /** + * Display the current url + * + */ + public function self_link() { + return 'http://' . $_SERVER[ 'HTTP_HOST' ] . rtrim( $_SERVER[ 'REQUEST_URI' ], '/' ); + } + + + /** + * Simple html escaping + * + * @param string $string Thing that needs escaping + * @param bool $echo Do we echo or return? + * + * @return string Escaped string. + */ + public function esc_html_attr( $string = '', $echo = false ) { + $output = htmlentities( $string, ENT_QUOTES, 'UTF-8' ); + if ( $echo ) + echo $output; + else + return $output; + } + + public function checked( $value, $value2, $echo = true ) { + $output = $value == $value2 ? ' checked="checked"' : ''; + if ( $echo ) + echo $output; + return $output; + } + + public function selected( $value, $value2, $echo = true ) { + $output = $value == $value2 ? ' selected="selected"' : ''; + if ( $echo ) + echo $output; + return $output; + } + + + public function get_errors( $type ) { + if ( ! isset( $this->errors[ $type ] ) || ! count( $this->errors[ $type ] ) ) + return; + + echo '
'; + foreach( $this->errors[ $type ] as $error ) { + if ( $error instanceof Exception ) + echo '

' . $error->getMessage() . '

'; + elseif ( is_string( $error ) ) + echo $error; + } + echo '
'; + } + + + public function get_report( $table = null ) { + + $report = $this->get( 'report' ); + + if ( empty( $report ) ) + return; + + $dry_run = $this->get( 'dry_run' ); + $search = $this->get( 'search' ); + $replace = $this->get( 'replace' ); + + // Calc the time taken. + $time = array_sum( explode( ' ', $report[ 'end' ] ) ) - array_sum( explode( ' ', $report[ 'start' ] ) ); + + $srch_rplc_input_phrase = $dry_run ? + 'searching for "' . $search . '" (to be replaced by "' . $replace . '")' : + 'replacing "' . $search . '" with "' . $replace . '"'; + + echo ' +
'; + + echo ' +

Report

'; + + echo ' +

'; + printf( + 'In the process of %s we scanned %d tables with a total of + %d rows, %d cells %s changed. + %d db updates were actually performed. + It all took %f seconds.', + $srch_rplc_input_phrase, + $report[ 'tables' ], + $report[ 'rows' ], + $report[ 'change' ], + $dry_run ? 'would have been' : 'were', + $report[ 'updates' ], + $time + ); + echo ' +

'; + + echo ' + + + + + + + + + + + '; + foreach( $report[ 'table_reports' ] as $table => $t_report ) { + + $t_time = array_sum( explode( ' ', $t_report[ 'end' ] ) ) - array_sum( explode( ' ', $t_report[ 'start' ] ) ); + + echo ' + '; + printf( ' + + + + + ', + $table, + $t_report[ 'rows' ], + $t_report[ 'change' ], + $t_report[ 'updates' ], + $t_time + ); + echo ' + '; + + } + echo ' + +
TableRowsCells changedUpdatesSeconds
%s:%d%d%d%f
'; + + echo ' +
'; + + } + + + public function table_select( $echo = true ) { + + $table_select = ''; + + if ( ! empty( $this->all_tables ) ) { + $table_select .= ''; + } + + if ( $echo ) + echo $table_select; + return $table_select; + } + + + public function ui() { + + // Warn if we're running in safe mode as we'll probably time out. + if ( ini_get( 'safe_mode' ) ) { + ?> +
+

Warning

+ Safe mode is on so you may run into problems if it takes longer than %s seconds to process your request.

', ini_get( 'max_execution_time' ) ); ?> +
+ +
+ + + + + +
+ +

db details

+ + get_errors( 'environment' ); ?> + + get_errors( 'db' ); ?> + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ +

tables

+ + get_errors( 'tables' ); ?> + +
+ +
+ +
+ +
+ +
+ +
table_select(); ?>
+ +
+ +
+ +
+ + +
+
+ + +
+ +
+ +
+ + +
+ +

actions

+ + get_errors( 'results' ); ?> + +
+ + + + + db_valid() ) echo 'disabled="disabled"'; ?> class="db-required" /> + + db_valid() ) echo 'disabled="disabled"'; ?> class="db-required" /> + + / + + + + get( 'engines' ) ) ) { ?> + db_valid() ) echo 'disabled="disabled"'; ?> class="db-required secondary field-advanced" /> + + + db_valid() ) echo 'disabled="disabled"'; ?> class="db-required secondary field-advanced" /> + + + +
+ + get_report(); ?> + +
+ + + +
+ +

delete

+ +
+

+ + Once you’re done click the delete me button to secure your server +

+
+ +
+ +
+ +
+ +

interconnect/it

+ +

Safe Search and Replace on Database with Serialized Data v3.0.0

+ +

This developer/sysadmin tool carries out search/replace functions on MySQL DBs and can handle serialised PHP Arrays and Objects.

+ +

WARNINGS! + Ensure data is backed up. + We take no responsibility for any damage caused by this script or its misuse. + DB Connection Settings are auto-filled when WordPress or Drupal is detected but can be confused by commented out settings so CHECK! + There is NO UNDO! + Be careful running this script on a production server.

+ +

Don't Forget to Remove Me!

+ +

Delete this utility from your + server after use by clicking the 'delete me' button. It represents a major security threat to your database if + maliciously used.

+ +

If you have feedback or want to contribute to this script click the delete button to find out how.

+ +

We don't put links on the search replace UI itself to avoid seeing URLs for the script in our access logs.

+ +

Again, use Of This Script Is Entirely At Your Own Risk

+ +

The easiest and safest way to use this script is to copy your site's files and DB to a new location. + You then, if required, fix up your .htaccess and wp-config.php appropriately. Once + done, run this script, select your tables (in most cases all of them) and then + enter the search replace strings. You can press back in your browser to do + this several times, as may be required in some cases.

+ +
+ + + + +
+ +

interconnect/it

+ + get_errors( 'delete' ); ?> + +
+

Thanks for using our search/replace tool! We’d really appreciate it if you took a + minute to join our mailing list and check out some of our other products.

+
+ +
+ + +
+ +

newsletter

+ +
+ + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +

contribute

+ +
+ +

Got suggestions? Found a bug? Want to contribute code? Join us on Github!

+ +
+ +
+ +
+ +

blogs

+ + + +
+ + +
+ +

products

+ + + +
+ + + + regex ? 'regex-on' : 'regex-off'; + + ?> + + + + + interconnect/it : search replace db + + css(); ?> + js(); ?> + + + + + $body(); ?> + + + + + + + + + array(), + 'db' => array(), + 'tables' => array(), + 'results' => array() + ); + + public $error_type = 'search'; + + + /** + * @var array Stores the report array + */ + public $report = array(); + + + /** + * @var int Number of modifications to return in report array + */ + public $report_change_num = 30; + + + /** + * @var bool Whether to echo report as script runs + */ + public $verbose = false; + + + /** + * @var resource Database connection + */ + public $db; + + + /** + * @var use PDO + */ + public $use_pdo = true; + + + /** + * @var int How many rows to select at a time when replacing + */ + public $page_size = 50000; + + + /** + * Searches for WP or Drupal context + * Checks for $_POST data + * Initialises database connection + * Handles ajax + * Runs replacement + * + * @param string $name database name + * @param string $user database username + * @param string $pass database password + * @param string $host database hostname + * @param string $search search string / regex + * @param string $replace replacement string + * @param array $tables tables to run replcements against + * @param bool $live live run + * @param array $exclude_cols tables to run replcements against + * + * @return void + */ + public function __construct( $args ) { + + $args = array_merge( array( + 'name' => '', + 'user' => '', + 'pass' => '', + 'host' => '', + 'search' => '', + 'replace' => '', + 'tables' => array(), + 'exclude_cols' => array(), + 'include_cols' => array(), + 'dry_run' => true, + 'regex' => false, + 'pagesize' => 50000, + 'alter_engine' => false, + 'alter_collation' => false, + 'verbose' => false + ), $args ); + + // handle exceptions + set_exception_handler( array( $this, 'exceptions' ) ); + + // handle errors + set_error_handler( array( $this, 'errors' ), E_ERROR | E_WARNING ); + + // allow a string for columns + foreach( array( 'exclude_cols', 'include_cols', 'tables' ) as $maybe_string_arg ) { + if ( is_string( $args[ $maybe_string_arg ] ) ) + $args[ $maybe_string_arg ] = array_filter( array_map( 'trim', explode( ',', $args[ $maybe_string_arg ] ) ) ); + } + + // set class vars + foreach( $args as $name => $value ) { + if ( is_string( $value ) ) + $value = stripcslashes( $value ); + if ( is_array( $value ) ) + $value = array_map( 'stripcslashes', $value ); + $this->set( $name, $value ); + } + + // only for non cli call, cli set no timeout, no memory limit + if( ! defined( 'STDIN' ) ) { + + // increase time out limit + @set_time_limit( 60 * 10 ); + + // try to push the allowed memory up, while we're at it + @ini_set( 'memory_limit', '1024M' ); + + } + + // set up db connection + $this->db_setup(); + + if ( $this->db_valid() ) { + + // update engines + if ( $this->alter_engine ) { + $report = $this->update_engine( $this->alter_engine, $this->tables ); + } + + // update collation + elseif ( $this->alter_collation ) { + $report = $this->update_collation( $this->alter_collation, $this->tables ); + } + + // default search/replace action + else { + $report = $this->replacer( $this->search, $this->replace, $this->tables ); + } + + } else { + + $report = $this->report; + + } + + // store report + $this->set( 'report', $report ); + return $report; + } + + + /** + * Terminates db connection + * + * @return void + */ + public function __destruct() { + if ( $this->db_valid() ) + $this->db_close(); + } + + + public function get( $property ) { + return $this->$property; + } + + public function set( $property, $value ) { + $this->$property = $value; + } + + + public function exceptions( $exception ) { + echo $exception->getMessage() . "\n"; + } + + + public function errors( $no, $message, $file, $line ) { + echo $message . "\n"; + } + + + public function log( $type = '' ) { + $args = array_slice( func_get_args(), 1 ); + if ( $this->get( 'verbose' ) ) { + echo "{$type}: "; + print_r( $args ); + echo "\n"; + } + return $args; + } + + + public function add_error( $error, $type = null ) { + if ( $type !== null ) + $this->error_type = $type; + $this->errors[ $this->error_type ][] = $error; + $this->log( 'error', $this->error_type, $error ); + } + + + public function use_pdo() { + return $this->get( 'use_pdo' ); + } + + + /** + * Setup connection, populate tables array + * + * @return void + */ + public function db_setup() { + + $connection_type = class_exists( 'PDO' ) ? 'pdo' : 'mysql'; + + // connect + $this->set( 'db', $this->connect( $connection_type ) ); + + } + + + /** + * Database connection type router + * + * @param string $type + * + * @return callback + */ + public function connect( $type = '' ) { + $method = "connect_{$type}"; + return $this->$method(); + } + + + /** + * Creates the database connection using old mysql functions + * + * @return resource|bool + */ + public function connect_mysql() { + + // switch off PDO + $this->set( 'use_pdo', false ); + + $connection = @mysql_connect( $this->host, $this->user, $this->pass ); + + // unset if not available + if ( ! $connection ) { + $connection = false; + $this->add_error( mysql_error(), 'db' ); + } + + // select the database for non PDO + if ( $connection && ! mysql_select_db( $this->name, $connection ) ) { + $connection = false; + $this->add_error( mysql_error(), 'db' ); + } + + return $connection; + } + + + /** + * Sets up database connection using PDO + * + * @return PDO|bool + */ + public function connect_pdo() { + + try { + $connection = new PDO( "mysql:host={$this->host};dbname={$this->name}", $this->user, $this->pass ); + } catch( PDOException $e ) { + $this->add_error( $e->getMessage(), 'db' ); + $connection = false; + } + + // check if there's a problem with our database at this stage + if ( $connection && ! $connection->query( 'SHOW TABLES' ) ) { + $error_info = $connection->errorInfo(); + if ( !empty( $error_info ) && is_array( $error_info ) ) + $this->add_error( array_pop( $error_info ), 'db' ); // Array pop will only accept a $var.. + $connection = false; + } + + return $connection; + } + + + /** + * Retrieve all tables from the database + * + * @return array + */ + public function get_tables() { + // get tables + + // A clone of show table status but with character set for the table. + $show_table_status = "SELECT + t.`TABLE_NAME` as Name, + t.`ENGINE` as `Engine`, + t.`version` as `Version`, + t.`ROW_FORMAT` AS `Row_format`, + t.`TABLE_ROWS` AS `Rows`, + t.`AVG_ROW_LENGTH` AS `Avg_row_length`, + t.`DATA_LENGTH` AS `Data_length`, + t.`MAX_DATA_LENGTH` AS `Max_data_length`, + t.`INDEX_LENGTH` AS `Index_length`, + t.`DATA_FREE` AS `Data_free`, + t.`AUTO_INCREMENT` as `Auto_increment`, + t.`CREATE_TIME` AS `Create_time`, + t.`UPDATE_TIME` AS `Update_time`, + t.`CHECK_TIME` AS `Check_time`, + t.`TABLE_COLLATION` as Collation, + c.`CHARACTER_SET_NAME` as Character_set, + t.`Checksum`, + t.`Create_options`, + t.`table_Comment` as `Comment` + FROM information_schema.`TABLES` t + LEFT JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` c + ON ( t.`TABLE_COLLATION` = c.`COLLATION_NAME` ) + WHERE t.`TABLE_SCHEMA` = '{$this->name}'; + "; + + $all_tables_mysql = $this->db_query( $show_table_status ); + $all_tables = array(); + + if ( ! $all_tables_mysql ) { + + $this->add_error( $this->db_error( ), 'db' ); + + } else { + + // set the character set + //$this->db_set_charset( $this->get( 'charset' ) ); + + while ( $table = $this->db_fetch( $all_tables_mysql ) ) { + // ignore views + if ( $table[ 'Comment' ] == 'VIEW' ) + continue; + + $all_tables[ $table[0] ] = $table; + } + + } + + return $all_tables; + } + + + /** + * Get the character set for the current table + * + * @param string $table_name The name of the table we want to get the char + * set for + * + * @return string The character encoding; + */ + public function get_table_character_set( $table_name = '' ) { + $table_name = $this->db_escape( $table_name ); + $schema = $this->db_escape( $this->name ); + + $charset = $this->db_query( "SELECT c.`character_set_name` + FROM information_schema.`TABLES` t + LEFT JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` c + ON (t.`TABLE_COLLATION` = c.`COLLATION_NAME`) + WHERE t.table_schema = {$schema} + AND t.table_name = {$table_name} + LIMIT 1;" ); + + $encoding = false; + if ( ! $charset ) { + $this->add_error( $this->db_error( ), 'db' ); + } + else { + $result = $this->db_fetch( $charset ); + $encoding = isset( $result[ 'character_set_name' ] ) ? $result[ 'character_set_name' ] : false; + } + + return $encoding; + } + + + /** + * Retrieve all supported database engines + * + * @return array + */ + public function get_engines() { + + // get available engines + $mysql_engines = $this->db_query( 'SHOW ENGINES;' ); + $engines = array(); + + if ( ! $mysql_engines ) { + $this->add_error( $this->db_error( ), 'db' ); + } else { + while ( $engine = $this->db_fetch( $mysql_engines ) ) { + if ( in_array( $engine[ 'Support' ], array( 'YES', 'DEFAULT' ) ) ) + $engines[] = $engine[ 'Engine' ]; + } + } + + return $engines; + } + + + public function db_query( $query ) { + if ( $this->use_pdo() ) + return $this->db->query( $query ); + else + return mysql_query( $query, $this->db ); + } + + public function db_update( $query ) { + if ( $this->use_pdo() ) + return $this->db->exec( $query ); + else + return mysql_query( $query, $this->db ); + } + + public function db_error() { + if ( $this->use_pdo() ) { + $error_info = $this->db->errorInfo(); + return !empty( $error_info ) && is_array( $error_info ) ? array_pop( $error_info ) : 'Unknown error'; + } + else + return mysql_error(); + } + + public function db_fetch( $data ) { + if ( $this->use_pdo() ) + return $data->fetch(); + else + return mysql_fetch_array( $data ); + } + + public function db_escape( $string ) { + if ( $this->use_pdo() ) + return $this->db->quote( $string ); + else + return "'" . mysql_real_escape_string( $string ) . "'"; + } + + public function db_free_result( $data ) { + if ( $this->use_pdo() ) + return $data->closeCursor(); + else + return mysql_free_result( $data ); + } + + public function db_set_charset( $charset = '' ) { + if ( ! empty( $charset ) ) { + if ( ! $this->use_pdo() && function_exists( 'mysql_set_charset' ) ) + mysql_set_charset( $charset, $this->db ); + else + $this->db_query( 'SET NAMES ' . $charset ); + } + } + + public function db_close() { + if ( $this->use_pdo() ) + unset( $this->db ); + else + mysql_close( $this->db ); + } + + public function db_valid() { + return (bool)$this->db; + } + + + /** + * Walk an array replacing one element for another. ( NOT USED ANY MORE ) + * + * @param string $find The string we want to replace. + * @param string $replace What we'll be replacing it with. + * @param array $data Used to pass any subordinate arrays back to the + * function for searching. + * + * @return array The original array with the replacements made. + */ + public function recursive_array_replace( $find, $replace, $data ) { + if ( is_array( $data ) ) { + foreach ( $data as $key => $value ) { + if ( is_array( $value ) ) { + $this->recursive_array_replace( $find, $replace, $data[ $key ] ); + } else { + // have to check if it's string to ensure no switching to string for booleans/numbers/nulls - don't need any nasty conversions + if ( is_string( $value ) ) + $data[ $key ] = $this->str_replace( $find, $replace, $value ); + } + } + } else { + if ( is_string( $data ) ) + $data = $this->str_replace( $find, $replace, $data ); + } + } + + + /** + * Take a serialised array and unserialise it replacing elements as needed and + * unserialising any subordinate arrays and performing the replace on those too. + * + * @param string $from String we're looking to replace. + * @param string $to What we want it to be replaced with + * @param array $data Used to pass any subordinate arrays back to in. + * @param bool $serialised Does the array passed via $data need serialising. + * + * @return array The original array with all elements replaced as needed. + */ + public function recursive_unserialize_replace( $from = '', $to = '', $data = '', $serialised = false ) { + + // some unserialised data cannot be re-serialised eg. SimpleXMLElements + try { + + if ( is_string( $data ) && ( $unserialized = @unserialize( $data ) ) !== false ) { + $data = $this->recursive_unserialize_replace( $from, $to, $unserialized, true ); + } + + elseif ( is_array( $data ) ) { + $_tmp = array( ); + foreach ( $data as $key => $value ) { + $_tmp[ $key ] = $this->recursive_unserialize_replace( $from, $to, $value, false ); + } + + $data = $_tmp; + unset( $_tmp ); + } + + // Submitted by Tina Matter + elseif ( is_object( $data ) ) { + // $data_class = get_class( $data ); + $_tmp = $data; // new $data_class( ); + $props = get_object_vars( $data ); + foreach ( $props as $key => $value ) { + $_tmp->$key = $this->recursive_unserialize_replace( $from, $to, $value, false ); + } + + $data = $_tmp; + unset( $_tmp ); + } + + else { + if ( is_string( $data ) ) { + $data = $this->str_replace( $from, $to, $data ); + + } + } + + if ( $serialised ) + return serialize( $data ); + + } catch( Exception $error ) { + + $this->add_error( $error->getMessage(), 'results' ); + + } + + return $data; + } + + + /** + * Regular expression callback to fix serialised string lengths + * + * @param array $matches matches from the regular expression + * + * @return string + */ + public function preg_fix_serialised_count( $matches ) { + $length = mb_strlen( $matches[ 2 ] ); + if ( $length !== intval( $matches[ 1 ] ) ) + return "s:{$length}:\"{$matches[2]}\";"; + return $matches[ 0 ]; + } + + + /** + * The main loop triggered in step 5. Up here to keep it out of the way of the + * HTML. This walks every table in the db that was selected in step 3 and then + * walks every row and column replacing all occurences of a string with another. + * We split large tables into 50,000 row blocks when dealing with them to save + * on memmory consumption. + * + * @param string $search What we want to replace + * @param string $replace What we want to replace it with. + * @param array $tables The tables we want to look at. + * + * @return array Collection of information gathered during the run. + */ + public function replacer( $search = '', $replace = '', $tables = array( ) ) { + + // check we have a search string, bail if not + if ( empty( $search ) ) { + $this->add_error( 'Search string is empty', 'search' ); + return false; + } + + $report = array( 'tables' => 0, + 'rows' => 0, + 'change' => 0, + 'updates' => 0, + 'start' => microtime( ), + 'end' => microtime( ), + 'errors' => array( ), + 'table_reports' => array( ) + ); + + $table_report = array( + 'rows' => 0, + 'change' => 0, + 'changes' => array( ), + 'updates' => 0, + 'start' => microtime( ), + 'end' => microtime( ), + 'errors' => array( ), + ); + + $dry_run = $this->get( 'dry_run' ); + + if ( $this->get( 'dry_run' ) ) // Report this as a search-only run. + $this->add_error( 'The dry-run option was selected. No replacements will be made.', 'results' ); + + // if no tables selected assume all + if ( empty( $tables ) ) { + $all_tables = $this->get_tables(); + $tables = array_keys( $all_tables ); + } + + if ( is_array( $tables ) && ! empty( $tables ) ) { + + foreach( $tables as $table ) { + + $encoding = $this->get_table_character_set( $table ); + switch( $encoding ) { + + // Tables encoded with this work for me only when I set names to utf8. I don't trust this in the wild so I'm going to avoid. + case 'utf16': + case 'utf32': + //$encoding = 'utf8'; + $this->add_error( "The table \"{$table}\" is encoded using \"{$encoding}\" which is currently unsupported.", 'results' ); + continue; + break; + + default: + $this->db_set_charset( $encoding ); + break; + } + + + $report[ 'tables' ]++; + + // get primary key and columns + list( $primary_key, $columns ) = $this->get_columns( $table ); + + if ( $primary_key === null ) { + $this->add_error( "The table \"{$table}\" has no primary key. Changes will have to be made manually.", 'results' ); + continue; + } + + // create new table report instance + $new_table_report = $table_report; + $new_table_report[ 'start' ] = microtime(); + + $this->log( 'search_replace_table_start', $table, $search, $replace ); + + // Count the number of rows we have in the table if large we'll split into blocks, This is a mod from Simon Wheatley + $row_count = $this->db_query( "SELECT COUNT(*) FROM `{$table}`" ); + $rows_result = $this->db_fetch( $row_count ); + $row_count = $rows_result[ 0 ]; + + $page_size = $this->get( 'page_size' ); + $pages = ceil( $row_count / $page_size ); + + for( $page = 0; $page < $pages; $page++ ) { + + $start = $page * $page_size; + + // Grab the content of the table + $data = $this->db_query( sprintf( 'SELECT * FROM `%s` LIMIT %d, %d', $table, $start, $page_size ) ); + + if ( ! $data ) + $this->add_error( $this->db_error( ), 'results' ); + + while ( $row = $this->db_fetch( $data ) ) { + + $report[ 'rows' ]++; // Increment the row counter + $new_table_report[ 'rows' ]++; + + $update_sql = array( ); + $where_sql = array( ); + $update = false; + + foreach( $columns as $column ) { + + $edited_data = $data_to_fix = $row[ $column ]; + + if ( $primary_key == $column ) { + $where_sql[] = "`{$column}` = " . $this->db_escape( $data_to_fix ); + continue; + } + + // exclude cols + if ( in_array( $column, $this->exclude_cols ) ) + continue; + + // include cols + if ( ! empty( $this->include_cols ) && ! in_array( $column, $this->include_cols ) ) + continue; + + // Run a search replace on the data that'll respect the serialisation. + $edited_data = $this->recursive_unserialize_replace( $search, $replace, $data_to_fix ); + + // Something was changed + if ( $edited_data != $data_to_fix ) { + + $report[ 'change' ]++; + $new_table_report[ 'change' ]++; + + // log first x changes + if ( $new_table_report[ 'change' ] <= $this->get( 'report_change_num' ) ) { + $new_table_report[ 'changes' ][] = array( + 'row' => $new_table_report[ 'rows' ], + 'column' => $column, + 'from' => utf8_encode( $data_to_fix ), + 'to' => utf8_encode( $edited_data ) + ); + } + + $update_sql[] = "`{$column}` = " . $this->db_escape( $edited_data ); + $update = true; + + } + + } + + if ( $dry_run ) { + // nothing for this state + } elseif ( $update && ! empty( $where_sql ) ) { + + $sql = 'UPDATE ' . $table . ' SET ' . implode( ', ', $update_sql ) . ' WHERE ' . implode( ' AND ', array_filter( $where_sql ) ); + $result = $this->db_update( $sql ); + + if ( ! is_int( $result ) && ! $result ) { + + $this->add_error( $this->db_error( ), 'results' ); + + } else { + + $report[ 'updates' ]++; + $new_table_report[ 'updates' ]++; + } + + } + + } + + $this->db_free_result( $data ); + + } + + $new_table_report[ 'end' ] = microtime(); + + // store table report in main + $report[ 'table_reports' ][ $table ] = $new_table_report; + + // log result + $this->log( 'search_replace_table_end', $table, $new_table_report ); + } + + } + + $report[ 'end' ] = microtime( ); + + $this->log( 'search_replace_end', $search, $replace, $report ); + + return $report; + } + + + public function get_columns( $table ) { + + $primary_key = null; + $columns = array( ); + + // Get a list of columns in this table + $fields = $this->db_query( "DESCRIBE {$table}" ); + if ( ! $fields ) { + $this->add_error( $this->db_error( ), 'db' ); + } else { + while( $column = $this->db_fetch( $fields ) ) { + $columns[] = $column[ 'Field' ]; + if ( $column[ 'Key' ] == 'PRI' ) + $primary_key = $column[ 'Field' ]; + } + } + + return array( $primary_key, $columns ); + } + + + public function do_column() { + + } + + + /** + * Convert table engines + * + * @param string $engine Engine type + * @param array $tables + * + * @return array Modification report + */ + public function update_engine( $engine = 'MyISAM', $tables = array() ) { + + $report = false; + + if ( empty( $this->engines ) ) + $this->set( 'engines', $this->get_engines() ); + + if ( in_array( $engine, $this->get( 'engines' ) ) ) { + + $report = array( 'engine' => $engine, 'converted' => array() ); + + if ( empty( $tables ) ) { + $all_tables = $this->get_tables(); + $tables = array_keys( $all_tables ); + } + + foreach( $tables as $table ) { + $table_info = $all_tables[ $table ]; + + // are we updating the engine? + if ( $table_info[ 'Engine' ] != $engine ) { + $engine_converted = $this->db_query( "alter table {$table} engine = {$engine};" ); + if ( ! $engine_converted ) + $this->add_error( $this->db_error( ), 'results' ); + else + $report[ 'converted' ][ $table ] = true; + continue; + } else { + $report[ 'converted' ][ $table ] = false; + } + + if ( isset( $report[ 'converted' ][ $table ] ) ) + $this->log( 'update_engine', $table, $report, $engine ); + } + + } else { + + $this->add_error( 'Cannot convert tables to unsupported table engine ”' . $engine . '“', 'results' ); + + } + + return $report; + } + + + /** + * Updates the characterset and collation on the specified tables + * + * @param string $collate table collation + * @param array $tables tables to modify + * + * @return array Modification report + */ + public function update_collation( $collation = 'utf8_unicode_ci', $tables = array() ) { + + $report = false; + + if ( is_string( $collation ) ) { + + $report = array( 'collation' => $collation, 'converted' => array() ); + + if ( empty( $tables ) ) { + $all_tables = $this->get_tables(); + $tables = array_keys( $all_tables ); + } + + // charset is same as collation up to first underscore + $charset = preg_replace( '/^([^_]+).*$/', '$1', $collation ); + + foreach( $tables as $table ) { + $table_info = $all_tables[ $table ]; + + // are we updating the engine? + if ( $table_info[ 'Collation' ] != $collation ) { + $engine_converted = $this->db_query( "alter table {$table} convert to character set {$charset} collate {$collation};" ); + if ( ! $engine_converted ) + $this->add_error( $this->db_error( ), 'results' ); + else + $report[ 'converted' ][ $table ] = true; + continue; + } else { + $report[ 'converted' ][ $table ] = false; + } + + if ( isset( $report[ 'converted' ][ $table ] ) ) + $this->log( 'update_collation', $table, $report, $collation ); + } + + } else { + + $this->add_error( 'Collation must be a valid string', 'results' ); + + } + + return $report; + } + + + /** + * Replace all occurrences of the search string with the replacement string. + * + * @author Sean Murphy + * @copyright Copyright 2012 Sean Murphy. All rights reserved. + * @license http://creativecommons.org/publicdomain/zero/1.0/ + * @link http://php.net/manual/function.str-replace.php + * + * @param mixed $search + * @param mixed $replace + * @param mixed $subject + * @param int $count + * @return mixed + */ + public static function mb_str_replace( $search, $replace, $subject, &$count = 0 ) { + if ( ! is_array( $subject ) ) { + // Normalize $search and $replace so they are both arrays of the same length + $searches = is_array( $search ) ? array_values( $search ) : array( $search ); + $replacements = is_array( $replace ) ? array_values( $replace ) : array( $replace ); + $replacements = array_pad( $replacements, count( $searches ), '' ); + + foreach ( $searches as $key => $search ) { + $parts = mb_split( preg_quote( $search ), $subject ); + $count += count( $parts ) - 1; + $subject = implode( $replacements[ $key ], $parts ); + } + } else { + // Call mb_str_replace for each subject in array, recursively + foreach ( $subject as $key => $value ) { + $subject[ $key ] = self::mb_str_replace( $search, $replace, $value, $count ); + } + } + + return $subject; + } + + + /** + * Wrapper for regex/non regex search & replace + * + * @param string $search + * @param string $replace + * @param string $string + * @param int $count + * + * @return string + */ + public function str_replace( $search, $replace, $string, &$count = 0 ) { + if ( $this->get( 'regex' ) ) { + return preg_replace( $search, $replace, $string, -1, $count ); + } elseif( function_exists( 'mb_split' ) ) { + return self::mb_str_replace( $search, $replace, $string, $count ); + } else { + return str_replace( $search, $replace, $string, $count ); + } + } + + /** + * Convert a string containing unicode into HTML entities for front end display + * + * @param string $string + * + * @return string + */ + public function charset_decode_utf_8( $string ) { + /* Only do the slow convert if there are 8-bit characters */ + /* avoid using 0xA0 (\240) in ereg ranges. RH73 does not like that */ + if ( ! preg_match( "/[\200-\237]/", $string ) and ! preg_match( "/[\241-\377]/", $string ) ) + return $string; + + // decode three byte unicode characters + $string = preg_replace( "/([\340-\357])([\200-\277])([\200-\277])/e", + "'&#'.((ord('\\1')-224)*4096 + (ord('\\2')-128)*64 + (ord('\\3')-128)).';'", + $string ); + + // decode two byte unicode characters + $string = preg_replace( "/([\300-\337])([\200-\277])/e", + "'&#'.((ord('\\1')-192)*64+(ord('\\2')-128)).';'", + $string ); + + return $string; + } + +} diff --git a/plugins/search-replace/srdb.cli.php b/plugins/search-replace/srdb.cli.php new file mode 100755 index 0000000..ab05124 --- /dev/null +++ b/plugins/search-replace/srdb.cli.php @@ -0,0 +1,233 @@ +#!/usr/bin/php -q + 'host:', + 'n:' => 'name:', + 'u:' => 'user:', + 'p:' => 'pass:', + 'c:' => 'char:', + 's:' => 'search:', + 'r:' => 'replace:', + 't:' => 'tables:', + 'i:' => 'include-cols:', + 'x:' => 'exclude-cols:', + 'g' => 'regex', + 'l:' => 'pagesize:', + 'z' => 'dry-run', + 'e:' => 'alter-engine:', + 'a:' => 'alter-collation:', + 'v::' => 'verbose::', + 'help' +); + +$required = array( + 'h:', + 'n:', + 'u:', + 'p:' +); + +function strip_colons( $string ) { + return str_replace( ':', '', $string ); +} + +// store arg values +$arg_count = $_SERVER[ 'argc' ]; +$args_array = $_SERVER[ 'argv' ]; + +$short_opts = array_keys( $opts ); +$short_opts_normal = array_map( 'strip_colons', $short_opts ); + +$long_opts = array_values( $opts ); +$long_opts_normal = array_map( 'strip_colons', $long_opts ); + +// store array of options and values +$options = getopt( implode( '', $short_opts ), $long_opts ); + +if ( isset( $options[ 'help' ] ) ) { + echo " +##################################################################### + +interconnect/it Safe Search & Replace tool + +##################################################################### + +This script allows you to search and replace strings in your database +safely without breaking serialised PHP. + +Please report any bugs or fork and contribute to this script via +Github: https://github.com/interconnectit/search-replace-db + +Argument values are strings unless otherwise specified. + +ARGS + -h, --host + Required. The hostname of the database server. + -n, --name + Required. Database name. + -u, --user + Required. Database user. + -p, --pass + Required. Database user's password. + -s, --search + String to search for or `preg_replace()` style + regular expression. + -r, --replace + None empty string to replace search with or + `preg_replace()` style replacement. + -t, --tables + If set only runs the script on the specified table, comma + separate for multiple values. + -i, --include-cols + If set only runs the script on the specified columns, comma + separate for multiple values. + -x, --exclude-cols + If set excludes the specified columns, comma separate for + multiple values. + -g, --regex [no value] + Treats value for -s or --search as a regular expression and + -r or --replace as a regular expression replacement. + -l, --pagesize + How rows to fetch at a time from a table. + -z, --dry-run [no value] + Prevents any updates happening so you can preview the number + of changes to be made + -e, --alter-engine + Changes the database table to the specified database engine + eg. InnoDB or MyISAM. If specified search/replace arguments + are ignored. They will not be run simultaneously. + -a, --alter-collation + Changes the database table to the specified collation + eg. utf8_unicode_ci. If specified search/replace arguments + are ignored. They will not be run simultaneously. + -v, --verbose [true|false] + Defaults to true, can be set to false to run script silently. + --help + Displays this help message ;) +"; + exit; +} + +// missing field flag, show all missing instead of 1 at a time +$missing_arg = false; + +// check required args are passed +foreach( $required as $key ) { + $short_opt = strip_colons( $key ); + $long_opt = strip_colons( $opts[ $key ] ); + if ( ! isset( $options[ $short_opt ] ) && ! isset( $options[ $long_opt ] ) ) { + fwrite( STDERR, "Error: Missing argument, -{$short_opt} or --{$long_opt} is required.\n" ); + $missing_arg = true; + } +} + +// bail if requirements not met +if ( $missing_arg ) { + fwrite( STDERR, "Please enter the missing arguments.\n" ); + exit( 1 ); +} + +// new args array +$args = array( + 'verbose' => true, + 'dry_run' => false +); + +// create $args array +foreach( $options as $key => $value ) { + + // transpose keys + if ( ( $is_short = array_search( $key, $short_opts_normal ) ) !== false ) + $key = $long_opts_normal[ $is_short ]; + + // true/false string mapping + if ( is_string( $value ) && in_array( $value, array( 'false', 'no', '0' ) ) ) + $value = false; + if ( is_string( $value ) && in_array( $value, array( 'true', 'yes', '1' ) ) ) + $value = true; + + // boolean options as is, eg. a no value arg should be set true + if ( in_array( $key, $long_opts ) ) + $value = true; + + // change to underscores + $key = str_replace( '-', '_', $key ); + + $args[ $key ] = $value; +} + +// modify the log output +class icit_srdb_cli extends icit_srdb { + + public function log( $type ) { + + $args = array_slice( func_get_args(), 1 ); + + $output = ""; + + switch( $type ) { + case 'error': + list( $error_type, $error ) = $args; + $output .= "$error_type: $error"; + break; + case 'search_replace_table_start': + list( $table, $search, $replace ) = $args; + $output .= "{$table}: replacing {$search} with {$replace}"; + break; + case 'search_replace_table_end': + list( $table, $report ) = $args; + $time = number_format( $report[ 'end' ] - $report[ 'start' ], 8 ); + $output .= "{$table}: {$report['rows']} rows, {$report['change']} changes found, {$report['updates']} updates made in {$time} seconds"; + break; + case 'search_replace_end': + list( $search, $replace, $report ) = $args; + $time = number_format( $report[ 'end' ] - $report[ 'start' ], 8 ); + $dry_run_string = $this->dry_run ? "would have been" : "were"; + $output .= " +Replacing {$search} with {$replace} on {$report['tables']} tables with {$report['rows']} rows +{$report['change']} changes {$dry_run_string} made +{$report['updates']} updates were actually made +It took {$time} seconds"; + break; + case 'update_engine': + list( $table, $report, $engine ) = $args; + $output .= $table . ( $report[ 'converted' ][ $table ] ? ' has been' : 'has not been' ) . ' converted to ' . $engine; + break; + case 'update_collation': + list( $table, $report, $collation ) = $args; + $output .= $table . ( $report[ 'converted' ][ $table ] ? ' has been' : 'has not been' ) . ' converted to ' . $collation; + break; + } + + if ( $this->verbose ) + echo $output . "\n"; + + } + +} + +$report = new icit_srdb_cli( $args ); + +// Only print a separating newline if verbose mode is on to separate verbose output from result +if ($args[ 'verbose' ]) { + echo "\n"; +} + +if ( $report && ( ( isset( $args[ 'dry_run' ] ) && $args[ 'dry_run' ] ) || empty( $report->errors[ 'results' ] ) ) ) { + echo "And we're done!\n"; +} else { + echo "Check the output for errors. You may need to ensure verbose output is on by using -v or --verbose.\n"; +} diff --git a/plugins/search-replace/tests/DataSet.xml b/plugins/search-replace/tests/DataSet.xml new file mode 100755 index 0000000..a8a974e --- /dev/null +++ b/plugins/search-replace/tests/DataSet.xml @@ -0,0 +1,1559 @@ + + + + id + content + url + serialised + + 1 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/1/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/57/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 2 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/2/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:21:"http://example.com/3/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 3 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/3/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/93/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 4 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/4/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/75/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 5 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/5/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/80/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 6 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/6/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/44/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 7 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/7/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/62/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 8 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/8/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/67/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 9 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/9/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/29/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 10 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/10/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/96/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 11 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/11/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:21:"http://example.com/9/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 12 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/12/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/82/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 13 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/13/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/48/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 14 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/14/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/78/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 15 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/15/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/84/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 16 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/16/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/93/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 17 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/17/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/47/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 18 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/18/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/47/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 19 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/19/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/36/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 20 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/20/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/80/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 21 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/21/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/46/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 22 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/22/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/21/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 23 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/23/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/35/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 24 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/24/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/77/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 25 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/25/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/87/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 26 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/26/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/51/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 27 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/27/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/27/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 28 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/28/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/28/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 29 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/29/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/86/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 30 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/30/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/78/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 31 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/31/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/83/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 32 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/32/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/95/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 33 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/33/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/57/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 34 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/34/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/98/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 35 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/35/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/85/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 36 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/36/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/20/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 37 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/37/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/44/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 38 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/38/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:21:"http://example.com/5/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 39 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/39/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/48/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 40 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/40/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/56/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 41 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/41/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/85/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 42 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/42/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/55/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 43 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/43/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/45/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 44 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/44/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/58/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 45 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/45/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/46/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 46 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/46/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/67/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 47 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/47/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/70/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 48 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/48/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/45/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 49 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/49/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/24/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ + + 50 + + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+ ]]> +
+ http://example.com/50/ + a:7:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:22:"http://example.com/19/";s:6:"nested";a:6:{s:6:"number";i:123;s:5:"float";d:12.345000000000001;s:6:"string";s:17:"serialised string";s:8:"accented";s:12:"föó ßåŗ";s:7:"unicode";s:37:"❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹";s:3:"url";s:19:"http://example.com/";}} +
+ +
+
\ No newline at end of file diff --git a/plugins/search-replace/tests/DataSetGenerator.php b/plugins/search-replace/tests/DataSetGenerator.php new file mode 100755 index 0000000..e3db965 --- /dev/null +++ b/plugins/search-replace/tests/DataSetGenerator.php @@ -0,0 +1,81 @@ +Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, + totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt + explicabo.

+

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur + magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor + sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore + magnam aliquam quaerat voluptatem.

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

+
+ Image +
+

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis + suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea + voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla + pariatur?

'; + +$serialised = array( + 'number' => 123, + 'float' => 12.345, + 'string' => 'serialised string', + 'accented' => 'föó ßåŗ', + 'unicode' => '❤ ☀ ☆ ☂ ☻ ♞ ☯ 😸 😹', + 'url' => 'http://example.com/' + ); + +$serialised[ 'nested' ] = $serialised; + +$numbers = range( 1, 100 ); +$letters = range( 'a', 'z' ); +//var_dump( $letters ); + +//mb_internal_encoding( 'UTF-8' ); + +header( 'Content-type: text/xml' ); +header( 'Charset: UTF-8' ); + +//var_dump( unserialize( serialize( $serialised ) ) ); + +echo ' + + + id + content + url + serialised'; + +for( $i = 1; $i < 51; $i++ ) { + + $s = $serialised; + $s[ 'url' ] .= $numbers[ array_rand( $numbers, 1 ) ] . '/'; + $row_content = str_replace( '~~~', $numbers[ array_rand( $numbers, 1 ) ], $content ); + $row_content = str_replace( '^^^', $letters[ array_rand( $letters, 1 ) ], $row_content ); + + echo ' + + ' . $i . ' + + + + http://example.com/' . $i . '/ + ' . serialize( $s ) . ' + + '; + + //var_dump( unserialize( serialize( $s ) ) ); + +} + +echo ' +
+
'; diff --git a/plugins/search-replace/tests/SrdbTest.php b/plugins/search-replace/tests/SrdbTest.php new file mode 100755 index 0000000..75b5597 --- /dev/null +++ b/plugins/search-replace/tests/SrdbTest.php @@ -0,0 +1,381 @@ + '127.0.0.1', + 'name' => 'srdbtest', + 'user' => 'root', + 'pass' => '123', + 'table'=> 'posts' + ); + + public function setUp() { + parent::setUp(); + + // get class to test + require_once( dirname( __FILE__ ) . '/../srdb.class.php' ); + } + + public function tearDown() { + parent::tearDown(); + } + + /** + * @return PHPUnit_Extensions_Database_DB_IDatabaseConnection + */ + public function getConnection() { + if ( $this->conn === null ) { + if ( self::$pdo == null ) + self::$pdo = new PDO( "mysql:host={$this->testdb['host']}", + $this->testdb[ 'user' ], + $this->testdb[ 'pass' ], + array( PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4' ) ); + + self::$pdo->query( "CREATE DATABASE IF NOT EXISTS `{$this->testdb[ 'name' ]}` CHARACTER SET = 'utf8mb4' COLLATE = 'utf8mb4_general_ci';" ); + self::$pdo->query( "CREATE TABLE IF NOT EXISTS `{$this->testdb[ 'name' ]}`.`{$this->testdb[ 'table' ]}` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `content` blob, + `url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `serialised` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) + ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;" ); + + self::$pdo->query( "USE `{$this->testdb[ 'name' ]}`;" ); + + $this->conn = $this->createDefaultDBConnection( self::$pdo, $this->testdb[ 'name' ] ); + + // Get the charset of the table. + $charset = $this->get_table_character_set( ); + if ( $charset ) + self::$pdo->query( "SET NAMES {$charset};" ); + } + return $this->conn; + } + + + public function get_table_character_set( ) { + $charset = self::$pdo->query( "SELECT c.`character_set_name` + FROM information_schema.`TABLES` t + LEFT JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` c + ON (t.`TABLE_COLLATION` = c.`COLLATION_NAME`) + WHERE t.table_schema = '{$this->testdb[ 'name' ]}' + AND t.table_name = '{$this->testdb[ 'table' ]}' + LIMIT 1;" ); + + $encoding = false; + if ( $charset ) { + $result = $charset->fetch( ); + if ( isset( $result[ 'character_set_name' ] ) ) + $encoding = $result[ 'character_set_name' ]; + } + + return $encoding; + } + + + /** + * @return PHPUnit_Extensions_Database_DataSet_IDataSet + */ + public function getDataSet() { + return $this->createXMLDataSet( dirname( __FILE__ ) . '/DataSet.xml' ); + } + + /* + * @test search replace + */ + public function testSearchReplace() { + + // search replace strings + $search = 'example.com'; + $replace = 'example.org'; + + // runs search/replace + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 150, $changes, 'Wrong number of cells changed reported' ); + + // test the database is actually changed + $modified = self::$pdo->query( "SELECT url FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchColumn(); + $this->assertRegExp( "/{$replace}/", $modified ); + + } + + public function testSearchReplaceUnicode() { + + // search replace strings + $search = 'perspiciatis'; + $replace = '😸'; + + // runs search/replace + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 50, $changes, 'Wrong number of cells changed reported' ); + + // test the database is actually changed + $modified = self::$pdo->query( "SELECT content FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchColumn(); + $this->assertRegExp( "/{$replace}/", $modified ); + + } + + + /* + * @test str_replace regex + */ + public function testRegexReplace() { + + // search replace strings + $search = '#https?://([a-z0-9\.-]+)/?#'; + $replace = 'https://$1/'; + + // class instance with regex enabled + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'regex' => true, + 'dry_run' => false + ), $this->testdb ) ); + + // direct method invocation + $subject = 'http://example.com/'; + $result = 'https://example.com/'; + $replaced = $srdb->str_replace( $search, $replace, $subject ); + $this->assertEquals( $result, $replaced ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 150, $changes, 'Wrong number of changes reported' ); + + // test the database is actually changed + $modified = self::$pdo->query( "SELECT url FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchColumn(); + $this->assertRegExp( "#{$result}#", $modified, 'Database not updated, modified result is ' . $modified ); + + } + + /** + * @test str_replace serialised data + */ + public function testStrReplaceSerialised() { + + // search replace strings + $search = 'serialised string'; + $replace = 'longer serialised string'; + + // class instance with regex enabled + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 50, $changes, 'Wrong number of changes reported' ); + + // check unserialised values are what they should be + $modified = self::$pdo->query( "SELECT serialised FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchColumn(); + $from = unserialize( $modified ); + + $this->assertEquals( $replace, $from[ 'string' ], 'Unserialised array value not updated' ); + + } + + /* + * @test recursive unserialize replace + */ + public function testRecursiveUnserializeReplace() { + + // search replace strings + $search = 'serialised string'; + $replace = 'longer serialised string'; + + // class instance with regex enabled + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // check unserialised values are what they should be + $modified = self::$pdo->query( "SELECT serialised FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchColumn(); + $from = unserialize( $modified ); + + $this->assertEquals( $replace, $from[ 'nested' ][ 'string' ], 'Unserialised nested array value not updated' ); + + } + + /* + * @test include columns + */ + public function testIncludeColumns() { + + // search replace strings + $search = 'example.com'; + $replace = 'example.org'; + + // class instance with regex enabled + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false, + 'include_cols' => array( 'url' ) + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 50, $changes, 'Wrong number of changes reported' ); + + + // check unserialised values are what they should be + $modified = self::$pdo->query( "SELECT content, url FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchAll(); + $content = $modified[ 0 ][ 'content' ]; + $url = $modified[ 0 ][ 'url' ]; + + $this->assertRegExp( "/$search/", $content, 'Content column was modified' ); + $this->assertRegExp( "/$replace/", $url, 'URL column was not modified' ); + + } + + /* + * @test exclude columns + */ + public function testExcludeColumns() { + + // search replace strings + $search = 'example.com'; + $replace = 'example.org'; + + // class instance with regex enabled + $srdb = new icit_srdb( array_merge( array( + 'search' => $search, + 'replace' => $replace, + 'dry_run' => false, + 'exclude_cols' => array( 'url' ) + ), $this->testdb ) ); + + // results from sample data + + // no errors + $this->assertEmpty( $srdb->errors[ 'results' ], "Search replace script errors were found: \n" . implode( "\n", $srdb->errors[ 'results' ] ) ); + $this->assertEmpty( $srdb->errors[ 'db' ], "Search replace script database errors were found: \n" . implode( "\n", $srdb->errors[ 'db' ] ) ); + + // update statements run + $updates = $srdb->report[ 'updates' ]; + $this->assertEquals( 50, $updates, 'Wrong number of updates reported' ); + + // cells changed + $changes = $srdb->report[ 'change' ]; + $this->assertEquals( 100, $changes, 'Wrong number of changes reported' ); + + // check unserialised values are what they should be + $modified = self::$pdo->query( "SELECT content, url FROM `{$this->testdb[ 'table' ]}` LIMIT 1;" )->fetchAll(); + $content = $modified[ 0 ][ 'content' ]; + $url = $modified[ 0 ][ 'url' ]; + + $this->assertRegExp( "/$replace/", $content, 'Content column was not modified' ); + $this->assertRegExp( "/$search/", $url, 'URL column was modified' ); + + } + + /** + * @test multibyte string replacement method + */ + public function testMultibyteStrReplace() { + + $subject = 'föö ❤ ☀ ☆ ☂ ☻ ♞ ☯'; + $result = 'föö ❤ ☻ ♞ ☯ ☻ ♞ ☯'; + $replaced = icit_srdb::mb_str_replace( '☀ ☆ ☂', '☻ ♞ ☯', $subject ); + + $this->assertEquals( $result, $replaced ); + + } + +} diff --git a/plugins/search-replace/tests/charset-test.php b/plugins/search-replace/tests/charset-test.php new file mode 100755 index 0000000..846ef21 --- /dev/null +++ b/plugins/search-replace/tests/charset-test.php @@ -0,0 +1,93 @@ + 123, + 'float' => 12.345, + 'string' => 'serialised string', + 'accented' => 'föó ßåŗ', + 'unicode' => '❤ ☀ ☆ ☂ ☻ ♞ ☯', + 'url' => 'http://example.com/' + ); +$serialised = serialize( $original ); + +// Connect +$x = new PDO( "mysql:host={$host}", $user, $pass ); + +// Create our schema +$x->query( "CREATE DATABASE IF NOT EXISTS `encode` CHARACTER SET = 'utf8' COLLATE = 'utf8_general_ci';" ); +$x->query( 'SET NAMES utf8;' ); + +// Create a table for each encoding type and stick the encoded array in it. +$charsets = $x->query( 'SELECT CHARACTER_SET_NAME as charset, COLLATION_NAME as collation FROM information_schema.COLLATION_CHARACTER_SET_APPLICABILITY;' ); + +if ( method_exists( $charsets, 'fetch' ) ) { + while( $collation = $charsets->fetch() ) { + + $col = $collation[ 'collation' ]; + $charset = $collation[ 'charset' ]; + $tbl_name = $collation[ 'collation' ]; + + // Create the table for the collation + $x->query( "DROP TABLE IF EXISTS `encode`.`{$tbl_name}`" ); + $x->query( "CREATE TABLE `encode`.`{$tbl_name}` ( + `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `number` decimal(10,0) NOT NULL, + `float` float NOT NULL, + `string` longtext COLLATE {$col} NOT NULL, + `accented` longtext COLLATE {$col} NOT NULL, + `unicode` longtext COLLATE {$col} NOT NULL, + `url` longtext COLLATE {$col} NOT NULL, + `serialised` longtext CHARACTER SET {$charset} NOT NULL, + PRIMARY KEY (`id`) + ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET={$charset} COLLATE={$col};" ); + + // Set the name space to match to charset + switch( $charset ) { + // If I uncomment this utf-16 and utf-32 work, I don't know why though. + //case 'utf16': + //case 'utf32': + // $x->query( "SET NAMES utf8;" ); + // break; + + default: + $x->query( "SET NAMES {$charset};" ); + } + + // Insert our test data + if ( !$x->query( "INSERT INTO encode.`{$tbl_name}` ( number, float, string, accented, unicode, url, serialised ) + VALUES ( + {$original['number']}, + {$original['float']}, + '{$original['string']}', + '{$original['accented']}', + '{$original['unicode']}', + '{$original['url']}', + '{$serialised}' + );" ) ) + echo "
Insert Failed: {$col}:{$charset}
"; + + // Set names to match table's charset + $x->query( "SET NAMES {$charset};" ); + + // Reclaim what we just dumped into the db and compare + $q = $x->query( "SELECT serialised FROM encode.{$tbl_name} ORDER BY id DESC LIMIT 1;" ); + if ( method_exists( $q, 'fetch' ) ) { + while( $var = $q->fetch( )[0] ) { + $unserialized = @unserialize( $var ); + + if ( !$unserialized || array_diff( $unserialized, $original ) ) { + echo "
Failed: {$col}:{$charset}
"; + } + else { + echo "
Success: {$col}:{$charset}
"; + } + } + } + } +} diff --git a/plugins/search-replace/tests/db.sql b/plugins/search-replace/tests/db.sql new file mode 100755 index 0000000..cc4da09 --- /dev/null +++ b/plugins/search-replace/tests/db.sql @@ -0,0 +1,45 @@ +CREATE DATABASE IF NOT EXISTS `srdbtest` /*!40100 DEFAULT CHARACTER SET utf8 */; +USE `srdbtest`; +-- MySQL dump 10.13 Distrib 5.5.16, for Win32 (x86) +-- +-- Host: localhost Database: srdbtest +-- ------------------------------------------------------ +-- Server version 5.5.24-log + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `posts` +-- + +DROP TABLE IF EXISTS `posts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `posts` ( + `id` int(11) NOT NULL, + `content` blob, + `url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, + `serialised` varchar(2000) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2013-11-14 10:36:55