📄 form_look.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/form.inc.php" );
include( "func/ebmail.inc.php" );
include( "func/db.inc.php" );
include( "func/nocatch.php" );
needauth( 61 );
$step = $_REQUEST['step'];
$page = $_REQUEST['page'];
$id = $_REQUEST['id'];
$menuid = $_REQUEST['menuid'];
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\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 $strFormBack;
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 );
$msql->query( "update {$tbl_form_feedback} set reversion='1' where id='{$id}'" );
sayok( $strFormNotice3.$toemail, "form_feedback.php?menuid=".$menuid."&page=".$page, "" );
}
echo creat_table( $page, $menuid, $id );
echo " \r\n<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"4\">\r\n <form method=\"post\" action=\"form_look.php\">\r\n <tr align=\"center\"> \r\n <td colspan=\"2\" class=title height=\"26\">";
echo $strFormBack;
echo "</td>\r\n </tr>\r\n <tr> \r\n <td width=\"100\" class=title align=\"right\">";
echo $strFormMail1;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"fromtitle\" size=\"60\" value=\"RE:";
echo $title;
echo "\" class=input>\r\n </td>\r\n </tr>\r\n <tr> \r\n <td width=\"100\" class=title align=\"right\">";
echo $strFormMail2;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"toemail\" size=\"60\" value=\"";
echo $email;
echo "\" class=input>\r\n </td>\r\n </tr>\r\n <tr> \r\n <td width=\"100\" class=title align=\"right\">";
echo $strFormMail3;
echo "</td>\r\n <td class=con> \r\n <textarea name=\"message\" cols=\"59\" rows=\"10\" class=input1>";
echo $name.$strFormMail5."\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=\"100\" class=title align=\"right\">";
echo $strFormMail4;
echo "</td>\r\n <td class=con> \r\n <input type=\"text\" name=\"fromemail\" size=\"60\" 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=\"id\" value=\"";
echo $id;
echo "\">\r\n <input type=\"hidden\" name=\"menuid\" value=\"";
echo $menuid;
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 $strSubmit;
echo "\" class=button>\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 + -