Description: Modify 1:e/admin/tool/regook.php/* Reply form * *
Add code at line 43
-----------------------------------------------------------------------------------------------
Copy Code code as follows:
<input name= "Email" type= "hidden" id= "email" value= "<?= $r [email]?>" >/* Access user emial Address * *
<input name= "Lytext" type= "hidden" id= "Lytext" value= "<?= $r [lytext]?>" >/* Take user message information * *
-----------------------------------------------------------------------------------------------
67 Lines Add Form selection
--------------------------------------------------------------------------------------------------------------- ---
<tr bgcolor= "#FFFFFF" >
<td height= "> Notice friend:</td>
<td height=" ">
<input Name= "checked[]" type= "checkbox" id= "checked[" "value=" "title=" issued emial notice friends style= "background: #99C4E3" >
< Span style= "color:red" > Book friend email:<?= $r [email]?> </span>
</td>
</tr>
--------------------------------------------------------------------------------------------------------------- ------
Modified 2:
e/admin/tool/gbook.php Add a row:
Include (".. /.. /class/sendemail.inc.php ");
30 Lines of code
----------------------------------------------------------
ElseIf ($enews = = "Regbook")
{
$lyid =$_post[' Lyid '];
$bid =$_post[' bid '];
$retext =$_post[' Retext '];
Regbook ($lyid, $retext, $bid, $logininid, $loginin);
----------------------------------------------------------
Modified into:
----------------------------------------------------------
ElseIf ($enews = = "Regbook")
{
$lyid =$_post[' Lyid '];
$bid =$_post[' bid '];
$retext =$_post[' Retext '];
$email =$_post[' email '];
$lytext =$_post[' Lytext '];
$checked = (int) $_post[' checked '];
if ($checked)//Send
{
ecmstosendmail ($email, $lytext, $retext);
}
Regbook ($lyid, $retext, $bid, $logininid, $loginin);
The above mentioned is the entire content of this article, I hope you can enjoy.