magic_see.inc.php
来自「Discuz_7.0.0 是一款社区程序源码!! 国内80 的站长使用此程序」· PHP 代码 · 共 36 行
PHP
36 行
<?php
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: magic_see.inc.php 16688 2008-11-14 06:41:07Z cnteacher $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
if(submitcheck('usesubmit')) {
if(empty($pid)) {
showmessage('magics_info_nonexistence');
}
$post = getpostinfo($pid, 'pid', array('p.fid', 'useip'));
checkmagicperm($magicperm['forum'], $post['fid']);
usemagic($magicid, $magic['num']);
updatemagiclog($magicid, '2', '1', '0', '0', $pid);
showmessage('magics_SEK_message', '', 1);
}
function showmagic() {
global $pid, $lang;
magicshowtype($lang['option'], 'top');
magicshowsetting($lang['target_pid'], 'pid', $pid, 'text');
magicshowtype('', 'bottom');
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?