<?php
$blocks = [
[
'id' => 1 ,
"max-width" => 60,
"max-height" => 50,
"offset-right" => 7,
"offset-left" => null,
"offset-top" => 16,
"background-color" => null,
"background-transparent" => true,
"items" => [
[
"id" => 1,
"item-type" => 1,
"title" => "PRE 420 Extravaganza!",
"font-size" => 6.6,
"font-color" => "#ffffff",
"background-color" => null,
"background-transparent" => true,
"margin-top" => 0,
"margin-left" => 0,
"link" => false,
"hidden" => false,
"disposable" => false,
],
[
"id" => 2,
"item-type" => 2,
"title" => "why wait for big savings?",
"font-size" => 1.3,
"font-color" => "#586e80",
"background-color" => "#f0eee1",
"background-transparent" => false,
"margin-top" => 2,
"margin-left" => 0,
"link" => false,
"hidden" => false,
"disposable" => true,
],
[
"id" => 3,
"item-type" => 3,
"title" => "Selected concentrates on sale for $35 each<br>Recreational Specials All prices plus tax.<br>Valid 3.24.16 – 3.31.16.<br>Excusions apply",
"font-size" => 3.2,
"font-color" => "#ffffff",
"background-color" => null,
"background-transparent" => true,
"margin-top" => 1,
"margin-left" => 0,
"link" => false,
"hidden" => false,
"disposable" => false,
],
[
"id" => 4,
"item-type" => 4,
"title" => "Buy now →",
"font-size" => 10,
"font-color" => "#63a748",
"background-color" => null,
"background-transparent" => true,
"margin-top" => 2.5,
"margin-left" => 0,
"link" => true,
"hidden" => false,
"disposable" => false,
],
]
],
];
echo json_encode($blocks, JSON_PRETTY_PRINT);
preferences:
51.97 ms | 402 KiB | 5 Q