admin/add_hybz.php

(完整代码) 1KB

<?php 
include("admin.php");
include("fckeditor.php");
$sBasePath=$_SERVER['PHP_SELF'];
$sBasePath=dirname($sBasepath);
$ed= new FCKeditor('content');
$ed->BasePath=$sBasePath;
if($_POST['fenlei']&&$_POST['content']){
mysql_query("INSERT INTO `".$ad."help` (
`id` ,`fenlei` ,`title` ,`content` ,`yuedu` ,`time` )
VALUES (NULL , '{$_POST['fenlei']}', '{$_POST['title']}', '{$_POST['content']}', '', NOW( ) );");
  echo"<script language=javascript>  
alert( \"添加信息成功!\"  );
location.href = \"admin_hybz.php\"
</script>";
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>科目管理</title>
<link href="main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>

<body>
<p>&nbsp;</p>
<form name="PosForm" method="post" action="" style="margin:0">
	<table width="100%" border="0" cellspacing="1" cellpadding="5">
		<tr>
			<td height="25" class="td_title">&nbsp;会员帮助添加</td>
		</tr>
		<tr>
			<td height="23" class="td_content"><p>会员类型:
			    <select name="fenlei" id="fenlei">
			      <option value="教员帮助">教员帮助</option>
			      <option value="学员帮助">学员帮助</option>
              </select> 
			    &nbsp;<br><br>信息标题:
			    <input name="title" type="text" id="title" size="50">
			  <br>
              <br>
信息内容:<?php $ed->Create(); ?>			
<br><br>
			    <input name="Submit" type="submit" class="input_1" value="确定添加">          
          </p></td>
		</tr>
	</table>
	<br>
</form>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。