說明:修改1:
e/admin/tool/ReGook.php /*回復(fù)表單*/43行處添加代碼
-----------------------------------------------------------------------------------------------
<input name="email" type="hidden" id="email" value="<?=$r[email]?>"> /*取用戶EMIAL地址*/<input name="lytext" type="hidden" id="lytext" value="<?=$r[lytext]?>"> /*取用戶留言信息*/-----------------------------------------------------------------------------------------------
67行添加表單選擇項(xiàng)
------------------------------------------------------------------------------------------------------------------
<tr bgcolor="#FFFFFF"><td height="25">通知書友:</td><td height="25"><input name="checked[]" type="checkbox" id="checked[]" value="" title="發(fā)Emial通知書友" style="background:#99C4E3"><span style="color:red"> 書友Email:<?=$r[email]?> </span></td></tr>----------------------------------------------------------------------------------------------------------------------
修改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)//發(fā)送{EcmsToSendMail($email,$lytext,$retext);}ReGbook($lyid,$retext,$bid,$logininid,$loginin);}
新聞熱點(diǎn)
疑難解答
圖片精選