", ">", $sDesc ); $sDesc = ereg_replace( " ", "  ", $sDesc); $sDesc = ereg_replace( "\n", "
", $sDesc ); } if ($HOMEIMGFN) $home_img = "
\"homeimage\"

"; $tpl_main = <<
$home_img
$M_COMP_TITLE
 
$sDesc
EOD; //start of loging page view session_register("LOG_CNT_SESSION"); if ($LOG_CNT_SESSION == 0){ $host_nm = explode( ".", $HTTP_HOST); $cur_page = explode( "/", $PHP_SELF); //¿µ¹® $spage_pos = 4; if ( $cur_page[$spage_pos] == "en") $spage_pos = 5; $c_code = "EN"; $c_code_dir = "ec"; // if ($host_nm[1] == "ec21") if( strpos(strtolower($HTTP_HOST), "ec21.com") > 0 ) $action = "/app/jsp/ec/CgiLog.jsp"; else $action = "/go/jsp/".$c_code_dir."/CgiLog.jsp"; $log_image = "\n"; $tpl_main .= $log_image; $LOG_CNT_SESSION = 1; } else { $LOG_CNT_SESSION ++; } //end of logging page view include '_new.tpl'; // for testing //echo GET_TIME($start) . ' ms'; ?>