📄 quickqueries.inc.php
字号:
<?php
/*
[Discuz!] (C)2001-2007 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$RCSfile: quickqueries.inc.php,v $
$Revision: 1.1.2.6 $
$Date: 2007/03/21 15:52:03 $
*/
if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}
$simplequeries = array(
array('comment' => '快速开启论坛版块功能', 'sql' => ''),
array('comment' => '所有版块 “主题回收站” 开启', 'sql' => 'UPDATE {tablepre}forums SET recyclebin=\'1\''),
array('comment' => '所有版块 “Discuz! 代码” 开启', 'sql' => 'UPDATE {tablepre}forums SET allowbbcode=\'1\''),
array('comment' => '所有版块 “[IMG] 代码” 开启', 'sql' => 'UPDATE {tablepre}forums SET allowimgcode=\'1\''),
array('comment' => '所有版块 “Smilies 代码(表情)” 开启', 'sql' => 'UPDATE {tablepre}forums SET allowsmilies=\'1\''),
array('comment' => '所有版块 “内容干扰码” 开启', 'sql' => 'UPDATE {tablepre}forums SET jammer=\'1\''),
array('comment' => '所有版块 “允许匿名发贴” 开启', 'sql' => 'UPDATE {tablepre}forums SET allowanonymous=\'1\''),
array('comment' => '所有版块 “支付宝求购按钮” 开启', 'sql' => 'UPDATE {tablepre}forums SET allowpaytoauthor=\'1\''),
array('comment' => '快速关闭论坛版块功能', 'sql' => ''),
array('comment' => '所有版块 “主题回收站” 关闭', 'sql' => 'UPDATE {tablepre}forums SET recyclebin=\'0\''),
array('comment' => '所有版块 “HTML 代码” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowhtml=\'0\''),
array('comment' => '所有版块 “Discuz! 代码” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowbbcode=\'0\''),
array('comment' => '所有版块 “[IMG] 代码” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowimgcode=\'0\''),
array('comment' => '所有版块 “Smilies 代码(表情)” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowsmilies=\'0\''),
array('comment' => '所有版块 “内容干扰码” 关闭', 'sql' => 'UPDATE {tablepre}forums SET jammer=\'0\''),
array('comment' => '所有版块 “允许匿名发贴” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowanonymous=\'0\''),
array('comment' => '所有版块 “支付宝求购按钮” 关闭', 'sql' => 'UPDATE {tablepre}forums SET allowpaytoauthor=\'0\''),
array('comment' => '会员操作相关', 'sql' => ''),
array('comment' => '所有会员风格为“默认风格”', 'sql' => 'UPDATE {tablepre}members SET styleid=\'0\''),
array('comment' => '清空所有会员“积分交易记录”', 'sql' => 'TRUNCATE {tablepre}creditslog;'),
array('comment' => '清空所有会员的帖子收藏夹', 'sql' => 'TRUNCATE {tablepre}favorites;'),
);
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -