418 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_carb_min']).' - '.sprintf("%.1f",$row['st_carb_max']).'%)',0,0,'L',true); |
420 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_carb_min']).' - '.sprintf("%.1f",$row['st_carb_max']).'%)',0,0,'L',true); |
419 $this->Ln(); |
421 $this->Ln(); |
420 |
422 |
421 $row['est_color'] = kw_to_ebc($row['color_method'], $colorw); |
423 $row['est_color'] = kw_to_ebc($row['color_method'], $colorw); |
422 $this->SetX($this->TableX); |
424 $this->SetX($this->TableX); |
423 $this->Cell(35,5,'Kleur ('.$row['color_method'].')',0,0,'L',true); |
425 $this->Cell(35,5,'Kleur ('.$colormethod[$row['color_method']].')',0,0,'L',true); |
424 $beercolor = ebc_to_color($row['est_color']); |
426 $beercolor = ebc_to_color($row['est_color']); |
425 if ($row['est_color'] > 30) |
427 if ($row['est_color'] > 30) |
426 $this->SetTextColor(250); |
428 $this->SetTextColor(250); |
427 $this->SetFillColor($beercolor[0],$beercolor[1],$beercolor[2]); |
429 $this->SetFillColor($beercolor[0],$beercolor[1],$beercolor[2]); |
428 $this->Cell(25,5,$row['est_color'].' EBC',0,0,'L',true); |
430 $this->Cell(25,5,$row['est_color'].' EBC',0,0,'L',true); |
429 $this->Cell(25,5,'('.$row['st_color_min'].' - '.$row['st_color_max'].' EBC)',0,0,'L',true); |
431 $this->Cell(25,5,'('.$row['st_color_min'].' - '.$row['st_color_max'].' EBC)',0,0,'L',true); |
430 $this->SetTextColor(0); |
432 $this->SetTextColor(0); |
431 $this->SetFillColor(210,245,255); |
433 $this->SetFillColor(210,245,255); |
432 $this->Cell($vul,5,'',0,0,'L',false); |
434 $this->Cell($vul,5,'',0,0,'L',false); |
433 $this->Cell(35,5,'Bitterheid ('.$row['ibu_method'].')',0,0,'L',true); |
435 $this->Cell(35,5,'Bitterheid ('.$ibumethod[$row['ibu_method']].')',0,0,'L',true); |
434 $this->Cell(25,5,sprintf("%.0f",$row['est_ibu']).' IBU',0,0,'L',true); |
436 $this->Cell(25,5,sprintf("%.0f",$row['est_ibu']).' IBU',0,0,'L',true); |
435 $this->Cell(25,5,'('.$row['st_ibu_min'].' - '.$row['st_ibu_max'].' IBU)',0,0,'L',true); |
437 $this->Cell(25,5,'('.$row['st_ibu_min'].' - '.$row['st_ibu_max'].' IBU)',0,0,'L',true); |
436 $this->Ln(); |
438 $this->Ln(); |
437 |
439 |
438 $this->SetX($this->TableX); |
440 $this->SetX($this->TableX); |