?? index.php
字號:
<?php
include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>編輯參數(shù)設(shè)置</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<script Language=\"JavaScript\">\r\nfunction CheckForm()\r\n{\r\n form1.submit();\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$query = "SELECT * from USER where USER_ID='".$LOGIN_USER_ID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$EMAIL_REPLY_CONTENT = $ROW['EMAIL_REPLY_CONTENT'];
$EMAIL_REPLY_SUBJECT = $ROW['EMAIL_REPLY_SUBJECT'];
$EMAIL_REPLY_NOTE = $ROW['EMAIL_REPLY_NOTE'];
}
echo "\r\n<table border=\"0\" width=\"90%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n <tr>\r\n <td class=\"Big\"><img src=\"/images/menu/email.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"absmiddle\"><span class=\"big3\"> 參數(shù)設(shè)置</span><br>\r\n </td>\r\n </tr>\r\n</table>\r\n <table border=\"0\" width=\"550\" cellpadding=\"2\" cellspacing=\"1\" align=\"center\" bgcolor=\"#000000\" class=\"small\">\r\n <form enctype=\"multipart/form-data\" action=\"update.php\" method=\"post\" name=\"form1\">\r\n <tr>\r\n <td nowrap class=\"TableData\" width=\"150\"> 回復(fù)時,加入原郵件:</td>\r\n <td class=\"TableData\">\r\n <select name=\"EMAIL_REPLY_CONTENT\" class=\"BigSelect\">\r\n <option value=\"1\" ";
if ( $EMAIL_REPLY_CONTENT == 1 )
{
echo "selected";
}
echo ">加入</option>\r\n <option value=\"0\" ";
if ( $EMAIL_REPLY_CONTENT == 0 )
{
echo "selected";
}
echo ">不加入</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td valign=\"top\" nowrap class=\"TableData\">回復(fù)時,主題顯示:</td>\r\n <td class=\"TableData\">\r\n <select name=\"EMAIL_REPLY_SUBJECT\" class=\"BigSelect\">\r\n <option value=\"0\" ";
if ( $EMAIL_REPLY_SUBJECT == 0 )
{
echo "selected";
}
echo ">Re</option>\r\n <option value=\"1\" ";
if ( $EMAIL_REPLY_SUBJECT == 1 )
{
echo "selected";
}
echo ">Reply</option>\r\n <option value=\"2\" ";
if ( $EMAIL_REPLY_SUBJECT == 2 )
{
echo "selected";
}
echo ">回復(fù)</option>\r\n <option value=\"3\" ";
if ( $EMAIL_REPLY_SUBJECT == 3 )
{
echo "selected";
}
echo ">答復(fù)</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td valign=\"top\" nowrap class=\"TableData\">已讀回執(zhí):</td>\r\n <td class=\"TableData\">\r\n <select name=\"EMAIL_REPLY_NOTE\" class=\"BigSelect\">\r\n <option value=\"0\" ";
if ( $EMAIL_REPLY_NOTE == 0 )
{
echo "selected";
}
echo ">提醒我</option>\r\n <option value=\"1\" ";
if ( $EMAIL_REPLY_NOTE == 1 )
{
echo "selected";
}
echo ">不發(fā)回執(zhí) (包括收到對方要求回執(zhí)的郵件,也不發(fā)送回執(zhí))</option>\r\n <option value=\"2\" ";
if ( $EMAIL_REPLY_NOTE == 2 )
{
echo "selected";
}
echo ">發(fā)回執(zhí) (包括收到對方要求回執(zhí)的郵件,直接發(fā)送回執(zhí))</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr align=\"center\" class=\"TableControl\">\r\n <td colspan=\"2\" nowrap>\r\n <input type=\"button\" value=\"保存修改\" class=\"BigButton\" onclick=\"CheckForm();\"> \r\n </td>\r\n </tr>\r\n </table>\r\n</form>\r\n\r\n<br>\r\n\r\n</body>\r\n</html>";
?>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -