1 Star 0 Fork 0

ica / lyb_0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
replymsg.php 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
Moe-boshi 提交于 2018-06-18 22:44 . 第一次提交
<?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">&nbsp;&nbsp;&nbsp;&nbsp;员:</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
type="submit" name="submit" value=" 确 定 " />
</form>
</div>
PHP
1
https://gitee.com/ica520/lyb_0.git
git@gitee.com:ica520/lyb_0.git
ica520
lyb_0
lyb_0
master

搜索帮助