$query="select mesname from foxbbs where id='".$id."'"; $req=mysql_query($query); if ($req) { $f=mysql_fetch_array($req); $mess=yy($f[0]); if ($message&&$action=add) { $ft="foxbbs/".$f[0].".bbs"; if (ord(substr($message,0,1))!=161) $message=" ".$message; for ($i=0;$i<10;$i++) { if ($bq[$i]) $youbq=$bq[$i]; } if ($usename) gr($ft,$message,$youname,$youmail,$youoicq,$youweb,$youaddr,$youbq,$id,$use,$mess,$c); else usehf($message,$useinfo,$id,$use,$ft,$mess,$c); } } else echo "<script language='JavaScript'> alert('打开文件错误!可能服务器忙,请稍候再试!'); </script>";