⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forum.inc.t

📁 eGroupWare is a multi-user, web-based groupware suite developed on a custom set of PHP-based APIs. C
💻 T
字号:
<?php/**************************************************************************** copyright            : (C) 2001-2003 Advanced Internet Designs Inc.* email                : forum@prohost.org* $Id: forum.inc.t,v 1.1.1.1 2003/10/17 21:11:26 ralfbecker Exp $** This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or * (at your option) any later version.***************************************************************************/function is_moderator($frm_id, $user_id){	return q_singleval('SELECT id FROM {SQL_TABLE_PREFIX}mod WHERE user_id='.$user_id.' AND forum_id='.$frm_id);}function frm_updt_counts($frm_id, $replies, $threads, $last_post_id){	$threads	= !$threads ? '' : ', thread_count=thread_count+'.$threads;	$last_post_id	= !$last_post_id ? '' : ', last_post_id='.$last_post_id;	q('UPDATE {SQL_TABLE_PREFIX}forum SET post_count=post_count+'.$replies.$threads.$last_post_id.' WHERE id='.$frm_id);}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -