删除信息来源链接
在 e/class/connect.php
文件里搜索找到 ReplaceBefrom
//替换信息来源
function ReplaceBefrom($befrom){
global $empire,$dbtbpre;
if(empty($befrom))
{return $befrom;}
$befrom=addslashes($befrom);
$r=$empire->fetch1("select befromid,sitename,siteurl from {$dbtbpre}enewsbefrom where sitename='$befrom' limit 1");
if(empty($r[befromid]))
{return $befrom;}
$return_befrom="<a href='".$r[siteurl]."' target=_blank>".$r[sitename]."</a>";
return $return_befrom;
}
改为
//替换信息来源
function ReplaceBefrom($befrom){
global $empire,$dbtbpre;
return $befrom;
}
删除作者链接
在 e/class/connect.php
文件里搜索找到 ReplaceWriter
//替换作者
function ReplaceWriter($writer){
global $empire,$dbtbpre;
if(empty($writer))
{return $writer;}
$writer=addslashes($writer);
$r=$empire->fetch1("select wid,writer,email from {$dbtbpre}enewswriter where writer='$writer' limit 1");
if(empty($r[wid])||empty($r[email]))
{
return $writer;
}
$return_writer="<a href='".$r[email]."'>".$r[writer]."</a>";
return $return_writer;
}
改为
//替换作者
function ReplaceWriter($writer){
global $empire,$dbtbpre;
return $writer;
}