="0"){ $id=filter_var($_GET['id'], FILTER_VALIDATE_INT); include($_SERVER['DOCUMENT_ROOT']."/test/databases/new/db_eyar.php"); include($_SERVER['DOCUMENT_ROOT']."/test/databases/new/db_vekirin.php"); $query=("SELECT * FROM products WHERE status='1' AND id=".$id.""); $result = mysqli_query($conn,$query) or die(mysqli_error()); $num_rows = mysqli_num_rows($result); if($num_rows=='1'){ $data = mysqli_fetch_object($result); $id=$data->id; $tr=$data->tr; $tring=$data->tring; $trdesc=$data->trdesc; $category=$data->category; $status=$data->status; $tring=stripslashes($tring); $trdesc=stripslashes($trdesc); } function productscats($category){ include($_SERVER['DOCUMENT_ROOT']."/test/databases/new/db_eyar.php"); include($_SERVER['DOCUMENT_ROOT']."/test/databases/new/db_vekirin.php"); $query=("SELECT * FROM productscats WHERE cid='".$category."'"); $result = mysqli_query($conn,$query); $num_rows = mysqli_num_rows($result); if($num_rows==true){ $data = mysqli_fetch_object($result); $tr=$data->tr; $tr=stripslashes($tr); } return $tr; } $titre=productscats($category); if($titre){ $titrecat=" - "; }else{ $titrecat=""; } ?> Ref: - Kenza Gold - Türk Kuyumcusu

".$query."

"; $result = mysqli_query($conn,$query); $num_rows = mysqli_num_rows($result); if($num_rows==true){ $data = mysqli_fetch_object($result); $tr=$data->tr; } return linkniviso($tr); } echo"
"; echo "

".$tr." - Ref:".$id."

"; echo"
"; echo"
"; ?> "; } } mmediass($id); //http://www.elevateweb.co.uk/image-zoom/examples ?>

".stripslashes($tr)."

"; echo"
".stripslashes($tring)."
"; echo"
".stripslashes($trdesc)."
"; ?>