( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
error_reporting(1);
$text = cleanText(realText());
if (strpos($text, '||') !== true) {
$row = getEachJSONLayer($themeid,$layerPosition);
$url = $row['layers'];
$json = json_decode($url, 1);
$records = $json;
$description = array();
foreach ($records as $rkey => $resource){
if ($resource['type'] == 'dynamicdescription'){
$description[] = $resource;
}
}
$description = json_encode($description);
$row = json_decode($description,true);
/*print_r($characters);*/
$text = str_replace("*machine","",$text) ;
$text = explode("||", $text);
foreach($text as $i => $key)
{
$index = $i;
if(empty($key)){$textX = $row[$index]['text'];
$weight=$row[$index]['text'];
$text_h_max=$row[$index]['max_width']['desktop'];
include("codeDatasetsLoop.php");
}
}
}
else
{
$text = "";
}?>