( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ 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/codeDatasets.php
<?php

error_reporting(0);

$text = cleanText(realText());	
$originalText = $text;	

	
	/*$text = "kugkuf||Britnney%20Zed||Britnney||";*/

//if incoming text has dynamic description from get 
if (strpos($text, '||') !== false) {
	
	$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;
		
		
		 

		
		
		

    }  
	
	
	


}
 
$countOldText = count($description); 
	
	
  $description = json_encode($description);
 
 

$row = json_decode($description,true); 
/*print_r($characters);*/ 
 
					
	$text = str_replace("*machine","",$text) ;	
	
	
	
	
	
	
	
	
 	$text = explode("||", $text);
	$countNewText = count($text);	
 
	//write code to intercept text assign
 
		


	
	//end of text asssign
	
					

										foreach($text as $i => $key)
										{
											$index = $i;
										 
												 
											 $textX = $key; 
											$weight=$row[$index]['text'];
											$text_h_max=$row[$index]['max_width']['desktop'];
											
											
											
											
											if(!empty($row[$index]['text'])) {
												
											  $oldText=$row[$index]['text'];
											 $newText=$textX;
												
												 
											$newJSON =str_replace($oldText,"$key",$url);
											}
																		 
											
											
										include("codeDatasetsLoop.php"); 
												
												 
										
											
										}	
	
 
	
	
	
	
	
		 		
						
					} //end if
						 else
						 //if the text from url doesnt contain dynamictext
						 {
							 
							 	$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;
		

    }  
	 
	
		if(!empty($body))
	{
		$textX = "$originalText"; 
			
include("codeDatasetsLoopAssign.php"); 		
	}


		if(!empty($usernameAssign))
	{
		$textX= username();
	 
			
include("codeDatasetsLoopAssignUser.php"); 		
	}
	
	
		if(!empty($nameAssign))
	{
		$textX= name();
			$textX = str_replace("\n", ' ',$textX);
			$author = $_GET["author"];  
			if(!empty($author))
			{
				$textX=$author;
				$textX = preg_replace("/\r|\n/", "",$textX);
			}
	 
			
include("codeDatasetsLoopAssignName.php"); 		
	}
	
	
		if(!empty($titleAssign))
	{
		$textX= name();
		 
		
	 
			
include("codeDatasetsLoopAssignTitle.php"); 		
	}
	
			if(!empty($subtitleAssign))
	{
		$textX= name();
				$textX = str_replace("\n", ' ',$textX);
	 
			
include("codeDatasetsLoopAssignSubtitle.php"); 		
	}
	
	
}
							 
						 }?>