代码拉取完成,页面将自动刷新
<?php
session_start();
if (! isset($_SESSION['username'])) {
if ($_SESSION['username'] != "admin") {
header("Location:login.php");
exit();
}
}
?>
<head>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<script src="tinymce/js/tinymce/tinymce.min.js"></script>
<script>tinymce.init({
selector: 'textarea',
theme: "modern",
language: "zh_CN",
plugins: "advlist, anchor, autolink, autoresize, autosave, bbcode, charmap, code, codesample, colorpicker, compat3x, contextmenu, directionality, emoticons, fullpage, fullscreen, help, hr, image, imagetools, importcss, insertdatetime, legacyoutput, link, lists, media, nonbreaking, noneditable, pagebreak, paste, preview, print, save, searchreplace, spellchecker, tabfocus, table, template, textcolor, textpattern, toc, visualblocks, visualchars, wordcount, emoticons",
// 使用的插件,有很多插件和工具栏按钮重复,可以去掉
// 这里加载所有插件
branding: false
});</script>
</head>
<div class="form">
<form id="form1" name="form1" method="post" action="reply.php"
onsubmit="return InputCheck(this)">
<h3>回复留言</h3>
<p>
<input type="button" onclick="window.location.href='index.php'"
value="首页" />
</p>
<p>
<input id="id" name="id" type="hidden" value="<?=$_POST['id']?>" /> <label
for="title">管 理 员:</label> <input type="text"
name="nickname" value="<?=$_SESSION['username']?>"
disabled="disabled" />
</p>
<p>
<label for="title">回复内容:</label>
<textarea id="content" name="reply" cols="50" rows="8"></textarea>
</p>
<input type="button" onclick="history.go(-1)" value="返回"></input> <input
type="submit" name="submit" value=" 确 定 " />
</form>
</div>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。