//tr/td[@class='sklad'][text()='Ростов']/following-sibling::td[@class='cost']/text()
$(document).on('click','.chatButton', function(){
// click
});
client.on("Room.timeline", function(event, room, toStartOfTimeline) {
console.log("(%s) %s :: %s", room.name, event.getSender(), event.getContent().body);
});
mysqldump -uroot DB | mysql --host=host -uroot -ppass -C DB
SELECT u.event_id,
u.event_name,
u.start_date,
u.end_date,
u.serv_id,
d.name,
c.client_nm as cli
FROM tevents u
LEFT OUTER JOIN doctors d
ON d.id = u.type
LEFT OUTER JOIN clients c
ON c.id = u.combo_select
WHERE u.start_date between '2018.05.23 06:00:00' and '2018.05.23 21:50:00'
let result = fragment.querySelector('.article-image img').src
use Zend\Dom\Query;
$dom = new Query($html);
$result = $dom->execute('.article-image img')->current()->getAttribute('src');
use \Bitrix\Catalog;
$arStore = Catalog\StoreTable::getRow([
'select' => ['TITLE'],
'filter' => [
'ID' => $iStoreId,
]
]);
if ( $arStore )
{
// В $arStore['TITLE'] название
}
else
{
// Склад не найден
}