";
if ($showcontact=='yes' || $_COOKIE["dlliuyan"]==$editor) {
$lxfs=$lxfs."
";
$lxfs=$lxfs."- ".$comane."
";
$lxfs=$lxfs."- 地址:".$address."
";
$lxfs=$lxfs."- 电话:".$phone."
";
$lxfs=$lxfs."- 传真:".$fox."
";
$lxfs=$lxfs."- 网址:" ;
if(sdomain=="Yes"){
$lxfs=$lxfs. "http://".$editor.".".substr(siteurl,strpos(siteurl,".")+1)."";
}else{
$lxfs=$lxfs. "".$homepage."";
}
$lxfs=$lxfs."
" ;
$lxfs=$lxfs."- ";
$lxfs=$lxfs."手机:".$mobile.$somane." ";
if($sex==1){
$lxfs=$lxfs."(先生)" ;
}elseif($sex==0){
$lxfs=$lxfs."(女士)" ;
}else{
$lxfs=$lxfs."" ;
}
$lxfs=$lxfs."
";
$lxfs=$lxfs."- E-mail:" ;
if($email<>""){
$lxfs=$lxfs. str_replace("@","",$email);
}
$lxfs=$lxfs."
";
$lxfs=$lxfs."- QQ:" ;
if($qq<>""){
$lxfs=$lxfs. " ";
}
$lxfs=$lxfs."
";
$lxfs=$lxfs."- 联系我时,请说是在".sitename."上看到的,谢谢!
";
$lxfs=$lxfs."
";
}else{
$lxfs=$lxfs."";
}
$lxfs=$lxfs."";
$fp="../skin/".$skin."/contact.htm";
if (file_exists($fp)==false){
WriteErrMsg($fp.'模板文件不存在');
exit;
}
$f = fopen($fp,'r');
$strout = fread($f,filesize($fp));
fclose($f);
$strout=str_replace("{#siteskin}",siteskin,$strout) ;
$strout=str_replace("{#sitename}",sitename,$strout) ;
$strout=str_replace("{#siteurl}",siteurl,$strout);
$strout=str_replace("{#sitebottom}",$sitebottom,$strout);
$strout=str_replace("{#sitetop}",$sitetop,$strout);
$strout=str_replace("{#pagetitle}",$pagetitle,$strout);
$strout=str_replace("{#pagekeywords}",$pagekeywords,$strout);
$strout=str_replace("{#pagedescription}",$pagedescription,$strout);
$strout=str_replace("{#ztleft}",$siteleft,$strout);
$strout=str_replace("{#showdaohang}",$showdaohang,$strout);
$strout=str_replace("{#skin}",$skin,$strout);
$strout=str_replace("{#lxfs}",$lxfs,$strout);
$strout=str_replace("{#baidu_map}",$baidu_map,$strout);
session_write_close();
echo $strout;
?>