core/st/clean.php

91 lines
24 KiB
PHP
Raw Permalink Normal View History

2023-07-12 20:02:20 +05:00
<?php
require_once('/home/cloud/core/st/db.php');
function ekr ($text) { // ФУНКЦИЯ очистки кода
$old1 = array(' ', '<script src="https://yandex.ru/ads/system/context.js" async></script>',
'База строительных организаций, магазинов и услуг',
'<script defer src="data:text/javascript;base64,d2luZG93LnlhQ29udGV4dENiPXdpbmRvdy55YUNvbnRleHRDYnx8W10="></script>',
'<link rel="canonical" href="https://stroykabaza.ru/" />',
'<meta property="og:image:width" content="820" />',
'<meta name="twitter:card" content="summary_large_image" />',
'<meta name="viewport" content="width=device-width, initial-scale=1">',
'<script defer src="data:text/javascript;base64,d2luZG93LnlhQ29udGV4dENiPXdpbmRvdy55YUNvbnRleHRDYnx8W10="></script>',
'<meta charset="UTF-8">',
'{padding:40px 20px 20px 20px;background-color:#3D96B6;}',
'transition:background 0.3s, border-radius 0.3s, opacity 0.3s;',
'color:#FFFFFF;',
'font-family:"Roboto", ',
'left:calc(-20px/2);',
'padding:20px 10px 0px 10px;',
'margin-top:calc(7px/2);',
'<meta property="og:site_name" content="" />',
'max-width:1024px;',
'max-width:1200px;',
'text-align:left;',
'align-self:flex-start;',
'background:#313131;',
'color:#313131;',
'border-color:#3D96B6;',
'color:#3D96B6;',
'color:#000000;',
'font-size:1em;',
'<noscript><div><img src="https://mc.yandex.ru/watch/89529476" style="position:absolute; left:-9999px;" alt="" /></div></noscript></body>',
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/cache/autoptimize/js/autoptimize_single_ac7c8b7bb7bb3c30cbd3f6f621feb68a.js' id='jet-smart-filters-js'></script>",
'max-width:1024px',
'<script defer src="data:text/javascript;base64,CiAgIChmdW5jdGlvbihtLGUsdCxyLGksayxhKXttW2ldPW1baV18fGZ1bmN0aW9uKCl7KG1baV0uYT1tW2ldLmF8fFtdKS5wdXNoKGFyZ3VtZW50cyl9OwogICBtW2ldLmw9MSpuZXcgRGF0ZSgpO2s9ZS5jcm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J1XC93cC1jb250ZW50XC9wbHVnaW5zXC9lbGVtZW50b3JcL2Fzc2V0c1wvIn0sInN3aXBlckNsYXNzIjoic3dpcGVyLWNvbnRhaW5lciIsInNldHRpbmdzIjp7ImVkaXRvclByZWZlcmVuY2VzIjpbXX0sImtpdCI6eyJib2R5X2JhY2tncm91bmRfYmFja2dyb3VuZCI6ImNsYXNzaWMiLCJhY3RpdmVfYnJlYW
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/jquery/ui/datepicker.min.js' id='jquery-ui-datepicker-js'></script>",
'<script defer id="jet-smart-filters-js-extra" src="data:text/javascript;base64,"></script>',
'CnZhciBFbGVtZW50b3JQcm9Gcm9udGVuZENvbmZpZyA9IHsiYWpheHVybCI6Imh0dHBzOlwvXC9zdHJveWthYmF6YS5ydVwvd3AtYWRtaW5cL2FkbWluLWFqYXgucGhwIiwibm9uY2UiOiIyNjc4OWQyZmQ3IiwidXJscyI6eyJhc3NldHMiOiJodHRwczpcL1wvc3Ryb3lrYWJhemEucnVcL3dwLWNvbnRlbnRcL3BsdWdpbnNcL2VsZW1lbnRvci1wcm9cL2Fzc2V0c1wvIiwicmVzdCI6Imh0dHBzOlwvXC9zdHJveWthYmF6YS5ydVwvd3AtanNvblwvIn0sInNoYXJlQnV0dG9uc05ldHdvcmtzIjp7ImZhY2Vib29rIjp7InRpdGxlIjoiRmFjZWJvb2siLCJoYXNfY291bnRlciI6dHJ1ZX0sInR3aXR0ZXIiOnsidGl0bGUiOiJUd2l0dGVyIn0sImxpbmtlZGluIjp7InRpdGxlIjoiTGlua2VkSW4iLCJoYXNfY291bnRlciI6dHJ1ZX0sInBpbnRlcmVzdCI6eyJ0aXRsZSI6IlBpbnRlcmVzdCIsImhhc19jb3VudGVyIjp0cnVlfSwicmVkZGl0Ijp7InRpdGxlIjoiUmVkZGl0IiwiaGFzX2NvdW50ZXIiOnRydWV9LCJ2ayI6eyJ0aXRsZSI6IlZLIiwiaGFzX2NvdW50ZXIiOnRyd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E4YiIsImRldk1vZGUiOiJmYWxzZSIsIndwbWxMYW5ndWFnZUNvZGUiOiIiLCJtZW51U2V0dGluZ3MiOnsiamV0TWVudVJvbGxVcCI6InRydWUiLCJqZXRNZW51TW91c2VsZWF2ZURlbGF5IjoiNTAwIiwiamV0TWVudU1lZ2FXaWR0aFR5cGUiOiJjb250YWluZXIiLCJqZXRNZW51TWVnYVdpZHRoU2VsZWN0b3IiOiIiLCJqZXRNZW51TWVnYU9wZW5TdWJUeXBlIjoiaG92ZXIiLCJqZXRNZW51TWVnYUFqYXgiOiJmYWxzZSJ9fTsKLyogXV0+ICovCg==',
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/plugins/wp-yandex-metrika/assets/elementor.min.js' id='wp-yandex-metrika_elementor-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/cache/autoptimize/js/autoptimize_single_4cc86d1003c45134d6838f13e3885db1.js' id='jquery-touch-punch-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/themes/hello-elementor/assets/js/hello-frontend.min.js' id='hello-theme-frontend-js'></script>",
"<script type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js' id='wp-polyfill-inert-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/jquery/ui/core.min.js' id='jquery-ui-core-js'></script>",
"<script type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/dist/i18n.min.js' id='wp-i18n-js'></script> <script defer id=\"wp-i18n-js-after\" src=\"data:text/javascript;base64,CndwLmkxOG4uc2V0TG9jYWxlRGF0YSggeyAndGV4dCBkaXJlY3Rpb25cdTAwMDRsdHInOiBbICdsdHInIF0gfSApOwo=\"></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/cache/autoptimize/js/autoptimize_single_79d6c2e13327f687f54c722c6976793a.js' id='jet-menu-elementor-widgets-scripts-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js' id='elementor-webpack-runtime-js'></script> <script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/plugins/elementor/assets/js/frontend-modules.min.js' id='elementor-frontend-modules-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/jquery/ui/mouse.min.js' id='jquery-ui-mouse-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-includes/js/jquery/ui/slider.min.js' id='jquery-ui-slider-js'></script>",
"<script defer type='text/javascript' src='//stroykabaza.ru/wp-content/uploads/theplus-addons/theplus-term-2940.min.js' id='theplus-front-js-js'></script>",
'<script defer id="elementor-pro-frontend-js-before" src="data:text/javascript;base64,"></script>',
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/plugins/elementor-pro/assets/js/frontend.min.js' id='elementor-pro-frontend-js'></script>",
"<script defer type='text/javascript' src='https://stroykabaza.ru/wp-content/plugins/elementor/assets/lib/waypoints/waypoints.min.js' id='elementor-waypoints-js'></script>",
'<animateTransform attributeName="transform" type="rotate" from="0 64 64" to="360 64 64" dur="1080ms" repeatCount="indefinite"></animateTransform>',
'<path d="M63.85 0A63.85 63.85 0 1 1 0 63.85 63.85 63.85 0 0 1 63.85 0zm.65 19.5a44 44 0 1 1-44 44 44 44 0 0 1 44-44z" fill="url(#linear-gradient)" fill-rule="evenodd"/>',
'<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="24px" height="25px" viewBox="0 0 128 128" xml:space="preserve">',
'<animateTransform attributeName="transform" type="rotate" from="0 64 64" to="360 64 64" dur="1080ms" repeatCount="indefinite"></animateTransform>'
);
$new1 = array("");#Меняем на полезное"&gt;", , "&lt;"
$text = str_replace($old1, $new1, $text);#Собсно сама замена =)
return $text; }
$html=DB::getAll("SELECT `id`, `html` FROM `st` WHERE `status`=2 OR `status`=3 LIMIT 10000");
for ($i=0; $i<count($html); $i++){
DB::set("UPDATE `st` SET `html`=? WHERE `id`=?", array(ekr($html[$i]['html']), $html[$i]['id'] ));
}
?>