📄 article_string_mix.php
字号:
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_StringMix');
if(empty($dopost)) $dopost = "";
if(empty($allsource)) $allsource = "";
else $allsource = stripslashes($allsource);
$m_file = dirname(__FILE__)."/../include/data/downmix.php";
//保存
if($dopost=="save")
{
$fp = fopen($m_file,'w');
flock($fp,3);
fwrite($fp,$allsource);
fclose($fp);
header("Content-Type: text/html; charset={$cfg_ver_lang}");
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$cfg_ver_lang}\">\r\n";
echo "<script>alert('Save OK!');</script>";
}
//读出
if(empty($allsource)&&filesize($m_file)>0){
$fp = fopen($m_file,'r');
$allsource = fread($fp,filesize($m_file));
fclose($fp);
}
require_once(dirname(__FILE__)."/templets/article_string_mix.htm");
ClearAllLink();
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -