fetch1("select * from {$dbtbpre}enewsfeedback where id='$id' limit 1"); if(!$r[id]) { printerror('ErrorUrl',''); } $bidr=ReturnAdminFeedbackClass($r['bid'],$logininid,$loginin); //是否已读 if(empty($r['haveread'])) { $empire->query("update {$dbtbpre}enewsfeedback set haveread=1 where id='$id' limit 1"); } $br=$empire->fetch1("select bname,enter,filef from {$dbtbpre}enewsfeedbackclass where bid='$r[bid]'"); $username="游客"; if($r['userid']) { $username="".$r['username'].""; } $fpath=0; $getfpath=0; $record=""; $field=""; $er=explode($record,$br['enter']); $count=count($er); for($i=0;$i<$count-1;$i++) { $er1=explode($field,$er[$i]); //附件 if(strstr($br['filef'],",".$er1[1].",")) { if($r[$er1[1]]) { if(!$getfpath) { $filename=GetFilename($r[$er1[1]]); $filer=$empire->fetch1("select fpath from {$dbtbpre}enewsfile_other where modtype=4 and path='$r[filepath]' and filename='$filename' limit 1"); $fpath=$filer[fpath]; $getfpath=1; } $fspath=ReturnFileSavePath(0,$fpath); $fileurl=$fspath['fileurl'].$r[$er1[1]]; $val="附件:".$r[$er1[1]].""; } else { $val=""; } } else { $val=stripSlashes($r[$er1[1]]); } $feedbackinfo.="
所属分类:=$br[bname]?> | |
提交者: | =$username?> |
发布时间: | =$r[saytime]?> |
IP地址: | =$r[ip]?>:=$r[eipport]?> |
[ 关
闭 ] |