说明:修改1:e/admin/tool/ReGook.PHP /*回复表单*/
43行处添加代码 -----------------------------------------------------------------------------------------------
代码如下:
用户EMIAL地址*/
用户留言信息*/
-----------------------------------------------------------------------------------------------
67行添加表单选择项
------------------------------------------------------------------------------------------------------------------
通知书友:Box" id="checked[]" value="" title="发Emial通知书友" style="background:#99C4E3">
--------------------------------------------------------------------------------------------------------------------- 修改2: e/admin/tool/gbook.PHP 添加一行:
PHP;">
include("../../class/SendEmail.inc.PHP");
30行代码 ----------------------------------------------------------
PHP;">
elseif($enews=="ReGbook")
{
$lyid=$_POST['lyid'];
$bid=$_POST['bid'];
$retext=$_POST['retext'];
ReGbook($lyid,$retext,$bid,$logininid,$loginin);
}
---------------------------------------------------------- 修改成: ----------------------------------------------------------
PHP;">
elseif($enews=="ReGbook")
{
$lyid=$_POST['lyid'];
$bid=$_POST['bid'];
$retext=$_POST['retext'];
$email=$_POST['email'];
$lytext=$_POST['lytext'];
$checked=(int)$_POST['checked'];
if($checked)//发送
{
EcmsToSendMail($email,$lytext,$retext);
}
ReGbook($lyid,$loginin);
}
以上所述就是本文的全部内容了,希望大家能够喜欢。
原文链接:https://www.f2er.com/empirecms/21578.html