⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 member_notice_mod.php

📁 学校网站源码http://您的网址/admin/admin_login.asp 默认登录用户:admin 默认登录密码:admin
💻 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/nocatch.php" );
needauth( 57 );
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</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=\"250\" >&nbsp;&nbsp;<img src=\"images/bar.gif\">&nbsp;&nbsp;";
echo $strMemberNCEdit;
echo " \r\n    </td>\r\n    <td >&nbsp;</td>    <td width=\"100\" >&nbsp;</td>\r\n  </tr>\r\n  </table>\r\n";
$step = $_REQUEST['step'];
$body = $_REQUEST['body'];
$id = $_REQUEST['id'];
if ( $step == "2" )
{
	$dtime = time( );
	if ( 65000 < strlen( $body ) )
	{
		err( $strMemberNC3, "", "" );
	}
	$body = url2path( $body );
	$msql->query( "update {$tbl_member_notice} set body='{$body}' where id='{$id}' " );
	sayok( $strModifyOk, "member_notice.php", "" );
}
echo " ";
$msql->query( "select id,body from {$tbl_member_notice} where id='{$id}'" );
if ( $msql->next_record( ) )
{
	$oldbody = $msql->f( "body" );
	$id = $msql->f( "id" );
	$oldbody = htmlspecialchars( $oldbody );
}
echo " <br>\r\n<table width=625 border=0 cellspacing=0 cellpadding=0 align=center height=22>\r\n  <tr> \r\n    <td  align=center height=22 width=10 valign=top>&nbsp;</td>\r\n    <td  align=left height=22 width=3 class=title valign=top><img src=images/menubg10.gif width=3></td>\r\n    <td  align=center height=22 width=130 class=title><a href='member_notice.php' style=\"color:#ffffff\">";
echo $strMemberNCManage;
echo "</a></td>\r\n    <td  align=center height=22 width=1  class=title><img src=images/menubg11.gif width=3 height=22></td>\r\n    <td  align=left height=22 width=3 class=con valign=top><img src=images/menubg10.gif width=3></td>\r\n    <td  align=center height=22 width=130 class=con><a href='member_notice_add.php'  style=\"color:#333333\">";
echo $strMemberNCPub;
echo "</a></td>\r\n    <td  align=center height=22 width=1  class=con><img src=images/menubg11.gif width=3 height=22></td>\r\n    <td  align=center height=22>&nbsp;</td>\r\n  </tr>\r\n</table>\r\n<table width=\"625\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" height=\"22\">\r\n  <tr> \r\n    <td class=title align=\"left\" height=\"22\" valign=\"top\" width=\"3\"><img src=\"images/menubg16.gif\" width=\"3\" height=\"30\"></td>\r\n    <td";
echo " class=title align=\"center\" height=\"22\" colspan=\"2\">";
echo $strMemberNCEdit;
echo "</td>\r\n    <td class=title align=\"right\" height=\"22\" width=\"3\" valign=\"top\"><img src=\"images/menubg17.gif\" width=\"3\" height=\"30\"></td>\r\n  </tr>\r\n</table>\r\n<table width=\"625\" cellpadding=\"0\" align=\"center\"  style=\"border-collapse: collapse\" border=\"0\" cellspacing=\"0\">\r\n  <form name=\"form\" action=\"member_notice_mod.php\" method=\"post\" enctype=\"multipart/form-data\">\r\n    <tr> \r\n      <td height=\"18\"> \r\n        ";
echo "<input  name=body type=hidden>\r\n        <input type=\"hidden\" name=\"step\" value=\"2\">\r\n        <input type=\"hidden\" name=\"id\" value=\"";
echo $id;
echo "\">\r\n        ";
include( "edithtml/index1.php" );
echo " </td>\r\n    </tr>\r\n    <tr> \r\n      <td align=\"center\"  colspan=\"2\" height=\"40\" class=title> \r\n        <input type=\"submit\" name=\"submit\"  onClick=\"save();\" value=\"";
echo $strSubmit;
echo "\" class=button>\r\n      </td>\r\n    </tr>\r\n  </form>\r\n</table>\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -