时间:2021-07-01 10:21:17 帮助过:24人阅读
43行处添加代码
-----------------------------------------------------------------------------------------------
代码如下:
/*取用户EMIAL地址*/
/*取用户留言信息*/
67行添加表单选择项
------------------------------------------------------------------------------------------------------------------
通知书友: 书友Email:<?=$r[email]?>
---------------------------------------------------------------------------------------------------------------------
修改2:
e/admin/tool/gbook.php 添加一行:
include("../../class/SendEmail.inc.php");
30行代码
----------------------------------------------------------
elseif($enews=="ReGbook") { $lyid=$_POST['lyid']; $bid=$_POST['bid']; $retext=$_POST['retext']; ReGbook($lyid,$retext,$bid,$logininid,$loginin); }
----------------------------------------------------------
修改成:
----------------------------------------------------------
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,$retext,$bid,$logininid,$loginin); }
以上所述就是本文的全部内容了,希望大家能够喜欢。