EOL; } else{ $photo1 .=<< EOL; } else{ $photo2 .=<< EOL; } else{ $photo3 .=<< {$record[data_8]}
EOL; } else{ $pdf1 .=<< {$record[data_10]} EOL; } else{ $pdf2 .=<< EOL; } } $table=""; $i=0; $sql = <<", $record[data_25]); $record[data_26] = ereg_replace("\n","
", $record[data_26]); $record[data_27] = ereg_replace("\n","
", $record[data_27]); $record[data_28] = ereg_replace("\n","
", $record[data_28]); $record[data_33] = number_format($record[data_33]); if($record[data_3]!=""){ $table01 .=<<{$record[data_3]} EOL; } else{ $table01 .=<<
‰¿ŠiFƒI[ƒvƒ“‰¿Ši
EOL; } else{ $price1 = $record[data_32]; $price2 = $price1 * 1.05; $price1 = number_format($price1); $price2 = number_format($price2); $table02 .=<<
‰¿ŠiF{$price2}‰~iÅ”²{$price1}j
EOL; } } else{ $table02 .=<< {$record[data_25]} EOL; } else{ $table03 .=<< {$record[data_26]} EOL; } else{ $table04 .=<< ¡Œ^”Ô {$record[data_1]} EOL; } else{ $table05 .=<< ¡JANƒR[ƒh {$record[data_17]} EOL; } else{ $table06 .=<<",$record[data_11]); $size1 = $size[0]; $size2 = $size[1]; $size3 = $size[2]; $table07 .=<< ¡ƒTƒCƒY ‰¡•{$size1}~‰œs{$size2}~‚‚³{$size3}(mm) EOL; } else{ $table07 .=<< ¡d—Ê {$record[data_12]}kg EOL; } else{ $table08 .=<< ¡ÞŽ¿ {$record[data_27]} EOL; } else{ $table09 .=<< ¡•ûŽ® {$record[data_13]} EOL; } else{ $table10 .=<< ¡‚©‚³‘ÜŽû”[–‡” {$record[data_33]}–‡ EOL; } else{ $table11 .=<< ¡•t‘®•i {$record[data_28]} EOL; } else{ $table12 .=<<intro; $tagline = $obj->tagline; $image1 = $obj->image1; $image2 = $obj->image2; $image3 = $obj->image3; $image4 = $obj->image4; $image5 = $obj->image5; $intro = htmlspecialchars($intro); $intro = preg_replace("/\n/", "
", $intro); $intro = preg_replace("/\s/", " ", $intro); $image = array($image1, $image2, $image3, $image4, $image5); list($usec, $sec) = preg_split("/ /", microtime()); srand( (float)$sec + ((float) $usec * 100000) ); $fp = fopen($TEMPLATE, "r"); while( ! feof($fp) ){ $html = fgets($fp, 2048); $html = preg_replace("/!data_code!/", $data_code, $html); $html = preg_replace("/!photo1!/", $photo1, $html); $html = preg_replace("/!photo2!/", $photo2, $html); $html = preg_replace("/!photo3!/", $photo3, $html); $html = preg_replace("/!pdf!/", $pdf, $html); $html = preg_replace("/!pdf1!/", $pdf1, $html); $html = preg_replace("/!pdf2!/", $pdf2, $html); $html = preg_replace("/!table01!/", $table01, $html); $html = preg_replace("/!table02!/", $table02, $html); $html = preg_replace("/!table03!/", $table03, $html); $html = preg_replace("/!table04!/", $table04, $html); $html = preg_replace("/!table05!/", $table05, $html); $html = preg_replace("/!table06!/", $table06, $html); $html = preg_replace("/!table07!/", $table07, $html); $html = preg_replace("/!table08!/", $table08, $html); $html = preg_replace("/!table09!/", $table09, $html); $html = preg_replace("/!table10!/", $table10, $html); $html = preg_replace("/!table11!/", $table11, $html); $html = preg_replace("/!table12!/", $table12, $html); print $html; } ?>