img["format"]=ereg_replace(".*\.(.*)$","\\1",$imgfile); $this->img["format"]=strtoupper($this->img["format"]); if ($this->img["format"]=="JPG" || $this->img["format"]=="JPEG") { //JPEG $this->img["format"]="JPEG"; $this->img["src"] = ImageCreateFromJPEG ($imgfile); } elseif ($this->img["format"]=="PNG") { //PNG $this->img["format"]="PNG"; $this->img["src"] = ImageCreateFromPNG ($imgfile); } else { //DEFAULT echo "Not Supported File! Thumbnails can only be made from .jpg and .png images!"; exit(); } @$this->img["lebar"] = imagesx($this->img["src"]); @$this->img["tinggi"] = imagesy($this->img["src"]); //default quality jpeg $this->img["quality"]=75; } function size_auto($size=100) { //size if ($this->img["lebar"]>=$this->img["tinggi"]) { $this->img["lebar_thumb"]=$size; @$this->img["tinggi_thumb"] = ($this->img["lebar_thumb"]/$this->img["lebar"])*$this->img["tinggi"]; } else { $this->img["tinggi_thumb"]=$size; @$this->img["lebar_thumb"] = ($this->img["tinggi_thumb"]/$this->img["tinggi"])*$this->img["lebar"]; } } function jpeg_quality($quality=75) { //jpeg quality $this->img["quality"]=$quality; } function show($gd_version) { @Header("Content-Type: image/".$this->img["format"]); if($gd_version==2) { $this->img["des"] = imagecreatetruecolor($this->img["lebar_thumb"],$this->img["tinggi_thumb"]); @imagecopyresampled ($this->img["des"], $this->img["src"], 0, 0, 0, 0, $this->img["lebar_thumb"],$this->img["tinggi_thumb"], $this->img["lebar"], $this->img["tinggi"]); } if($gd_version==1) { $this->img["des"] = imagecreate($this->img["lebar_thumb"],$this->img["tinggi_thumb"]); @imagecopyresized ($this->img["des"], $this->img["src"], 0, 0, 0, 0, $this->img["lebar_thumb"],$this->img["tinggi_thumb"], $this->img["lebar"], $this->img["tinggi"]); } if ($this->img["format"]=="JPG" || $this->img["format"]=="JPEG") { //JPEG imageJPEG($this->img["des"],"",$this->img["quality"]); } elseif ($this->img["format"]=="PNG") { //PNG imagePNG($this->img["des"]); } } function save($save="",$gd_version) { if($gd_version==2) { $this->img["des"] = imagecreatetruecolor($this->img["lebar_thumb"],$this->img["tinggi_thumb"]); @imagecopyresampled ($this->img["des"], $this->img["src"], 0, 0, 0, 0, $this->img["lebar_thumb"], $this->img["tinggi_thumb"], $this->img["lebar"], $this->img["tinggi"]); } if($gd_version==1) { $this->img["des"] = imagecreate($this->img["lebar_thumb"],$this->img["tinggi_thumb"]); @imagecopyresized ($this->img["des"], $this->img["src"], 0, 0, 0, 0, $this->img["lebar_thumb"], $this->img["tinggi_thumb"], $this->img["lebar"], $this->img["tinggi"]); } if ($this->img["format"]=="JPG" || $this->img["format"]=="JPEG") { //JPEG imageJPEG($this->img["des"],"$save",$this->img["quality"]); } elseif ($this->img["format"]=="PNG") { //PNG imagePNG($this->img["des"],"$save"); } } } // ************************************************************************* ?> <? echo $site_name;?>

  Shipping and Payment

NO. OF ITEMS IN SHOPPING BAG EXPRESS MAIL
(WITHIN THAILAND) DELIVERY TIME APPROXIMATELY 2 DAYS
EXPRESS MAIL
(INTERNATIONAL) DELIVERY TIME APPROXIMATELY 10 DAYS (WITH INTERNET TRACKING)
STANDARD AIR MAIL
(INTERNATIONAL) DELIVERY TIME APPROXIMATELY 25 DAYS
1 € 5.5 € 20 € 13.3
2 € 5.5 € 24.4 € 14.4
3 € 6.5 € 28.8 € 15.5
4 € 6.5 € 33.3 € 17.7
5 € 6.5 € 35.5 € 21.1
6 € 7.7 € 37.7 € 26.6
7 € 7.7 € 40 € 28.8
8 € 8.8 € 42.2 € 28.8
9 € 8.8 € 42.2 € 33.3
10 € 8.8 € 44.4 € 33.3
11 € 8.8 € 46.6 € 35.5
12 € 8.8 € 51.1 € 35.5
13 € 10 € 57.7 € 37.7
14 € 10 € 55 € 40
15 € 20 € 62.2 € 42.2