www.gusucode.com > 高端企业门户+论坛网站源码程序 > 整站安装/整站源码/source/class/table/table_common_member_newprompt.php
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: table_common_member_newprompt.php 27449 2012-06-28 05:32:35Z liulanbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class table_common_member_newprompt extends discuz_table { public function __construct() { $this->_table = 'common_member_newprompt'; $this->_pk = 'uid'; $this->_pre_cache_key = 'common_member_newprompt_'; parent::__construct(); } public function insert($uid, $data) { if(empty($uid) || empty($data)) { return false; } DB::insert($this->_table, array('uid' => intval($uid), 'data' => serialize($data))); } } ?>