( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
foreach ($layers as $row) {
$check = checkTypeW($row['type']);
if($check=="Uploaded")
{
$type=$row['type'];
$originX=$row['originX'];
$originY=$row['originY'];
$left=$row['left'];
$top=$row['top'];
$width=$row['width'];
$height=$row['height'];
$fill=$row['fill'];
$stroke=$row['stroke'];
$strokeWidth=$row['strokeWidth'];
$strokeDashArray=$row['strokeDashArray'];
$strokeLineCap=$row['strokeLineCap'];
$strokeDashOffset=$row['strokeDashOffset'];
$strokeLineJoin=$row['strokeLineJoin'];
$strokeMiterLimit=$row['strokeMiterLimit'];
$scaleX=$row['scaleX'];
$scaleY=$row['scaleY'];
$angle=$row['angle'];
$flipX=$row['flipX'];
$flipY=$row['flipY'];
$opacity=$row['opacity'];
$shadow=$row['shadow'];
$visible=$row['visible'];
$clipTo=$row['clipTo'];
$backgroundColor=$row['backgroundColor'];
$fillRule=$row['fillRule'];
$paintFirst=$row['paintFirst'];
$globalCompositeOperation=$row['globalCompositeOperation'];
$transformMatrix=$row['transformMatrix'];
$skewX=$row['skewX'];
$skewY=$row['skewY'];
$crossOrigin=$row['crossOrigin'];
$cropX=$row['cropX'];
$cropY=$row['cropY'];
$selectable=$row['selectable'];
$evented=$row['evented'];
$lockMovementX=$row['lockMovementX'];
$lockMovementY=$row['lockMovementY'];
$lockRotation=$row['lockRotation'];
$lockScalingX=$row['lockScalingX'];
$lockScalingY=$row['lockScalingY'];
$lockUniScaling=$row['lockUniScaling'];
$hasControls=$row['hasControls'];
$hasBorders=$row['hasBorders'];
$hasRotatingPoint=$row['hasRotatingPoint'];
$name=$row['name'];
$src=$row['src'];
}
if($check=="theDescription")
{
$type=$row['type'];
$originX=$row['originX'];
$originY=$row['originY'];
$left=$row['left'];
$top=$row['top'];
$width=$row['width'];
$height=$row['height'];
$fill=$row['fill'];
$stroke=$row['stroke'];
$strokeWidth=$row['strokeWidth'];
$strokeDashArray=$row['strokeDashArray'];
$strokeLineCap=$row['strokeLineCap'];
$strokeDashOffset=$row['strokeDashOffset'];
$strokeLineJoin=$row['strokeLineJoin'];
$strokeMiterLimit=$row['strokeMiterLimit'];
$scaleX=$row['scaleX'];
$scaleY=$row['scaleY'];
$angle=$row['angle'];
$flipX=$row['flipX'];
$flipY=$row['flipY'];
$opacity=$row['opacity'];
$shadow=$row['shadow'];
$visible=$row['visible'];
$clipTo=$row['clipTo'];
$backgroundColor=$row['backgroundColor'];
$fillRule=$row['fillRule'];
$paintFirst=$row['paintFirst'];
$globalCompositeOperation=$row['globalCompositeOperation'];
$transformMatrix=$row['transformMatrix'];
$skewX=$row['skewX'];
$skewY=$row['skewY'];
//text
$text=$row['text'];
$fontSize=$row['fontSize'];
$fontWeight=$row['fontWeight'];
$fontFamily=$row['fontFamily'];
$fontStyle=$row['fontStyle'];
$lineHeight=$row['lineHeight'];
$underline=$row['underline'];
$overline=$row['overline'];
$linethrough=$row['linethrough'];
$textAlign=$row['textAlign'];
$textBackgroundColor=$row['textBackgroundColor'];
$charSpacing=$row['charSpacing'];
//text
$selectable=$row['selectable'];
$evented=$row['evented'];
$lockMovementX=$row['lockMovementX'];
$lockMovementY=$row['lockMovementY'];
$lockRotation=$row['lockRotation'];
$lockScalingX=$row['lockScalingX'];
$lockScalingY=$row['lockScalingY'];
$lockUniScaling=$row['lockUniScaling'];
$hasControls=$row['hasControls'];
$hasBorders=$row['hasBorders'];
$hasRotatingPoint=$row['hasRotatingPoint'];
$name=$row['name'];
}
}
?>