SELECT * FROM `modx_site_content` WHERE `content` LIKE '%frameborder="0"%'
SELECT * FROM `modx_site_htmlsnippets` WHERE `snippet` LIKE '%frameborder="0"%'
Видел на SO предложение использовать file_put_contents и file_get_contents, но не понимаю как написать решение для неизвестного количества?
$merged = '';
$audioArray = json_decode($_POST['data']); //тут укажите свой ключ
foreach ($audioArray as $audio) {
$merged= $merged.file_get_contents($audio);
}
return file_put_contents('merged.mp3', $merged);
@media (prefers-color-scheme: dark)
.@media (prefers-color-scheme: dark) {
p.body-text {
color: #eee !important;
}
}
<head></head>
письма указать метатеги:<meta name=”color-scheme” content=”light dark”>
<meta name=”supported-color-schemes” content=”light dark”>
[data-ogsc]
(caniemail).[data-ogsc] p.body-text {
color: #eee !important;
}
$('form[name="ourf"]').submit(function(e) {
e.preventDefault();
var
form = $(this),
select1 = form.find('select:first-child').val(),
select2 = form.find('select:nth-child(2)').val(),
select3 = form.find('select:last-child').val();
$.post(document.location.href, {action: 'selectsPost', select1: select1, select2: select2, select3: select3},
function(data) {
//тут обработка ответа
console.log(data);
}
);
});
<form action="" id="myform">
<input type="file" name="file">
<button type="submit">Отправить</button>
</form>
$('form#myform').submit(function(e) {
e.preventDefault();
var formData = new FormData(this);
const settings = {
async: true,
data: formData,
crossDomain: true,
url: "https://api-eu1.tatum.io/v3/ipfs",
method: "POST",
cache:false,
contentType: false,
processData: false,
headers: {
"x-api-key": "REPLACE_KEY_VALUE"
}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
});
<?php
switch ($modx->event->name) {
case 'OnLoadWebDocument':
$modx->resource->set('editedon', date());
break;
}
{if $_modx->resource.id == 15}
<section class="section">
<div class="container-fluid">
BEAUTY Блок
</div>
</section>
{/if}
[[*id:is=`15`:then=`
<section class="section">
<div class="container-fluid">
BEAUTY Блок
</div>
</section>
`]]
initEvent:function(){isPhone()||isPad()?window.top!=window&&this.caption.bind(_event._up,function(){window.open(window.location.href,
"_blank")}