saet.ex类源码
http://stdlib.sinaapp.com/?f=saet.ex.class.php

mysql类源码
http://stdlib.sinaapp.com/?f=sae_mysql.class.php


用到的一个数据表
--
-- 表的结构 `robot_user`
--

CREATE TABLE IF NOT EXISTS `robot_user` (
  `id` int(10) NOT NULL auto_increment,
  `qq` int(10) NOT NULL,
  `robot` int(10) NOT NULL,
  `uid` varchar(20) NOT NULL,
  `screen_name` varchar(20) NOT NULL,
  `oauth_token` varchar(50) NOT NULL,
  `oauth_token_secret` varchar(50) NOT NULL,
  `domain` varchar(20) NOT NULL,
  `state` tinyint(1) NOT NULL,
  `uCode` varchar(10) NOT NULL,
  `new_weibo` tinyint(1) NOT NULL,
  `new_comm` tinyint(1) NOT NULL,
  `new_fans` tinyint(1) NOT NULL,
  `new_msg` tinyint(1) NOT NULL,
  `new_atme` tinyint(1) NOT NULL,
  `utime` int(10) NOT NULL,
  `atime` int(10) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=248 ;
