1、打开qinforfun.php,查找代码:
printerror("AddQinfoSuccess",$reurl,1);
2、在其前增加:
$email=$empire->gettotal("select fromemail as total from {$dbtbpre}enewspublic "); @include(ECMS_PATH.'e/class/SendEmail.inc.php'); $title="有来自会员 $username 的投稿"; $text=print_r($ad,true); //此处根据需要修改,这里把全部的投稿字段都发了 $sm=EcmsToSendMail($email,$title,$text);
邮箱也可以随意填写,修改成:
$email="邮箱地址";