?? func_evp.php
字號:
<?php
if (!defined('ROOT'))
exit('Access Denied');
function evp($eid, $idt, $ids)
{
global $user;
$db = db::getinstance();
$db->query("insert into " . PF . "center_evp (eid,idt,ids,admin,ptime) values('$eid','$idt','$ids','$user[name]','" .
SYSTIME . "')");
$sql = $idt == 'tid' ? "update " . PF .
"center_titles set attrib='1' where tid='$ids'" : "update " . PF .
"center_posts set attrib='1' where pid='$ids'";
$db->query($sql);
}
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -