📄 member_email.php
字号:
<?php
include( "../config.inc.php" );
include( "../includes/SysGlobal.php" );
include( "language/".$aLan."_".$charset.".php" );
include( "../includes/version.php" );
include( "../includes/pro.php" );
include( "func/adm.inc.php" );
include( "func/common.inc.php" );
include( "func/db.inc.php" );
include( "func/ebmail.inc.php" );
include( "func/nocatch.php" );
needauth( 55 );
$memberid = $_REQUEST['memberid'];
$membertypeid = $_REQUEST['membertypeid'];
$from = $_REQUEST['from'];
$step = $_REQUEST['step'];
$page = $_REQUEST['page'];
echo "<html>\r\n<head >\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=";
echo $charset;
echo "\">\r\n<link id=\"style_sheet\" href=\"css/commonstyle.css\" type=\"text/css\" rel=\"stylesheet\">\r\n<title>";
echo $strAdminTitle;
echo "</title>\r\n\r\n</head>\r\n\r\n<body class=\"NormalPage\">\r\n<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\" background=\"images/mu8.gif\" height=\"30\" >\r\n <tr> \r\n <td width=\"350\" > <img src=\"images/bar.gif\"> ";
echo $strMemberMailSend;
echo "</td>\r\n <td > </td> <td width=\"100\" > </td>\r\n </tr>\r\n </table>\r\n";
readconfig( );
$SiteName = $CONF['SiteName'];
$SiteHttp = $CONF['SiteHttp'];
$SiteEmail = $CONF['SiteEmail'];
if ( $step == "send" )
{
$toemail = $_POST['toemail'];
$fromemail = $_POST['fromemail'];
$fromtitle = $_POST['fromtitle'];
$message = $_POST['message'];
ebmail( $toemail, $fromemail, $fromtitle, $message );
sayok( $strMemberMailNotice.$toemail, $from."?membertypeid=".$membertypeid, "" );
}
echo " \r\n";
$msql->query( "select * from {$tbl_member} where memberid='{$memberid}'" );
if ( $msql->next_record( ) )
{
$email = $msql->f( "email" );
$name = $msql->f( "name" );
}
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"4\">\r\n <form method=\"post\" action=\"member_email.php\">\r\n <tr align=\"center\"> \r\n <td colspan=\"2\" class=title height=\"26\">";
echo $strMemberMailSend;
echo "</td>\r\n </tr>\r\n <tr> \r\n <td width=\"150\" class=title align=\"right\">";
echo $strMemberMailTitle;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"fromtitle\" size=\"66\" class=input value=\"";
echo $SiteName.$strMemberMailPub;
echo "\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td width=\"150\" class=title align=\"right\">";
echo $strMemberMailTo;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"toemail\" size=\"66\" value=\"";
echo $email;
echo "\" class=input>\r\n </td>\r\n </tr>\r\n <tr> \r\n <td width=\"150\" class=title align=\"right\">";
echo $strMemberMailCon;
echo "</td>\r\n <td class=con> \r\n <textarea name=\"message\" cols=\"65\" rows=\"10\" class=input1>";
echo $name.$strMemberMailHello."\r\n\r\n\r\n\r\n\r\n\r\n\r\n".$SiteName." \r\n".$SiteHttp." \r\n";
echo "</textarea>\r\n </td>\r\n </tr>\r\n <tr> \r\n <td width=\"150\" class=title align=\"right\">";
echo $strMemberMailFrom;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"fromemail\" size=\"66\" value=\"";
echo $SiteEmail;
echo "\" class=input>\r\n </td>\r\n </tr>\r\n <tr align=\"center\"> \r\n <td colspan=\"2\" class=title> \r\n <input type=\"hidden\" name=\"membertypeid\" value=\"";
echo $membertypeid;
echo "\">\r\n <input type=\"hidden\" name=\"memberid\" value=\"";
echo $memberid;
echo "\">\r\n <input type=\"hidden\" name=\"from\" value=\"";
echo $from;
echo "\">\r\n <input type=\"hidden\" name=\"page\" value=\"";
echo $page;
echo "\">\r\n <input type=\"hidden\" name=\"step\" value=\"send\">\r\n <input type=\"submit\" name=\"Submit\" value=\"";
echo $strMemberMailSD;
echo "\" class=button>\r\n <input type=\"button\" name=\"Submit2\" value=\"";
echo $strBack;
echo "\" class=button onClick=\"self.location='";
echo $from;
echo "?membertypeid=";
echo $membertypeid;
echo "'\">\r\n </td>\r\n </tr>\r\n </form>\r\n</table>\r\n\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -