return [
1 => [
'title' => 'Продукт #1',
'price' => 2000
],
...
786 => [
'title' => 'Продукт #786',
'price' => 7869
],
];
$products = require_once 'products.php';
<?php echo $products['786']['price']; ?>
img {
display: block;
}
img {
display: block;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
<input type="radio" name="item" checked={ checked } id="radio" />
<meta name="description" content="...">
<meta property="og:description" content="...">
var timeout = 500;
var closetimer = 0;
var ddmenuitem = 0;
function jsddm_open() {
jsddm_canceltimer();
jsddm_close();
ddmenuitem = $(this).children('.i-sub-menu').stop(true, true).slideDown(300);
//.css('visibility', 'visible');
}
function jsddm_close() {
if (ddmenuitem) ddmenuitem.stop(true, true).slideUp(300);
//.css('visibility', 'hidden');
}
function jsddm_timer() {
closetimer = window.setTimeout(jsddm_close, timeout);
}
function jsddm_canceltimer() {
if (closetimer) {
window.clearTimeout(closetimer);
closetimer = null;
}
}
<div class="row">
<div class="col-md-5">
<!-- Тут картинка -->
</div>
<div class="col-md-7">
<!-- Тут текст -->
</div>
</div>