📄 notebook.php
字号:
<?php
include'include/begin.php';
include language();
$pagename_m = $_pagename[35];
$tpl_html = 'notebook';
$reurl='notebook.php';
include'include/main.php';
if (!$username) {
echoerror(62);
}
if ($_GET["type"] == "edit") {
$result = mysql_query("select wordpad from {$db_prefix}address where username='$username'", $myconn);
$row = mysql_fetch_array($result);
$content = htmlspecialchars($row["wordpad"]);
} else if ($_GET["type"] == "post") {
$content = $_POST["content"];
ka($content, 65500);
mysql_query("update {$db_prefix}address set wordpad='$content' where username='$username' " , $myconn);
echoioy(8);
} else {
$result = mysql_query("select wordpad from {$db_prefix}address where username='$username'", $myconn);
$row = mysql_fetch_array($result);
$content = htmlspecialchars($row["wordpad"]);
$content = nl2br($content);
}
if ($_GET['type'] == 'edit') {
$jjx1 = tpl_fun_jjx1(array('content' => $content));
} else {
$jjx2 = tpl_fun_jjx2(array('content' => $content));
}
include_once'./cache/template/m_' . $style_id . '_' . $tpl_html . '.php';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -