-- phpMyAdmin SQL Dump
-- version 2.11.7
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2008 年 09 月 29 日 05:46
-- 服务器版本: 5.0.51
-- PHP 版本: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- 数据库: `oophp`
--

-- --------------------------------------------------------

--
-- 表的结构 `oophp_album`
--

CREATE TABLE IF NOT EXISTS `oophp_album` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(100) NOT NULL,
  `content` varchar(200) NOT NULL,
  `show` enum('0','1') NOT NULL,
  `password` varchar(100) NOT NULL default '0',
  `imgname` varchar(100) NOT NULL,
  `imgurl` varchar(200) NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ;

--
-- 导出表中的数据 `oophp_album`
--

INSERT INTO `oophp_album` (`id`, `name`, `content`, `show`, `password`, `imgname`, `imgurl`, `addtime`, `updatetime`) VALUES
(25, '随意乱拍', 'sdfsd', '1', '', '12206067540.jpg', 'http://127.0.0.1/blog/public/upload/album/12206067540.jpg', 2008, 2008),
(26, '同事', '', '1', 'adfs', '12206067660.jpg', 'http://127.0.0.1/blog/public/upload/album/12206067660.jpg', 2008, 2008),
(27, '同学', 'asdfsdf', '1', 'adfsdf', '12206067780.jpg', 'http://127.0.0.1/blog/public/upload/album/12206067780.jpg', 2008, 2008),
(28, '朋友', 'adfs', '1', 'c4ca4238a0b923820dcc509a6f75849b', '12206068000.jpg', 'http://127.0.0.1/blog/public/upload/album/12206068000.jpg', 2008, 2008),
(29, '我的家人', 'adsfsdf', '1', 'c81e728d9d4c2f636f067f89cc14862c', '12206068230.jpg', 'http://127.0.0.1/blog/public/upload/album/12206068230.jpg', 2008, 2008);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_albumclass`
--

CREATE TABLE IF NOT EXISTS `oophp_albumclass` (
  `id` tinyint(11) unsigned NOT NULL auto_increment,
  `pid` tinyint(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 导出表中的数据 `oophp_albumclass`
--


-- --------------------------------------------------------

--
-- 表的结构 `oophp_article`
--

CREATE TABLE IF NOT EXISTS `oophp_article` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `title` varchar(150) NOT NULL,
  `author` varchar(50) NOT NULL,
  `content` text NOT NULL,
  `class` varchar(50) NOT NULL,
  `tags` varchar(50) NOT NULL,
  `viewnum` int(11) NOT NULL default '1',
  `show` enum('0','1','2') NOT NULL default '0',
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=147 ;

--
-- 导出表中的数据 `oophp_article`
--

INSERT INTO `oophp_article` (`id`, `title`, `author`, `content`, `class`, `tags`, `viewnum`, `show`, `addtime`, `updatetime`) VALUES
(102, 'dfasdf', 'dsfasf', '<p>dfasdfasd</p>\r\n<pre class="php"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;?php</span>\r\n<span style="color: rgb(0, 0, 0); font-weight: bold;">class</span> Attachment <span style="color: rgb(0, 0, 0); font-weight: bold;">extends</span> Zend_Db_Table\r\n&nbsp;\r\n<span style="color: rgb(102, 204, 102);">{</span>\r\n	protected <span style="color: rgb(0, 0, 255);">$_name</span> =<span style="color: rgb(255, 0, 0);">&quot;oophp_attachment&quot;</span>;\r\n<span style="color: rgb(102, 204, 102);">}</span></pre>\r\n<p>&nbsp;skdjfklasdjfs</p>\r\n<p>dsfasdfasdfsf</p>', '53', 'sdfasdfas', 126, '1', 2008, 2008),
(103, 'efadsf', 'dfsad', '<p>fsadfadsfsf</p>\r\n<p>&nbsp;</p>\r\n<pre class="php"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;?php</span>\r\n <span style="color: rgb(0, 0, 0); font-weight: bold;">public</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">function</span> getForm<span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(102, 204, 102);">)</span>\r\n    <span style="color: rgb(102, 204, 102);">{</span>\r\n        <span style="color: rgb(128, 128, 128); font-style: italic;">// create form </span>\r\n        <span style="color: rgb(0, 0, 255);">$form</span> = <span style="color: rgb(0, 0, 0); font-weight: bold;">new</span> Zend_Form<span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n		\r\n	<span style="color: rgb(128, 128, 128); font-style: italic;">// Create and configure password element:</span>\r\n	<span style="color: rgb(0, 0, 255);">$password</span> = <span style="color: rgb(0, 0, 255);">$form</span>-&gt;<span style="color: rgb(0, 102, 0);">createElement</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''password''</span>, <span style="color: rgb(255, 0, 0);">''password''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n	<span style="color: rgb(0, 0, 255);">$password</span>-&gt;<span style="color: rgb(0, 102, 0);">addValidator</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''StringLength''</span>, <span style="color: rgb(0, 0, 0); font-weight: bold;">false</span>, <a href="http://www.php.net/array"><span style="color: rgb(0, 0, 102);">array</span></a><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(204, 102, 204);">6</span><span style="color: rgb(102, 204, 102);">)</span><span style="color: rgb(102, 204, 102);">)</span>\r\n		 -&gt;<span style="color: rgb(0, 102, 0);">setRequired</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n&nbsp;\r\n	<span style="color: rgb(128, 128, 128); font-style: italic;">// Add elements to form:</span>\r\n	<span style="color: rgb(0, 0, 255);">$form</span>-&gt;<span style="color: rgb(0, 102, 0);">addElement</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(0, 0, 255);">$username</span><span style="color: rgb(102, 204, 102);">)</span>\r\n	-&gt;<span style="color: rgb(0, 102, 0);">addElement</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(0, 0, 255);">$password</span><span style="color: rgb(102, 204, 102);">)</span>\r\n	 <span style="color: rgb(128, 128, 128); font-style: italic;">// use addElement() as a factory to create ''Login'' button:</span>\r\n      -&gt;<span style="color: rgb(0, 102, 0);">addElement</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''submit''</span>, <span style="color: rgb(255, 0, 0);">''login''</span>, <a href="http://www.php.net/array"><span style="color: rgb(0, 0, 102);">array</span></a><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''label''</span> =&gt; <span style="color: rgb(255, 0, 0);">''Login''</span><span style="color: rgb(102, 204, 102);">)</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n        <span style="color: rgb(177, 177, 0);">return</span> <span style="color: rgb(0, 0, 255);">$form</span>;\r\n    <span style="color: rgb(102, 204, 102);">}</span>\r\n<span style="color: rgb(0, 0, 0); font-weight: bold;">?&gt;</span></pre>\r\n<p>&nbsp;</p>\r\n<p><img src="http://127.0.0.1/blog/public/upload/article/12203651260.jpg" alt="" style="width: 423px; height: 316px;" /></p>\r\n<p>asdfadsf</p>', '57\r\n', 'dfasdf', 1, '1', 2008, 2008),
(108, '哈哈...我的第一个日志', 'kylingood', '<p>&nbsp;</p>\r\n<p>哈哈...我的第一个日志</p>\r\n<p>哈哈...我的第一个日志</p>\r\n<p>哈哈...我的第一个日志</p>\r\n<p><span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/div.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">      &lt;div</span></a> <span style="color: rgb(0, 0, 102);">class</span>=<span style="color: rgb(255, 0, 0);">&quot;more&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span> 	<span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/a.html"></a></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/a.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;a</span></a> <span style="color: rgb(0, 0, 102);">href</span>=<span style="color: rgb(255, 0, 0);">&quot;#&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span>查看完整日志....<span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/a&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span> 	<span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/div.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;div</span></a> <span style="color: rgb(0, 0, 102);">class</span>=<span style="color: rgb(255, 0, 0);">&quot;clear&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span> 	<span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/div.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;div</span></a> <span style="color: rgb(0, 0, 102);">class</span>=<span style="color: rgb(255, 0, 0);">&quot;postmetadata&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/div.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;div</span></a> <span style="color: rgb(0, 0, 102);">class</span>=<span style="color: rgb(255, 0, 0);">&quot;post_comments&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;"> </span></span><span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/img.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;img</span></a> <span style="color: rgb(0, 0, 102);">src</span>=<span style="color: rgb(255, 0, 0);">&quot;&lt;{$baseUrl}&gt;</span>/public/images/comment.png&quot; alt=&quot;comment&quot;&gt;</span></p>\r\n<p><span style="color: rgb(0, 153, 0);">评论 :<span style="color: rgb(0, 153, 0);">&lt;a href=&quot;</span>#<span style="color: rgb(255, 0, 0);">&quot; title=&quot;</span>Comment on More Tags<span style="color: rgb(255, 0, 0);">&quot;&gt;</span>[12]条</span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">&lt;/a&gt;</span><span style="color: rgb(0, 153, 0);">&lt;/div&gt;</span> <span style="color: rgb(0, 153, 0);">&lt;div class=&quot;</span>tagging<span style="color: rgb(255, 0, 0);">&quot;&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">&lt;img src=&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;</span><span style="color: rgb(102, 204, 102);">{</span>$baseUrl<span style="color: rgb(102, 204, 102);">}</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span>/public/images/tags.png&quot; alt=&quot;tags&quot;&gt;</p>\r\n<p>标签: <span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/a.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;a</span></a> <span style="color: rgb(0, 0, 102);">href</span>=<span style="color: rgb(255, 0, 0);">&quot;#&quot;</span> <span style="color: rgb(0, 0, 102);">rel</span>=<span style="color: rgb(255, 0, 0);">&quot;tag&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;</span><span style="color: rgb(102, 204, 102);">{</span>$arrArticles<span style="color: rgb(102, 204, 102);">[</span>ArticleList<span style="color: rgb(102, 204, 102);">]</span>.tags<span style="color: rgb(102, 204, 102);">}</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/a&gt;</span></span><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span></p>\r\n<p><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span> 		<span style="color: rgb(0, 153, 0);"><a href="http://december.com/html/4/element/div.html"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;div</span></a> <span style="color: rgb(0, 0, 102);">class</span>=<span style="color: rgb(255, 0, 0);">&quot;clear&quot;</span><span style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span></span><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/div&gt;</span></span></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>', '54\r\n', 'PHP,哈哈...', 1, '1', 2008, 2008),
(106, 'dsfasdfasdf', 'dsfasdf', '<p>dfasdfasdfs</p>\r\n<p>根据Google官方博客报道，除了发布Google Chrome浏览器之外，Google最新还同时发布了新版图片管理软件Picasa 3英文版（中文版还依旧是2.7），经过一番试用，我发现Picasa 3有不少值得称赞的亮点。</p>\r\n<p>&nbsp;</p>\r\n<pre class="php"><span style="color: rgb(0, 0, 0); font-weight: bold;">function</span> indexAction<span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(102, 204, 102);">)</span>\r\n    <span style="color: rgb(102, 204, 102);">{</span>	\r\n  		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">assign</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''title''</span>,<span style="color: rgb(255, 0, 0);">''default''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''header.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;  \r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''index/index.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''footer.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n    <span style="color: rgb(102, 204, 102);">}</span></pre>\r\n<p>&nbsp;</p>\r\n<p>根据Google官方博客报道，除了发布Google Chrome浏览器之外，Google最新还同时发布了新版图片管理软件Picasa 3英文版（中文版还依旧是2.7），经过一番试用，我发现Picasa 3有不少值得称赞的亮点。</p>', '53', '123', 0, '1', 2008, 2008),
(107, 'dsfasfds', 'dfasdf', '<p>&nbsp;</p>\r\n<pre class="php"><span style="color: rgb(0, 0, 0); font-weight: bold;"> sdafsdsadfsfdsadfsadfsd function</span> indexAction<span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(102, 204, 102);">)</span>\r\n    <span style="color: rgb(102, 204, 102);">{</span>	\r\n  		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">assign</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''title''</span>,<span style="color: rgb(255, 0, 0);">''default''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''header.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;  \r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''index/index.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n		<span style="color: rgb(0, 0, 255);">$this</span>-&gt;<span style="color: rgb(0, 102, 0);">smarty</span>-&gt;<span style="color: rgb(0, 102, 0);">display</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">''footer.phtml''</span><span style="color: rgb(102, 204, 102);">)</span>;\r\n    <span style="color: rgb(102, 204, 102);">}</span></pre>\r\n<p>dsfasdfasfdasfd</p>\r\n<p>&nbsp;</p>', '54\r\n', '111', 111, '1', 2008, 2008),
(109, 'fsadfasd', 'dsfasfd', '<p>dfasdfasdf</p>\r\n<p>asdf</p>\r\n<p>as</p>\r\n<p><img src="http://127.0.0.1/blog/public/upload/article/12206980960.jpg" style="width: 420px; height: 314px;" alt="" /></p>\r\n<p>df</p>\r\n<p>sadfsdf</p>', '54\r\n', 'dfadsfasd', 445, '1', 2008, 2008),
(110, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '1', 2008, 2008),
(111, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '1', 2008, 2008),
(112, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '0', 2008, 2008),
(113, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 2, '1', 2008, 2008),
(114, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '0', 2008, 2008),
(115, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '1', 2008, 2008),
(116, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '0', 2008, 2008),
(117, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '0', 2008, 2008),
(118, 'sdfasdf', 'asdfsadf', 'asdfasdfasdf', '54', 'asdfsd', 1, '1', 2008, 2008),
(119, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(120, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 2, '1', 2008, 2008),
(121, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(122, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '1', 2008, 2008),
(123, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 3, '1', 2008, 2008),
(124, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(125, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(126, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(127, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(128, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(129, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(130, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(131, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(132, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(133, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(134, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(135, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(136, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(137, 'asdfasdf', 'asdfasdf', 'asdfasdfsdf', '54', 'asdfsad', 1, '0', 2008, 2008),
(138, 'asdfasdf', 'asdfasdf', '<p>asdfasdfsdf</p>\r\n<p>有两种方式可以在索引中进行搜索。第一个方式是使用查询分析程序(Query Parser)来从字符串中创建查询。第二个方式通过  Zend_Search_Lucene API 提供了创建自己的查询的可能。</p>\r\n<p>在选择使用查询分析程序之前，请考虑下面问题：</p>\r\n<div class="orderedlist">\r\n<ol type="1">\r\n    <li>\r\n    <p>如果你使用程序生成查询字串并传递给查询分析程序，那么你最好考虑直接使用查询 API  来建立查询。换句话说，查询分析程序是为人为输入的文本设计的，而不是为程序生成的文本准备的。</p>\r\n    </li>\r\n    <li>\r\n    <p>非记号化字段最好直接加入查询中，而不是通过查询分析程序。如果一个字段的值是应用程序生成的，那么它应该按照这个条款进行查询。查询分析程序使用的机制，是设计来转换人为输入的文本的。像日期、关键词等等，都可以认为是程序生成的信息。</p>\r\n    </li>\r\n    <li>\r\n    <p>在查询表单中，用于产生文本的字段应该是用查询分析程序。所有其它的诸如日期范围、关键词等，最好通过查询 API  直接加入查询中。一个具有一组取之范围的字段，可以通过下拉菜单来实现而不应该加入需要被分析的查询字串中，而不是增加一个查询项。</p>\r\n    </li>\r\n</ol>\r\n</div>\r\n<p>两种途径都使用同样的 API 方法来搜索索引：</p>', '54', 'asdfsad', 3, '0', 2008, 2008),
(139, 'asdfasdf', 'asdfasdf', '<p>有两种方式可以在索引中进行搜索。第一个方式是使用查询分析程序(Query Parser)来从字符串中创建查询。第二个方式通过  Zend_Search_Lucene API 提供了创建自己的查询的可能。</p>\r\n<p>在选择使用查询分析程序之前，请考虑下面问题：</p>\r\n<div class="orderedlist">\r\n<ol type="1">\r\n    <li>\r\n    <p>如果你使用程序生成查询字串并传递给查询分析程序，那么你最好考虑直接使用查询 API  来建立查询。换句话说，查询分析程序是为人为输入的文本设计的，而不是为程序生成的文本准备的。</p>\r\n    </li>\r\n    <li>\r\n    <p>非记号化字段最好直接加入查询中，而不是通过查询分析程序。如果一个字段的值是应用程序生成的，那么它应该按照这个条款进行查询。查询分析程序使用的机制，是设计来转换人为输入的文本的。像日期、关键词等等，都可以认为是程序生成的信息。</p>\r\n    </li>\r\n    <li>\r\n    <p>在查询表单中，用于产生文本的字段应该是用查询分析程序。所有其它的诸如日期范围、关键词等，最好通过查询 API  直接加入查询中。一个具有一组取之范围的字段，可以通过下拉菜单来实现而不应该加入需要被分析的查询字串中，而不是增加一个查询项。</p>\r\n    </li>\r\n</ol>\r\n</div>\r\n<p>两种途径都使用同样的 API 方法来搜索索引：</p>\r\n<p>asdfasdfsdf</p>', '54', 'asdfsad', 6, '1', 2008, 2008),
(140, 'PHP framework ', 'asdfasdf', '<p>asdfasdfsdf</p>\r\n<p>PHP framework</p>\r\n<p>&nbsp;</p>\r\n<p>PHP framework&nbsp;&nbsp; dfsdf</p>', '54', 'asdfsad', 4, '0', 2008, 2008),
(141, 'PHP framework ', 'asdfasdf', '<p>asdfasdfsdf</p>\r\n<p>PHP framework</p>\r\n<p>sdfasdf</p>\r\n<p>good</p>\r\n<p>贡献</p>\r\n<p>贡贡贡献</p>\r\n<p>&nbsp;</p>\r\n<p>有两种方式可以在索引中进行搜索。第一个方式是使用查询分析程序(Query Parser)来从字符串中创建查询。第二个方式通过  Zend_Search_Lucene API 提供了创建自己的查询的可能。</p>\r\n<p>在选择使用查询分析程序之前，请考虑下面问题：</p>\r\n<div class="orderedlist">\r\n<ol type="1">\r\n    <li>\r\n    <p>如果你使用程序生成查询字串并传递给查询分析程序，那么你最好考虑直接使用查询 API  来建立查询。换句话说，查询分析程序是为人为输入的文本设计的，而不是为程序生成的文本准备的。</p>\r\n    </li>\r\n    <li>\r\n    <p>非记号化字段最好直接加入查询中，而不是通过查询分析程序。如果一个字段的值是应用程序生成的，那么它应该按照这个条款进行查询。查询分析程序使用的机制，是设计来转换人为输入的文本的。像日期、关键词等等，都可以认为是程序生成的信息。</p>\r\n    </li>\r\n    <li>\r\n    <p>在查询表单中，用于产生文本的字段应该是用查询分析程序。所有其它的诸如日期范围、关键词等，最好通过查询 API  直接加入查询中。一个具有一组取之范围的字段，可以通过下拉菜单来实现而不应该加入需要被分析的查询字串中，而不是增加一个查询项。</p>\r\n    </li>\r\n</ol>\r\n</div>\r\n<p>两种途径都使用同样的 API 方法来搜索索引：</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>PHP framework</p>', '54', 'asdfsad', 11, '1', 2008, 2008),
(142, '日志 呵呵..', 'asdfasdf', '<p>asdfasdfsdf</p>\r\n<p>有两种方式可以在索引中进行搜索。第一个方贡献 式是使用查询分析程序(Query Parser)来从字符串中创建查询。第二个方式通过  Zend_Search_Lucene API 提供了创建自己的查询的可能。</p>\r\n<p>在选择使用查询分析程序之前，请考虑下面问题：</p>\r\n<div class="orderedlist">\r\n<ol type="1">\r\n    <li>\r\n    <p>如果你使用程序生成查询字串贡献并传递给查询分析程序，那么你最好考虑直接使用查询 API  来建立查询。换句话说，查询分析程序是为人为输入的文本设计的，而不是为程序生成的文本准备的。</p>\r\n    </li>\r\n    <li>\r\n    <p>非记号化字段最好直接加入查询中，而不是通过查询分析程序。如果一个字段的值是应用程序生成的，那么它应该按照这个条款进行查询。查询分析程序使用的机制，是设计来转换人为输入的文本的。像日期、关键词等等，都可以认为是程序生成的信息。</p>\r\n    </li>\r\n    <li>\r\n    <p>在查询表单中，用于产生文本的字段应该是用查询分析程序。所有其它的诸如日期范围、关键词等，最好通过查询 API  直接加入查询中。一个具有一组取之范围的字段，可以通过下拉菜单来实现而不应该加入需要被分析的查询字串中，而不是增加一个查询项。</p>\r\n    </li>\r\n</ol>\r\n</div>\r\n<p>两种途径都使用同样的 API 方法来搜索索引：</p>', '54', 'asdfsad', 50, '1', 2008, 2008),
(143, '我们受难的天表达式巨大贡献', 'sdfs', '<p>ddsfasdf</p>', '57', '', 1, '1', 2008, 2008),
(144, '我们受难的天表达式巨大贡献', 'sdfsdf', '<p>sdfasdfas</p>', '57\r\n', '', 4, '1', 2008, 0),
(145, '我们受难的天表达式日志巨大贡献', 'dsfasd', '<p>dsfasdf</p>', '57\r\n', '', 6, '1', 2008, 0),
(146, '我的日志啊...', 'kylingood', '<p>dfasfasdf</p>', '57\r\n', '', 12, '1', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_articleclass`
--

CREATE TABLE IF NOT EXISTS `oophp_articleclass` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `pid` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=59 ;

--
-- 导出表中的数据 `oophp_articleclass`
--

INSERT INTO `oophp_articleclass` (`id`, `pid`, `name`) VALUES
(58, 55, 'sadfasd'),
(57, 0, 'Zend Framework'),
(56, 0, 'MYSQL'),
(55, 0, 'APACHE'),
(54, 0, 'LINUX'),
(53, 0, 'PHP技术');

-- --------------------------------------------------------

--
-- 表的结构 `oophp_attachment`
--

CREATE TABLE IF NOT EXISTS `oophp_attachment` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `typeid` int(11) NOT NULL,
  `type` enum('article','photo','album') NOT NULL,
  `url` varchar(230) NOT NULL,
  `imgname` varchar(100) NOT NULL,
  `attachdesc` varchar(200) NOT NULL,
  `downs` varchar(25) NOT NULL,
  `addtime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=55 ;

--
-- 导出表中的数据 `oophp_attachment`
--

INSERT INTO `oophp_attachment` (`id`, `typeid`, `type`, `url`, `imgname`, `attachdesc`, `downs`, `addtime`) VALUES
(52, 103, 'article', 'http://127.0.0.1/blog/public/upload/article/12203651260.jpg', '12203651260.jpg', 'dfsdfs', '0', 2008),
(54, 109, 'article', 'http://127.0.0.1/blog/public/upload/article/12206980960.jpg', '12206980960.jpg', 'dffasdfs', '0', 2008),
(51, 102, 'article', 'http://127.0.0.1/blog/public/upload/12200993980.jpg', '12200993980.jpg', 'dsfasdfasd', '0', 2008);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_comment`
--

CREATE TABLE IF NOT EXISTS `oophp_comment` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `pid` int(11) NOT NULL default '0',
  `commentid` int(11) NOT NULL,
  `type` varchar(50) NOT NULL,
  `username` varchar(100) NOT NULL,
  `headimg` varchar(150) NOT NULL,
  `email` varchar(200) NOT NULL,
  `content` varchar(300) NOT NULL,
  `show` enum('0','1','2') NOT NULL,
  `ip` varchar(50) NOT NULL,
  `address` varchar(150) NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=57 ;

--
-- 导出表中的数据 `oophp_comment`
--

INSERT INTO `oophp_comment` (`id`, `pid`, `commentid`, `type`, `username`, `headimg`, `email`, `content`, `show`, `ip`, `address`, `addtime`, `updatetime`) VALUES
(1, 0, 95, 'feed', '游客', '', 'aaaaa', 'ccc', '1', '127', 'aaaaa', 2008, 2008),
(22, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', 'zxczxc', '1', '127.0.0.1', '本机地址', 2008, 2008),
(3, 0, 109, 'article', '游客', '', 'aaaaa', 'ccc', '1', '127.0.0.1', '', 2008, 2008),
(21, 0, 109, 'article', '游客', '', 'j_kylin@163.com', 'asdasda', '1', '127.0.0.1', '本机地址', 2008, 2008),
(20, 0, 109, 'article', 'dsdfasd', '', 'j_kylin@163.com', 'dsfsadfsd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(9, 0, 109, 'article', '游客', '', 'aaaaa', 'ccc', '1', '127.0.0.1', '', 2008, 2008),
(19, 0, 109, 'article', '游客', '', 'kylingood@gmail.com', 'dsfasfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(11, 0, 109, 'article', '游客', '', 'aaaaa', 'ccc', '1', '127.0.0.1', '', 2008, 2008),
(12, 0, 109, 'article', '游客', '', 'kjkljkl', 'fdsfasfds', '1', '127.0.0.1', '', 2008, 2008),
(13, 0, 109, 'article', '游客', '', 'dsfads', 'fdafsd', '1', '127.0.0.1', '北京市', 2008, 2008),
(14, 0, 109, 'article', '游客', '', 'dafsd', 'xvccxz', '1', '127.0.0.1', '美国', 2008, 2008),
(15, 0, 109, 'article', '游客', '', 'dsfsad', 'sdfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(16, 0, 109, 'article', '游客', '', 'dsfasd', '57466', '1', '127.0.0.1', '本机地址', 2008, 2008),
(17, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', '57466', '1', '127.0.0.1', '本机地址', 2008, 2008),
(18, 0, 109, 'article', '游客', '', 'kljlk@adf.com', ';lk;lk\n\n	function	ChangImg()\n	{	\n		var checkcode = $("#imgcode").get(0);\n		var dt = new Date();\n		checkcode.src = "/admin/auth/imgcode/t=" + dt;	\n	}\n', '1', '127.0.0.1', '本机地址', 2008, 2008),
(23, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', 'zxczxc', '1', '127.0.0.1', '本机地址', 2008, 2008),
(24, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', 'zxczxc', '1', '127.0.0.1', '本机地址', 2008, 2008),
(25, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', 'zxczxc', '1', '127.0.0.1', '本机地址', 2008, 2008),
(26, 0, 109, 'article', '游客', '', 'asdfasd@gmail.com', 'zxczxc', '1', '127.0.0.1', '本机地址', 2008, 2008),
(27, 0, 108, 'article', '游客', '', 'j_kylin@163.com', 'sdfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(28, 0, 108, 'article', '游客', '', 'asdfasd@gmail.com', 'dfasdfsad', '1', '127.0.0.1', '本机地址', 2008, 2008),
(29, 0, 108, 'article', '游客', '', 'asdfasd@gmail.com', 'dfasdfsad', '1', '127.0.0.1', '本机地址', 2008, 2008),
(30, 0, 108, 'article', '游客', '', 'kylingood@hotmail.com', 'dsfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(31, 0, 108, 'article', '游客', '', 'kylingood@gmail.com', 'afdsfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(32, 0, 108, 'article', '游客', '', 'j_kylin@163.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(33, 0, 108, 'article', 'admin', '', 'j_kylin@163.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(34, 0, 108, 'article', 'dfasdf', '', 'j_kylin@163.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(35, 0, 108, 'article', 'sdfasd', '', 'j_kylin@163.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(36, 0, 108, 'article', '游客', '', 'kylingood@hotmail.com', 'sdfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(37, 0, 108, 'article', '游客', '', 'j_kylin@163.com', 'dfadsfsad', '1', '127.0.0.1', '本机地址', 2008, 2008),
(38, 0, 108, 'article', '游客', '', 'j_kylin@163.com', 'dsfadsf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(39, 0, 108, 'article', '游客', '', 'j_kylin@163.com', 'sdfafsd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(40, 0, 108, 'article', '游客', '', 'dsfasd@asdf.com', 'sdfadsf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(41, 0, 108, 'article', '游客', '', 'dsfasd@sdf.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(42, 0, 107, 'article', '游客', '', 'asdfasd@gmail.com', 'dsfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(43, 0, 107, 'article', '游客', '', 'j_kylin@163.com', 'dfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(44, 0, 107, 'article', 'kylingood', '', 'j_kylin@163.com', 'dsfafds', '1', '127.0.0.1', '本机地址', 2008, 2008),
(45, 0, 109, 'article', '游客', '', 'kenjikylin@163.com', 'sdfasd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(46, 0, 109, 'article', '游客', '', 'kylingood@gmail.com', '迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您', '1', '127.0.0.1', '本机地址', 2008, 2008),
(47, 0, 109, 'article', '游客', '', 'j_kylin@163.com', '迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表您的看法、交流您的观点。迎参与讨论，请在这里发表', '1', '127.0.0.1', '本机地址', 2008, 2008),
(48, 0, 142, 'article', '游客', '7', 'fasd@sdfas.com', 'dfasdfads', '1', '127.0.0.1', '本机地址', 2008, 2008),
(49, 0, 142, 'article', '游客', '7', 'sdfa@sadf.com', 'sdfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(50, 0, 142, 'article', 'kylingood', '3', 'kylingood@gmail.com', 'dsfasdf', '1', '127.0.0.1', '本机地址', 2008, 2008),
(51, 0, 142, 'article', '游客', '5', 'asdf@sdf.com', 'ddfasfds', '1', '127.0.0.1', '本机地址', 2008, 2008),
(52, 0, 142, 'article', '游客', '2', 'sdfasdf@asas.com', 'dsfasdfsa', '1', '127.0.0.1', '本机地址', 2008, 2008),
(53, 0, 139, 'article', '游客', '4', 'sdfas@aa.com', 'dfasdfsd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(54, 0, 145, 'article', '游客', '1', 'adsfads@asdf.com', 'fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', '1', '127.0.0.1', '本机地址', 2008, 2008),
(55, 0, 95, 'article', '游客', '4', 'adsfasdf@sda.com', 'adsfasdfsd', '1', '127.0.0.1', '本机地址', 2008, 2008),
(56, 0, 95, 'feed', '游客', '4', 'adsfa@dsfas.com', 'dfasdfds', '1', '127.0.0.1', '本机地址', 1222161122, 1222161122);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_count`
--

CREATE TABLE IF NOT EXISTS `oophp_count` (
  `id` int(11) NOT NULL auto_increment,
  `ip` varchar(30) NOT NULL,
  `time` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=45 ;

--
-- 导出表中的数据 `oophp_count`
--

INSERT INTO `oophp_count` (`id`, `ip`, `time`) VALUES
(1, '0', 1221440453),
(2, '127.0.0.1', 1221440458),
(3, '127.0.0.1', 1221440662),
(4, '127.0.0.1', 1221440734),
(5, '127.0.0.1', 1221440941),
(6, '127.0.0.1', 1221441389),
(7, '127.0.0.1', 1221441523),
(8, '127.0.0.1', 1221441551),
(9, '127.0.0.1', 1221441610),
(10, '127.0.0.1', 1221441821),
(11, '127.0.0.1', 1221441829),
(12, '127.0.0.1', 1221441829),
(13, '127.0.0.1', 1221441835),
(14, '127.0.0.1', 1221441870),
(15, '127.0.0.1', 1221441897),
(16, '127.0.0.1', 1221441931),
(17, '127.0.0.1', 1221447475),
(18, '127.0.0.1', 1221453704),
(19, '127.0.0.1', 1221458205),
(20, '127.0.0.1', 1221464011),
(21, '127.0.0.1', 1221468943),
(22, '127.0.0.1', 1221526201),
(23, '127.0.0.1', 1221565516),
(24, '127.0.0.1', 1221617361),
(25, '127.0.0.1', 1221621637),
(26, '127.0.0.1', 1221625931),
(27, '127.0.0.1', 1221630305),
(28, '127.0.0.1', 1221665055),
(29, '127.0.0.1', 1221698533),
(30, '127.0.0.1', 1221702410),
(31, '127.0.0.1', 1221746185),
(32, '127.0.0.1', 1221749796),
(33, '127.0.0.1', 1221754316),
(34, '127.0.0.1', 1221785104),
(35, '127.0.0.1', 1221882925),
(36, '127.0.0.1', 1221915028),
(37, '127.0.0.1', 1222049339),
(38, '127.0.0.1', 1222087979),
(39, '127.0.0.1', 1222133962),
(40, '127.0.0.1', 1222137747),
(41, '127.0.0.1', 1222152729),
(42, '127.0.0.1', 1222157156),
(43, '127.0.0.1', 1222162232),
(44, '127.0.0.1', 1222226908);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_feed`
--

CREATE TABLE IF NOT EXISTS `oophp_feed` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(300) NOT NULL,
  `link` varchar(300) NOT NULL,
  `description` mediumtext NOT NULL,
  `category` varchar(50) NOT NULL default '',
  `comments` int(11) NOT NULL,
  `publishtime` int(11) NOT NULL,
  `addtime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=99 ;

--
-- 导出表中的数据 `oophp_feed`
--

INSERT INTO `oophp_feed` (`id`, `title`, `link`, `description`, `category`, `comments`, `publishtime`, `addtime`) VALUES
(88, 'PHP Appalachia Update - Elizabeth Naramore', 'http://naramore.net/blog/php-appalachia', '<p><a href="http://phpappalachia.org">PHP Appalachia</a> is now only 3 weeks away! We have 30 people currently signed up, but there is still room for more. There may be room in the <a href="http://www.alpinechaletrentals.com/viewproperty.aspx?PropertyID=18016">Main Cabin</a> (<a href="http://wiki.phpappalachia.org/phpapp/cabinrooms">room sharing availability is on our wiki</a>) or else there are plenty of campsites and hotels in the general area. </p><p>Remember this is an unconference, which is being scheduled by the fabulous Keith Casey (who did an outstanding job as ZendCon''s recent unconference Chair) and you can see the <a href="http://wiki.phpappalachia.org/phpapp/2008schedule">tentative schedule also available at our wiki</a>. As you can see there will be plenty of time to do other things, such as visit Pigeon Forge and Gatlinburg, and the surrounding areas.</p><p>We''ve also started a <a href="http://wiki.phpappalachia.org/phpapp/2008attendees">list of attendees</a> at the wiki, and although not everyone is listed, I''m sure you''ll see some familiar names on there.</p><p>So come drink, be merry, and maybe kick around some PHP with us in the mountains!</p>', '', 0, 0, 1222154593),
(86, 'PHP timeline - Richard Heyes', 'http://www.phpguru.org/#342', '\n                    <p class="firstLetter">Was just checking on how long I''ve been a geek, and found this <a href="http://lucasbaltes.com/php-museum/" target="_blank">neat little timeline</a> of PHP releases. You can drag the main view left or right, or drag the overview left and right.\n                ', '', 0, 0, 1222154593),
(87, 'Presentation-Fu (Making Frameworks Suck Less Part 1) - Terry Chay', 'http://terrychay.com/blog/article/frameworks-suck-1.shtml', '<p>People ask me all the time how I make such awesome conference talks, so I decided to give you the gory step-by-step. Along the way I’ll even include my top-sekret speaker notes <span title="mostly because I never have them" class="commentary">which I never share</span>! It’ll give you an idea of the intense mental preparation it takes to be a <a href="http://terrychay.com/blog/article/flights-of-fancy.shtml" title="Flights of fancy. The key, I think, is spending most of your waking hours thinking about women. At least it works for me." class="commentary">top conference speaker in the PHP world</a> and <a href="http://terrychay.com/blog/article/me-as-a-php-hero.shtml" title="Did you ever know that I’m your hero?">general PHP hero</a>.</p>\n<div class="flimg"><a href="http://www.flickr.com/photos/tychay/2865686955/" title="Rated R again! by tychay, on Flickr"><img src="http://farm4.static.flickr.com/3010/2865686955_06f3aa1558.jpg" width="500" height="375" alt="Rated R again!"/></a>\n<div class="caption">“Rated R again!\n<p>“Making Frameworks Suck Less”<br/>\nby Terry Chay<br/>\n- howto/controverse<br/>\n- Rated: R (Drama, Sex, Language, Vilence)\n</p></div>\n</div>\n<p>I thought I was done with speaking for the year. I have milked <a href="http://terrychay.com/blog/article/php-ruby-evil-good.shtml" title="Why PHP triumphs over Ruby">my last talk</a> for over a year now and it was time to retired it. Since I had <a href="http://terrychay.com/blog/article/zendcon-talk-lunch20.shtml" title="At ZendCon tomorrow - see my talk, drink their drink">used this talk at the conference last year</a>, that meant skipping ZendCon. In fact, I was a little worried because I hadn’t had a clue what my next talk (to milk) was going to be about so maybe I’ll just sit out next year.</p>\n<p>That was because I had forgotten <a href="http://caseysoftware.com/blog" title="Casey" software="" llc="">Keith</a> had asked me to give an <a href="http://en.wikipedia.org/wiki/Unconference" title="unconference—Wikipedia. A participant-driven conference">unconference</a> talk there and I had said Yes. Then, a week before said conference, I get this e-mail asking if I’d be willing to move my slot to a different day.</p>\n<p>Doh!</p>\n<p>I had better find out <a href="http://www.zendcon.com/ZendCon08/public/wiki/UnCon_Talks" title="UnCon_Talks—ZendCon 08 Wiki">what my talk was supposed to be about</a>. When I did, my heart sank, it was a new topic and one I had no clue what to say.</p>\n<p><span id="more-1113"/></p>\n<h3>How I didn’t prepare the talk</h3>\n<blockquote><p><strong>Making frameworks suck less</strong>—Terry Chay<br/>\nTerry Chay, the original PHP Terrorist, is well known for his criticism and <a href="http://terrychay.com/blog/article/is-ruby-the-dog-and-php-the-dogfood.shtml" title="Is Ruby the dog and PHP the dogfood?">ridicule of the Ruby on Rails framework</a>. He criticizes, mocks, and f-bombs his enemies into surrender. In this discussion, Terry will share his ideas and thoughts on making frameworks better.</p></blockquote>\n<p>I had recently purchased <a href="http://www.amazon.com/gp/product/0874775043?tag=terrychay-20" title="The Now Habit—Amazon.com">a book about procrastination</a>. It had been procrastinating on my Amazon Wishlist for over a year and I had just finally got around to purchasing it. I had been procrastinating about reading it. But now the prospect of a conference talk I had no time to prepare for… let’s just say it seemed like a good way to procrastinate that by reading a book about procrastination!</p>\n<p>In fact, I got to the part of the book where it says the first step to overcoming procrastination was to live your life at least three days at your normal level of procrastination. Great! No need to prepare the talk at all.</p>\n<p>This book was already helpful!</p>\n<h3>Kicking Powerpoint’s ass</h3>\n<blockquote><p>“Giving a talk on “making web frameworks suck less” at 2:45 in #zendcon” —<a href="http://twitter.com/tychay/statuses/925145462">tychay</a></p>\n<p>“#zendcon Apparently @tychay is giving a talk at the same time as me (2:45 PM). That can’t be good for attendance. :-)” -<a href="http://twitter.com/shiflett/statuses/924984953">shiflett</a></p>\n<p>“missing @tychay’s talk at #zendcon… dammit.” —<a href="http://twitter.com/lightcap/statuses/924993564">lightcap</a></p>\n<p>“@shiflett that’s what I was thinking too. When @tychay gives a speech, he is his own conference. #zendcon” —<a href="http://twitter.com/spooons/statuses/924990062">spooons</a></p></blockquote>\n<p>Luckily, with the other book, on a whim I had purchased <a href="http://www.amazon.com/gp/product/1591841992?tag=terrychay-20" title="The Back of the Napkin:Solving Problmes and Selling Ideas with Pictures—Amazon">a book about communicating through drawings</a>. Now I hadn’t read it—I was reading the Procrastination book, remember?—but from the tes</p><p><i>Truncated by Planet PHP, read more at <a href="http://terrychay.com/blog/article/frameworks-suck-1.shtml">the original</a> (another 11109 bytes)</i></p>', '', 0, 0, 1222154593),
(85, 'Is Pagination Still Necessary? - Sean Coates', 'http://seancoates.com/is-pagination-still-necessary', '<p>My first network connection device was a 2400 baud modem. Practically speaking, that would allow me to sustain downloads at a rate of less than 250 bytes per second. This was relatively fast at the time; I''d been using my buddy''s 1200 baud modem to connect to local BBSs before that modem-netting birthday.</p><p>To put this into perspective, the Yahoo! homepage, all considered, is somewhere around 470kB. On my early-90s era modem, it would have taken a little over 30 minutes (half of one hour) to download (in perfect conditions, without protocol overhead (good ol'' zmodem), and if my mom didn''t happen to pick up the phone during transfer).</p><p>For the past few years, I''ve had a 10 megabit connection (downstream) into my home/office. Under perfect conditions, I can pull the entire Y! homepage, and all attached media in less than half of one second.</p><p>In the early 90s, the Y! homepage was obviously much smaller—all pages were smaller—but even with a smaller footprint, many pages took a long time to load. I remember browsing with many windows open (browsers didn''t have tabs back then... in fact, we barely had browsers (-: ), loading up a dozen or so pages before alt-tabbing back to the first one I''d queued up a few minutes before (on my 14.4kbps modem, by this time), to see if it had finally finished loading.</p><p>To overcome low connection speeds, lack of resources on the client side, and other factors such as connection latency that lead to slow page page loads, web pioneers came up with a model for allowing content to be delived in reasonable sized chunks that is still in use today: pagination. Long lists of (say "100") pieces of data ("search results") were separated into smaller pages (of "10"), including widgets to allow skipping to the next, previous and often any page in the set.</p><p>Well... <i>mostly</i> still in use today. </p><p>Technologies have helped us hack around the idea of separating growing amount of data into pages. Ajax, for example, allows the dynamic loading of the next set of results without forcing a page reload (often poorly... try bookmarking the result of many of these dynamic populations. Even Mobile Mail on the iPhone/iPod Touch allows something like this.</p><p>It seems to me, though, that web interface designers are stuck in this rut of showing end users a mere 10, 20 or even 100 items at a time. My 10Mb connection can handle a lot more traffic than you''re sending; your server had better be able to deliver it (and usually, it can); my browser is allowed to allocate much more RAM; and I even like to think that I''ve microevolved the ability to parse much more data that I could a few years ago.</p><p>So, I ask you, fellow web professionals: is pagination still necessary? I obviously don''t think so, but I''m not a User Experience guy, I''m a user (and also the guy who has to make the UX happen, and make sure your server can deliver the results mentioned above). Tell me what you think.</p>', '', 0, 0, 1222154593),
(83, 'Digital Identity slides from ZendCon - Rob Richards', 'http://www.cdatazone.org/index.php?/archives/47-Digital-Identity-slides-from-ZendCon.html', '\n    Slides have been posted for the latest version of my <a href="http://cdatazone.org/talks/zendcon_2008/Digital_Identity.pdf" title="Digital Identity">Digital Identity talk</a>.<br />\n<br />\nThis talk has evolved since I first starting giving it, but the latest version simple needed more time to present. I was asked to combine all the topics (OAuth was to be its own presentation) into one, which I probably won''t do again. Even just only covering the absolute basics, I found that there just isn''t enough time to cover them all in the short amount of time, so some material was skimmed over. If anyone has any questions on any of the material, please feel free to contact me. \n    ', '', 0, 0, 1222154593),
(84, 'ZendCon - Chris Shiflett', 'http://shiflett.org/blog/2008/sep/zendcon', '<p>Another <a href="http://zendcon.com/">ZendCon</a> has come and gone. I''ve been cutting back on the number of conferences I attend, but I''ve been to every ZendCon so far, and I hope to continue the trend for years to come. Along with <a href="http://tek.phparch.com/">php|tek</a>, it''s one of the best perennial PHP conferences.</p>\n<p class="blockimg"><img class="right" alt="" src="http://farm4.static.flickr.com/3152/2870134793_cbb7f7df95_m.jpg"/></p>\n<p>Although ZendCon has a reputation for being business-focused, there''s a strong community presence. I''ve been a community advocate since before <a href="http://shiflett.org/blog/2003/dec/php-community-site">PHPC began</a>, and I still derive the most value from the <em>hallway track</em>. I was happy to meet a number of people from the community that I hadn''t met before including <a href="http://akrabat.com/">Rob Allen</a>, <a href="http://ralphschindler.com/">Ralph Schindler</a>, <a href="http://adviesenzo.nl/">Juliette Folmer</a>, and the charismatic <a href="http://lornajane.net/">Lorna Mitchell</a>.</p>\n<p class="blockimg"><img class="left" alt="" src="http://farm4.static.flickr.com/3088/2870135907_58f4716b7b_m.jpg"/></p>\n<p><a href="http://gravitonic.com/">Andrei</a> and <a href="http://terrychay.com/blog/">Terry</a> were the <a href="http://twitter.com/shiflett/statuses/918926482">unofficial social chairs of ZendCon</a>, but because Terry had to take a holiday just to attend one day (Wednesday), I helped out. Organizing social events can be difficult, because you want to balance being inclusive with the benefit of small groups, so we tried to invite different people each night as well as make our plans known, so that anyone left out could self-organize. This worked out best at <a href="http://twitter.com/shiflett/statuses/923805015">The Rose & Crown Pub</a>, where it felt like <a href="http://twitter.com/shiflett/statuses/924235344">all of ZendCon was in attendance</a>. Even <a href="http://funkatron.com/">Ed</a> stayed out past his bedtime, and several people left with their own <a href="http://flickr.com/photos/funkatron/2870404641">Hofbräuhaus beer mug</a>.</p>\n<p class="blockimg"><img class="right" alt="" src="http://farm4.static.flickr.com/3170/2870965738_9f7b474fc2_m.jpg"/></p>\n<p>I learned that the conference was right across the street from <a href="http://whitehatsec.com/home/index.html">WhiteHat</a>, and I finally met <a href="http://jeremiahgrossman.blogspot.com/">Jeremiah Grossman</a>. Rob <a href="http://flickr.com/photos/akrabat/2869121489">captured the moment</a> for posterity. (Thanks, Rob.) Jeremiah suggested I attend <a href="http://www.owasp.org/index.php/OWASP_NYC_AppSec_2008_Conference">OWASP AppSec</a> this week, since it''s taking place in New York, so you might see me there. If nothing else, I hope to participate in a social event or two.</p>\n<p class="blockimg"><img class="left" alt="" src="http://farm4.static.flickr.com/3285/2870136791_3c7226d852_m.jpg"/></p>\n<p>While at ZendCon, I reflected on how much <a href="http://blog.calevans.com/">Cal Evans</a> does. Officially, he''s the editor of the <a href="http://devzone.zend.com/public/view">Zend Developer Zone</a> and has become affectionately known as Carl Blevins for his spelling mishaps, but over the past few years, he has become the personification of Zend that the PHP community considers one of our own. Everyone admires <a href="http://andigutmans.blogspot.com/">Andi</a> and <a href="http://suraski.net/blog/">Zeev</a>, but Cal is more immersed in the community. With his honest, straightforward responses to criticism, he reminds me of <a href="http://nathan.torkington.com/">Nat Torkington</a>. (<a href="http://use.perl.org/~gnat/journal/14513">Nat''s response</a> to "O''Reilly gripes" persists as one of my favorite examples of character, and comparison to his work at <a href="http://oreilly.com/">O''Reilly</a> is the greatest compliment I can think of.) So, it occurred to me that not only would ZendCon not be the same without Cal, neither would <a href="http://zend.com/">Zend</a>.</p>\n<p class="blockimg"><img class="right" alt="" src="http://farm4.static.flickr.com/3289/2870966088_7097d8381a_m.jpg"/></p>\n<p>I gave one talk, <em>Security-Centered Design</em>, which is easily the quirkiest talk I''ve given. I spent most of the time explaining what little I know of cognitive psychology, touching on topics such as <a href="http://en.wikipedia.org/wiki/Change_blindness">change blindness</a> and <a href="http://shiflett.org/blog/2007/feb/ambient-signifiers">ambient signifiers</a>. I was pleasantly surprised to see such a full room, because Terry''s talk was scheduled for the same time. I suspect most people who came to my talk simply didn''t realize that. :-) My <a href="http://shiflett.org/security-centered-design.pdf">slides</a> are available, but because most of the content consists of videos, live experiments, and commentary, the slides don''t offer much value. I''m open to s</p><p><i>Truncated by Planet PHP, read more at <a href="http://shiflett.org/blog/2008/sep/zendcon">the original</a> (another 1346 bytes)</i></p>', '', 0, 0, 1222154593),
(82, 'Zendcon 2008 wrap up - Elizabeth Marie Smith', 'http://elizabethmariesmith.com/2008/09/zendcon-2008-wrap-up/', 'I recently had the privilege of attending Zendcon 2008 in Santa Clara, CA  I ended up doing four talks (two regular, one panel, and one Unconference talk) in addition to working a few hours a day.  It was a lot of fun, as conferences always are, and it was great to meet my [...]', '', 0, 0, 1222154593),
(79, 'SVG Graphing - And prototype stripping - Alan Knowles', 'http://www.akbkhome.com/blog.php/View/173/SVG_Graphing__And_prototype_stripping.html', '\n         Remember the good old days where phpnuke was the worst code since\nsliced cheese, and thousands of idiot''s had installed in on their\nserver waiting to be hacked into..<br/><br/>\nWell, It''s a bit like how I felt this week trying to solve my svg graphing issues..<br/><br/>\nA bit of background, In the last week I just pushed out the latest\nversion of our Anti-spam / Mail control application, the big new\nfeature was a beta version of the statistic''s  and analysis section.\nWhere we showed nice little graphs about how much work your staff where\ndoing and if they had really been sending jokes all day long or just\nreading facebook spam<br/><br/><h3>Open Flash Charts</h3>\n<br/>\nWhile the database side , the design is quite interesting, I did not\nreally spend to much time thinking about the frontend - as I like to\nkeep that flexible (read throw away). So for the first beta I decided\nto use Open Flash Charts. The current version is extremely well\ndesigned, in terms of the chart generation consists of delivering a\nJSON file to a static single Flash file. The JSON file sets the graph\ntype, and date etc..<br/><br/>\nIt''s very quick to set up and work with, and the graphs are quite\npretty, and a cutely interactive. And for our first beta it''s just\nabout OK.<br/><br/>\nHowever for anything other than a beta,  there are rather serious problems with it. <br/>\na) It''s dog ass slow, to load, render on anything but a brand new overspec''d PC<br/>\nb) The flash file is quite large, and yet another overhead to a already large application.<br/>\nc) Having multiple Flash graphs on a single page, just makes the above two problems worse.<br/>\nd) It depends on closed source tools (Actionscript compilers etc.) - Never a good idea.<br/>\ne) Printing of Flash in firefox is broken (at least on linux)<br/>\nor basically all summed up... Flash sucks <br/><br/><h3>PlotKit </h3>\nSo after beta 1 was released to testing, I started the hunt for an\nalternative. Since the ''correct'' method to do graphs on the web is\nreally SVG, and as I like to shift all the pointless processing to the\nend users PC.  JavaScript to convert the data into a chart is really\nthe ideal solution.<br/><br/>\nPretty high up on google''s list is PlotKit, which has some really nice\ndemo''s on the site, It depends on two other pieces of code, excanvas\n(as nice self contained javascript file that handles SVG compatibility\nissues with IE/FF/Safari etc.)  and MochiKit. <br/><br/><h3>MochiKit</h3>\nSince MochiKit is none too small, and would add to my javascript\noverhead, I thought I''d check out what it was, and see if it was really\nneeded. What I saw, was more "nightmare on nuke street".<br/><br/>\nThe front page of the web site claims quite large "MochiKit makes\nJavaScript suck less", That should be paraphrased, "only if you are a\nPython nut-head" - otherwise it make your Javascript code into complete\njibberish. __self__, __new__, __screwed_up_language__ everywhere....<br/><br/>\n&lt;big rant> The dumb f*** who wrote it decided that Javascript was\nnot Python, so they should try and make it''s syntax as close to python\nas possible. Ignoring the fact that Javascript syntax just solves \nproblems differently, it does not need fixing or even breaking to be as\nbadly designed as python.. &lt;/big rant><br/><br/>\nAnyway after digging through the code to plotkit, and mochikit, I came\nto the conclusion that they had developed a piece of code that was\ncompletely unmaintainable or extend-able. So was forced to keep looking\nfor an alternative.<br/><br/><h3><a href="http://solutoire.com/plotr/">Plotr</a> </h3>\nQuite a way down google''s list (search svg javascript graph) I finally\nfound Plotr, Basically someone else had obviously looked at PlotKit,\nand decided that Mochikit was just so ugly, that removing it from the\napplication was the only sane thing left to do.<br/><br/>\nWhat they chose rather than MochiKit, was Prototype, which in general\nis considerably better than MochiKit. And basically removed all the\nMochikit dependancies and replaced them with Prototype. This made the\ncode quite a bit simple to read and understand, (they also added\ncomments), although I''m not to keen on this type of commenting, as I\nfind it add''s noise, and makes the code less readable.<br/><br/>\nxxxx : function (/** some_type **/ xxxxx, /** another_type **/) {<br/><br/>\nAnyway, otherwise Plotr looks clean and simple.<br/><br/>\n** It looks like the author of Plotr as gone on to start Flotr -\nanother graphing library.. - did not notice that until I''d commited to\nworking with Plotr...<br/><br/><h3>Prototype</h3>\nWhat I wanted to do however was reduce the size of the Prototype\ndependancy. So I started having a look at Prototype''s internals.<br/><br/><h3>Splattering the namespace</h3>\nUnlike Ext, and Roo, Prototype''s core creates quite a few global\nproperties, $, $R, $$, JSONSomething and Element which by the looks of\nt<p><i>Truncated by Planet PHP, read more at <a href="http://www.akbkhome.com/blog.php/View/173/SVG_Graphing__And_prototype_stripping.html">the original</a> (another 1911 bytes)</i></p>', '', 0, 0, 1222154593),
(80, 'Microsoft contributes to LGPL project for first time: ADOdb mssqlnative drivers - John Lim (PHP Everywhere - By John Lim) ', 'http://phplens.com/phpeverywhere/?q=node/view/253', '<p>Last week, I got an email from Garrett Serack, M''soft Open Source Community Developer. Microsoft have been kind enough to donate a set of ADOdb drivers for the new MSSQL Native Extension for PHP. You can download the <a href=http://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0-D031-466B-B09A-6597C21A2E2A&displaylang=en>extension here</a> and the <a href=http://sourceforge.net/project/showfiles.php?group_id=42718>ADOdb drivers here</a>.\n<p>Garrett also mentions that ADOdb is the first LGPL project that Microsoft has ever contributed to. I quote from his email to me:\n<pre>\nADODB is actually the first LGPL Open Source project that Microsoft has ever contributed to. \nWe''ve got a dozen or so others lined up and ready to go to other open source PHP projects \n(GPL, BSD and others), But ADODB was the *FIRST*. You could say that contributing to ADODB \nis Microsoft going from zero to one.\n\nWe announced it at OSCON, (see the post at http://port25.technet.com/archive/2008/07/25/oscon2008.aspx )\nalong with Microsoft becoming a platinum sponsor of the Apache Software Foundation. Either of\nthese two steps is such a good move for Microsoft, and both together, is a good sign that the \nCompany is learning.\n</pre>\n\n<p>Thanks Garrett.\n<p>Story in <a href=http://www.theregister.co.uk/2008/07/25/microsoft_gpl/>The Register</a>.\n<p>PS: ADOdb is dual licensed as LGPL and BSD. Choose which license you want.', '', 0, 0, 1222154593),
(81, 'Small hint for PDT, use autocomplete in /* @var */type hint. - Alex Netkachov', 'http://www.alexatnet.com/node/179', '<p>@var variable type hint is very useful, but adding it a little bit complex: usually you need to type the class name or copy/paste it from somewhere:</p>\n<p>/* @var $controller Zend_Controller_Front */</p>\n<p>But with Eclipse PDT templates you can simplify this and add an autocomplete for variable name and class name:</p>\n<p><img src="http://www.alexatnet.com/files/var-autocomplete-example_0.png" /><br />\n&lt;!--break--><br />\nTo add this template open Window menu, select Preferences and then navigate to PHP/Templates section in the tree. Then click "New..." button and fill the fields correspondingly:</p>\n<p><img src="http://www.alexatnet.com/files/var-autocomplete-settings_0.png" /></p>\n<p>After that, in the code view type "var" and press Ctrl+Space. Select "var - Variable type hint" in the list and continue by selecting or typing variable name and class name as shown on the video below:</p>\n<object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/60HG0KaRLMo" />  <embed src="http://www.youtube.com/v/60HG0KaRLMo" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object>', '', 0, 0, 1222154593),
(89, 'jQuery提醒---使用3元运算符注意。', 'http://www.cssrain.cn/default.asp?id=1088', '今天做写例子的时候，遇到一个问题：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.cssrain.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">$(&#34;table&#34;)<br/>&nbsp;&nbsp;&nbsp;&nbsp;.filter(&#34;:contains(&#39; &#34;+( $(this).val() )+&#34; &#39; )&#34;)<br/>&nbsp;&nbsp;&nbsp;&nbsp;.filter(&#34;:contains(&#39; &#34;+$(&#39;#filterSex&#39;).val()==&#39;全部&#39;?&#39;&#39;:$(&#39;#filterSex&#39;).val()&nbsp;&nbsp;)+&#34; &#39; )&#34;);</div></div><br/><br/>一直筛选不出，我要的数据。<br/><br/><br/>经过长时间的测试，原来是 我少了一对括号。<br/><br/>你看出来了吗？ 括号加在哪里。<br/><br/>哈哈，没看出来的话，我告诉你吧。<br/><br/>.filter(&#34;:contains(&#39;&#34;+<span style="color:Red">(</span> $(&#39;#filterSex&#39;).val()==&#39;全部&#39;?&#39;&#39;:$(&#39;#filterSex&#39;).val()&nbsp;&nbsp;<span style="color:Red">)</span>&nbsp;&nbsp;+&#34;&#39;)&#34;)<br/><br/>红色标记的，就是后来加上的括号，然后就能筛选我的数据了。<br/><br/><br/>虽然解决了，但是问题的根源我们还是要知道：<br/>为了解决这个问题，我写了3个例子，<br/>首先看第一个：<br/>&lt;sel&#101;ct id=&#34;sex&#34;&gt;<br/>&nbsp;&nbsp;&lt;option&gt;不限&lt;/option&gt;<br/>&nbsp;&nbsp;&lt;option&gt;男&lt;/option&gt;<br/>&nbsp;&nbsp;&lt;option&gt;女&lt;/option&gt;<br/>&lt;/sel&#101;ct&gt;<br/><br/>$(&#34;#sex&#34;).change(function(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;var value = $(this).val()==&#34;不限&#34;?&#34;hoho,我选择的是不限.&#34;:$(&#34;#sex&#34;).val();<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert( &#34;value=&#34;+value);<br/>}<br/><br/>我们使用了3元运算，但是我是先定义 变量value&nbsp;&nbsp;，然后在输出。<br/>这样是没问题的。<br/>演示1 :&nbsp;&nbsp;<a href="http://www.cssrain.cn/demo/lab/yuan/demo1.html" target="_blank">http://www.cssrain.cn/demo/lab/yuan/demo1.html</a><br/><br/><br/>如果稍微改动点代码：<br/>$(&#34;#sex&#34;).change(function(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert(&nbsp;&nbsp;&#34;value=&#34;+$(this).val()==&#34;不限&#34;?&#34;hoho,我选择的是不限.&#34;:$(&#34;#sex&#34;).val()&nbsp;&nbsp; );<br/>}<br/>把value 的值 直接写在alert 里 ，就会有问题了;<br/>看演示2 ：&nbsp;&nbsp;<a href="http://www.cssrain.cn/demo/lab/yuan/demo2.html" target="_blank">http://www.cssrain.cn/demo/lab/yuan/demo2.html</a><br/><br/>原因就是因为&nbsp;&nbsp; 3元运算符 会误认为 你的前面的布尔判断为：<br/><span style="color:Red">&#34;value=&#34;+$(this).val()==&#34;不限&#34;</span><br/>而不是我们想的：<br/><span style="color:Blue">$(this).val()==&#34;不限&#34;</span><br/><br/>所以导致 演示2 ，一直是false， 永远不会输出 &#34; hoho,我选择的是不限 &#34;。<br/><br/>解决方法你也许知道了 ，就是加上括号&nbsp;&nbsp;（&nbsp;&nbsp;）。<br/><br/>看演示3&nbsp;&nbsp;：&nbsp;&nbsp;<a href="http://www.cssrain.cn/demo/lab/yuan/demo3.html" target="_blank">http://www.cssrain.cn/demo/lab/yuan/demo3.html</a><br/><br/><br/>到这里，你也许明白，<br/>.filter(&#34;:contains(&#39; &#34;+$(&#39;#filterSex&#39;).val()==&#39;全部&#39;?&#39;&#39;:$(&#39;#filterSex&#39;).val()&nbsp;&nbsp;)+&#34; &#39; )&#34;);<br/>为什么不能筛选出我想要的数据了。<br/><br/>3元运算符 会误认为：<br/><span style="color:Red">(&#34;:contains(&#39; &#34;+$(&#39;#filterSex&#39;).val()==&#39;全部&#39;&nbsp;&nbsp;</span> 为我们要判断的。<br/>而不是我们 真正想要的：<br/><span style="color:Blue">$(&#39;#filterSex&#39;).val()==&#39;全部&#39;&nbsp;&nbsp;</span><br/><br/><br/>也许这是一个小问题，今天遇到就写出来， 给大家也提个醒。<br/><br/><span style="color:Red">hoho,我选择的是不限哦。。。。</span><br/><br/><br/>', '', 0, 0, 1222157592),
(90, 'jQuery快讯---Adobe将于下周发布Creative Suite 4.', 'http://www.cssrain.cn/default.asp?id=1087', 'Adobe将于下周发布Creative Suite 4<br/><br/><strong>在一次分析师会议上，Adobe的高层确认他们将在下周发布Adobe Creative Suite 4。<br/>参阅《<a target="_blank" href="http://design.yesky.com/466/8312466.shtml">Adobe Creative Suite 4将于9月24日揭幕</a>》<br/><br/>Adobe CS4 beta的最后一个版本已经在上周末讨论完毕，一切都已经准备就绪。<span style="color:Red">Adobe CS4 将支持JavaScript扩展和其利用jQuery访问数据库和Web管理工具，还将包含基于CS 3 MXP扩展的迁移能力</span>。<br/><br/>Adobe最近的营业收入下跌了约14％，正需要CS4这样的强心剂来刺激市场，公司预计四季度收入的涨幅将超过6％.</strong>　　<br/><br/><a href="http://www.cssrain.cn/attachments/month_0809/3200891904346.jpg" rel="lightbox" title="http://www.cssrain.cn"><img src="http://www.cssrain.cn/attachments/month_0809/3200891904346.jpg" border="0" alt=""/></a><br/><br/>2008-09-18 09:25<br/>作者：cnbeta&nbsp;&nbsp; 出处：天极网软件频道&nbsp;&nbsp;责任编辑：杨玲', '', 0, 0, 1222157592),
(91, 'jQuery基础---filter()和find()。', 'http://www.cssrain.cn/default.asp?id=1086', '这是jQuery里常用的2个方法。<br/>他们2者功能是完全不同的，而初学者往往会被误导。<br/><br/><br/>首先 我们看.find()方法：<br/>现在有一个页面，里面HTML代码为;<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.cssrain.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;div class=&#34;css&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p class=&#34;rain&#34;&gt;测试1&lt;/p&gt;<br/>&lt;/div&gt;<br/><br/>&lt;div class=&#34;rain&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p&gt;测试2&lt;/p&gt;<br/>&lt;/div&gt;<br/> </div></div><br/><br/>如果我们使用find()方法：<br/>var $find =&nbsp;&nbsp;$(&#34;div&#34;).find(&#34;.rain&#34;);<br/>alert( $find.html() ) ;<br/>将会输出：<br/><a href="http://www.cssrain.cn/attachments/month_0809/t2008919001.jpg" rel="lightbox" title="http://www.cssrain.cn"><img src="http://www.cssrain.cn/attachments/month_0809/t2008919001.jpg" border="0" alt=""/></a><br/><br/>如果使用filter（）方法：<br/>var $filter = $(&#34;div&#34;).filter(&#34;.rain&#34;);<br/>alert( $filter.html() );<br/>将会输出：<br/><a href="http://www.cssrain.cn/attachments/month_0809/b20089190052.jpg" rel="lightbox" title="http://www.cssrain.cn"><img src="http://www.cssrain.cn/attachments/month_0809/b20089190052.jpg" border="0" alt=""/></a><br/><br/><br/>也许你已经看出它们的区别了。<br/>find()会在div元素<span style="color:Red">内</span> 寻找 class为rain 的元素。<br/>而filter()则是筛选div的class为rain的元素。<br/>一个是对它的子集操作，一个是对自身集合元素筛选。<br/><br/>另外find()其实还可以用选择器表示:<br/>var $sel&#101;ct =&nbsp;&nbsp;$(&#34;div .rain&#34;);<br/><br/>明白他们的区别了吗？<br/>', '', 0, 0, 1222157592),
(92, 'jQuery---幻灯片实例。', 'http://www.cssrain.cn/default.asp?id=1083', '<a href="http://www.cssrain.cn/attachments/month_0809/8200891794621.jpg" rel="lightbox" title="http://www.cssrain.cn"><img src="http://www.cssrain.cn/attachments/month_0809/8200891794621.jpg" border="0" alt=""/></a><br/><br/>我写的版本：<br/><a href="http://www.cssrain.cn/demo/3/imgnav_rar/kikx-rain.html" target="_blank">http://www.cssrain.cn/demo/3/imgnav_rar/kikx-rain.html</a><br/><br/>trance写的版本：<br/><a href="http://www.cssrain.cn/demo/3/imgnav_rar/kikx-trance.html" target="_blank">http://www.cssrain.cn/demo/3/imgnav_rar/kikx-trance.html</a><br/><br/>效果基本一样，只能说 谁的易懂，或者谁的bug少。哈哈。<br/><br/><span style="color:Red">大家看效果，投票吧。</span><br/><br/>实例下载：<br/><a href="http://www.cssrain.cn/demo/3/imgnav_rar/imgnav.rar" target="_blank">http://www.cssrain.cn/demo/3/imgnav_rar/imgnav.rar</a>', '', 0, 0, 1222157592),
(93, 'jQuery书籍---第二章.', 'http://www.cssrain.cn/default.asp?id=1081', ' 距离第一章也有一段时间了。<br/><br/>今天把第二章整理了一下，发布。<br/><br/><br/>第二章主要是讲的选择器，例子比较多，当然也讲的比较详细。<br/><br/>当然概念的东西比较多，不要睡着哦。<br/><br/>另外 选择器是学习jQuery的核心。 一定要学习好。 <br/><br/>第二章下载（附 源文件）：<br/><a href="http://www.cssrain.cn/demo/lab/2.rar" target="_blank">http://www.cssrain.cn/demo/lab/2.rar</a><br/><br/><br/>第一章下载（附 源文件）：<br/><a href="http://www.cssrain.cn/demo/lab/1.rar" target="_blank">http://www.cssrain.cn/demo/lab/1.rar</a><br/><br/>', '', 0, 0, 1222157592),
(94, '项目分享---jQuery横向树。', 'http://www.cssrain.cn/default.asp?id=1077', '<a href="http://www.cssrain.cn/attachments/month_0809/e2008911172851.jpg" rel="lightbox" title="http://www.cssrain.cn"><img src="http://www.cssrain.cn/attachments/month_0809/e2008911172851.jpg" border="0" alt=""/></a><br/><br/><br/><span style="color:Red">最近做了个横向树，有很多人问。<br/>你看看拾掇拾掇，能不能给放上去，<br/>看看对做技术的朋友有没有一些借鉴。 <br/>另外：<br/>你要有时间也帮忙看看，<br/>这个东东在FF里面不兼容。<br/>我能力有限，你看看，有解决方法也通知我一声。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---(重生)的项目分享.&nbsp;&nbsp; 2008.9.11 10:18:57</span><br/><br/>演示：<br/><a href="http://www.cssrain.cn/demo/3/voice/tree.html" target="_blank">http://www.cssrain.cn/demo/3/voice/tree.html</a><br/><br/><br/>分享：<br/><a href="http://www.cssrain.cn/demo/3/voice/voice.rar" target="_blank">http://www.cssrain.cn/demo/3/voice/voice.rar</a><br/><br/>', '', 0, 0, 1222157592),
(95, 'JavaScript和jQuery的DOM操作。', 'http://www.cssrain.cn/default.asp?id=1069', '<span style="color:Red">1 , 创建元素节点</span><br/>传统的javascript方法，创建元素节点<br/>var a&nbsp;&nbsp;= document.cr&#101;ateElement(&#34;p&#34;);<br/>jQuery中创建节点的方法是：<br/>$(&#39;&lt; p&gt;&lt; /p&gt;&#39;);<br/>和cr&#101;ateElement()一样，创建出来的新元素节点不会被自动添加到文档里。<br/>如果想把它添加到文档里，可以使用 jQuery中的 append()或者ins&#101;rtAfter()方法或者 before ()等方法。<br/>比如：<br/>var a = $(&#39;&lt; p&gt;&lt; /p&gt;&#39;);<br/>$(&#39;body&#39;).append(a);//添加到body元素的最后.<br/><br/><br/><span style="color:Red">2,创建文本节点:</span><br/>传统的javascript方法，创建文本节点<br/>var b = document.cr&#101;ateTextNode(&#34;my demo&#34;);<br/>通常创建文本节点和创建元素节点配合使用.<br/>比如：<br/>var mes = document.cr&#101;ateTextNode(&#34;hello world&#34;);<br/>var container = document.cr&#101;ateElement(&#34;p&#34;);<br/>container.appendChild(mes);<br/>document.body.appendChild(container);<br/><br/>而在jQuery中创建节点就不必那么麻烦了：<br/>$(&#39;&lt; p&gt;hello world&lt; /p&gt;&#39;);<br/>和cr&#101;ateElement()一样，创建出来的新元素节点不会被自动添加到文档里。<br/>如果想把它添加到文档里，可以使用 jQuery中的 append()或者ins&#101;rtAfter()方法或者 before ()等方法。<br/>比如：<br/>var a = $(&#39;&lt; p&gt;hello world&lt; /p&gt;&#39;);<br/>$(&#39;body&#39;).append(a);//添加到body元素的最后.<br/><br/><span style="color:Red">3,复制节点</span><br/>传统的javascript方法，复制节点:<br/>比如：<br/>var mes = document.cr&#101;ateTextNode(&#34;hello world&#34;);<br/>var container = document.cr&#101;ateElement(&#34;p&#34;);<br/>container.appendChild(mes);<br/>document.body.appendChild(container);<br/>var newpara = container.cloneNode(true);//true和false的区别<br/>document.body.appendChild(newpara );<br/>注意：<br/>true ： 是&lt; p&gt;aaaa&lt; /p&gt; 克隆。<br/>false： 只克隆 &lt; p&gt;&lt; /p&gt; ，里面的文本不克隆。<br/>可以用 firebug 看看。<br/><br/>在jQuery中复制节点：<br/>var a = $(&#39;&lt; p&gt;hello world&lt; /p&gt;&#39;);<br/>$(&#39;body&#39;).append(a);<br/>var clone_a = a.clone();<br/>$(&#39;body&#39;).append(clone_a);<br/><br/>和cr&#101;ateElement()一样，复制出来的新元素节点不会被自动添加到文档里。<br/>如果想把它添加到文档里，可以使用 jQuery中的 append()或者ins&#101;rtAfter()方法或者 before ()等方法。<br/>另外还有一个注意：如果克隆后，id一样，不要忘记用.attr(&#34;id&#34;,&#34;new_id&#34;)来改变新的节点的ID。<br/><br/><span style="color:Red">4, 插入节点</span><br/>传统的javascript方法，插入节点:<br/>比如：<br/>appendChild() :<br/>给元素追加一个子节点， 新的节点 插入到 最后。<br/>var container = document.cr&#101;ateElement(&#34;p&#34;);<br/>document.body.appendChild(container);<br/><br/>ins&#101;rtBefore()&nbsp;&nbsp;:<br/>顾名思义，就是把一个新的节点插入到目标节点的前面。<br/>Element.ins&#101;rtBefore( newNode&nbsp;&nbsp;,&nbsp;&nbsp;targerNode );<br/><br/>在jQuery中插入节点比javascript自带的多了很多,<br/>比如：<br/>.append()<br/>.appendTo()<br/>.prepend()<br/>.prependTo()<br/>.after()<br/>.ins&#101;rtAfter()<br/>.before()<br/>.ins&#101;rtBefore()<br/>所以对dom操作的简化也是jquery的亮点之一。<br/><br/><br/><span style="color:Red">5, 删除节点</span><br/>传统的javascript方法，删除节点:<br/>比如：<br/>var b = document.getElementById(&#34;b&#34;);<br/>var c = b.parentNode;<br/>c.removeChild(b);<br/><br/>在jQuery中的删除节点:<br/>比如：<br/>$(&#39;#test2&#39;).remove();<br/><br/><span style="color:Red">6, 替换节点</span><br/>传统的javascript方法，替换节点:<br/>比如：<br/>Element.repalceChild( newNode , oldNode );<br/>oldNode必须是Element的一个子节点。<br/><br/>在jQuery中的替换节点:<br/>比如：<br/>$(&#34;&lt; p&gt;替换 test1 ！ &lt; /p&gt;&#34;).replaceAll(&#34;#test1&#34;); <br/><br/><span style="color:Red">7 ,设置属性,获取属性</span><br/>传统的javascript方法，设置属性,获取属性:<br/>比如：<br/>setAttribute();//设置<br/>var a&nbsp;&nbsp;= document.cr&#101;ateElement(“p”);<br/>a.setAttribute(&#34;title&#34;,&#34;my demo&#34;);<br/>不管以前有没有title属性，以后的值是 my demo。<br/><br/>getAttribute();//获取<br/>var a =document.getElementById(&#34;cssrain&#34;);<br/>var b = a.getAttribute(&#34;title&#34;);<br/>获取的时候，如果属性不存在，则返回空，<br/><br/>在jQuery中的设置属性,获取属性:<br/>比如：<br/>$(&#34;#test1&#34;).attr({ &#34;class&#34; : &#34;test&#34; , &#34;title&#34; : &#34;TestDemo!&#34; });<br/> $(&#34;#test1&#34;).attr(&#34;class&#34;);<br/><br/><span style="color:Red">8, 查找节点</span><br/>查找节点对jQuery来说 简直是小菜一碟.<br/>jQuery最引入关注的就是查找节点，也就是通常所说的选择器.<br/>比如：<br/>$(&#39;#id&#39;)<br/>$(&#39;.class&#39;)<br/>$(&#39;tag&#39;)<br/>$(&#39;tag.class&#39;)<br/>$(&#39;#id tag&#39;)<br/>$(&#39;tag#id&#39;)<br/>$(&#39;#id:visible&#39;)<br/>$(&#39;#id .class&#39;)<br/>$(&#39;.class .class&#39;)<br/>....<br/><br/><br/><strong> <span style="color:Red">原创文章，转载请注明 CssRain.cn </span></strong>', '', 0, 0, 1222157592),
(96, 'Google---10周年。', 'http://www.cssrain.cn/default.asp?id=1062', '<p>1998年9月7日，Larry Page和Sergey Brin创立了Google公司，专注于提供一个更优秀的搜索引擎。你可以通过互联网档案馆瞧瞧<a href="http://web.archive.org/web/19981111183552/google.stanford.edu"><font color="#ff0000">10年前的Google</font></a>。Google拥有的相对更好搜索引擎技术，在90年代后期从无数竞争对手中脱颖而出，并最终开发出<a href="http://www.thestandard.com/news/2008/07/15/picture-where-does-googles-revenue-come"><font color="#ff0000">一个成功的广告模式</font></a>，和遵循&ldquo;不作恶&rdquo;的准则。Google目前雇用了约2万名员工，<a href="http://news.yahoo.com/s/ap/20080906/ap_on_hi_te/google_at10"><font color="#ff0000">市值1500亿美元</font></a>，获得或开发了许多的突破性技术。在全球的搜索引擎市场<a href="http://zh.wikipedia.org/wiki/Google"><font color="#ff0000">Google</font></a>牢牢占据第一的位置，不过在中国，由于国情和文化特殊性，依旧是&ldquo;<a href="http://zh.wikipedia.org/wiki/%E7%99%BE%E5%BA%A6">百度</a>更懂中文&rdquo;。</p>\n<p>&nbsp;</p>\n<p>10年前的google：</p>\n<p>&nbsp;<a href="http://web.archive.org/web/19981111183552/google.stanford.edu">http://web.archive.org/web/19981111183552/google.stanford.edu</a></p>\n<p>文章剪切自：</p>\n<p><a href="http://internet.solidot.org/article.pl?sid=08/09/06/1158249&amp;from=rss">http://internet.solidot.org/article.pl?sid=08/09/06/1158249&amp;from=rss</a></p>', '', 0, 0, 1222157592),
(97, '用户体验---404页面。', 'http://www.cssrain.cn/default.asp?id=1061', '网站的访问者会由于多种原因在访问您的网站时碰到404&#34;网页不存在&#34;的情况：<br/>·&#160;&#160;&#160;&#160;输错了网址，或者复制粘贴网址时出错 <br/>·&#160;&#160;&#160;&#160;所点击的网页上或者email信息里的链接已经失效或不完整 <br/>·&#160;&#160;&#160;&#160;该网页的内容已经被移动或删除<br/>在碰到404页面时，访问者可能会尝试手动纠正这个错误的网址，或者点击返回按钮，甚至会直接离开您的网站。为了帮助网站访问者走出这个死胡同。我们可以优化404页面，让404变得更加有用。<br/>个人认为的最佳设计：<br/>(1)&#160;&#160;&#160;&#160;温馨提示访问者。<br/>(2)&#160;&#160;&#160;&#160;提示访问者接下来该怎么做<br/>(3)&#160;&#160;&#160;&#160;我们可以在404页面上做以下内容：<br/>1，一个指向上一级子目录的链接 <br/>2，网站地图<br/>3，网站查询和搜索框<br/>&nbsp;&nbsp; OK,这样，一个404页面，用户能不喜欢吗？<br/><br/>文章转自：<br/><a href="http://googlechinablog.com/2008/09/404.html" target="_blank">http://googlechinablog.com/2008/09/404.html</a><br/><br/><br/><br/> <br/>', '', 0, 0, 1222157592),
(98, '百度要抢淘宝的饭碗？', 'http://www.cssrain.cn/default.asp?id=1058', '<p>&nbsp;</p>\n<p>今天在Donews看到了一篇文章：<a href="http://www.donews.com/Content/200809/cdcf469273d74255af797d264792197a.shtm" target="_blank">淘宝网开始屏蔽百度蜘蛛爬虫</a>。我去看了一下<a href="http://www.taobao.com/robots.txt" target="_blank">淘宝网的robots.txt</a>，果然如此。在搜索引擎优化的业界，盛传阿里系的SEO是非常厉害的。可以想象，淘宝网每天从百度点击过来的流量相当惊人，没有超级重要的原因，马云是不可能出此怪招的。</p>\n<p><img alt="" src="http://www.cssrain.cn/attachments/month_0809/f200896114757.gif" /></p>\n<p>很显然，淘宝网仅仅是屏蔽了百度，没有屏蔽别的搜索引擎。 百度的C2C项目正在大张旗鼓地进行，李彦宏曾表示，淘宝网的很多流量都是从搜索过去的，与其为他人做嫁衣，不如自己做新娘，这就是百度C2C的起源。小弟认为，淘宝网此举的目的是为了禁止百度C2C部门的人通过数据挖掘找到淘宝的优缺点，达到知己知彼的目的。至于损失的流量，等百度C2C出台之后，反正也不会再从百度得到流量了，长痛不如短痛。</p>\n<p><a href="http://zhaoshang.baidu.com/">http://zhaoshang.baidu.com/</a></p>\n<p><img alt="" src="http://www.cssrain.cn/attachments/month_0809/m200896115144.jpg" /></p>\n<p>封掉百度爬虫，这个决定看似简单，其实含义深远。事情变得越来越好玩了。</p>\n<p>相关文章：</p>\n<p><a href="http://blog.donews.com/keso/archive/2008/09/05/1343007.aspx">http://blog.donews.com/keso/archive/2008/09/05/1343007.aspx</a></p>\n<p><a href="http://blog.donews.com/keso/archive/2008/09/04/1342598.aspx">http://blog.donews.com/keso/archive/2008/09/04/1342598.aspx</a></p>\n<p><a href="http://www.jsv8.com/4">http://www.jsv8.com/4</a></p>\n<p>&nbsp;</p>', '', 0, 0, 1222157592);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_feedlink`
--

CREATE TABLE IF NOT EXISTS `oophp_feedlink` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `url` varchar(200) NOT NULL,
  `title` varchar(100) NOT NULL,
  `class` int(11) NOT NULL,
  `content` tinytext NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;

--
-- 导出表中的数据 `oophp_feedlink`
--

INSERT INTO `oophp_feedlink` (`id`, `url`, `title`, `class`, `content`, `addtime`, `updatetime`) VALUES
(10, 'http://www.cssrain.cn/feed.asp?cateID=10', 'adsfasdf', 58, '<p>asdfasdfasdf</p>', 1222153575, 1222153575),
(9, 'http://www.planet-php.net/rss/', 'qqqqqqqqqqq', 58, '<p>adsfasdf</p>', 1222153560, 1222153560);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_itemtags`
--

CREATE TABLE IF NOT EXISTS `oophp_itemtags` (
  `tagid` int(11) NOT NULL,
  `itemid` int(11) NOT NULL,
  `type` enum('article','data','news','affiche') NOT NULL,
  PRIMARY KEY  (`tagid`,`itemid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 导出表中的数据 `oophp_itemtags`
--

INSERT INTO `oophp_itemtags` (`tagid`, `itemid`, `type`) VALUES
(3, 146, 'article'),
(2, 146, 'article'),
(1, 146, 'article'),
(4, 146, 'article'),
(5, 146, 'article'),
(6, 145, 'article'),
(7, 145, 'article'),
(8, 145, 'article'),
(9, 144, 'article'),
(10, 144, 'article'),
(11, 144, 'article');

-- --------------------------------------------------------

--
-- 表的结构 `oophp_message`
--

CREATE TABLE IF NOT EXISTS `oophp_message` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `pid` int(11) NOT NULL default '0',
  `title` varchar(200) NOT NULL,
  `author` varchar(50) NOT NULL,
  `headimg` varchar(150) NOT NULL,
  `content` tinytext NOT NULL,
  `email` varchar(200) NOT NULL,
  `ip` varchar(50) NOT NULL,
  `address` varchar(150) NOT NULL,
  `show` enum('0','1','2') NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=34 ;

--
-- 导出表中的数据 `oophp_message`
--

INSERT INTO `oophp_message` (`id`, `pid`, `title`, `author`, `headimg`, `content`, `email`, `ip`, `address`, `show`, `addtime`, `updatetime`) VALUES
(1, 0, 'dfafads', '游客', '', 'sdfafsd', 'adfasd@dfss.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(2, 0, 'dfafads', '游客', '', 'sdfafsd', 'adfasd@dfss.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(3, 0, 'sdfasdfasf', '游客', '', 'csdfads', 'sdfas@afsd.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(4, 0, 'aaaaaaaaaa', '游客', '', 'asdfasdfsdf\nasdfasdf\nasdfsadf\nasdfsdf', 'dsfasd@asdf.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(5, 0, 'dfasdfads', '游客', '', 'sdfasdf', 'sdfasd@asdf.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(6, 1, 'sdfsadf', '游客', '', 'fsdfsda', 'fsadfsa@sadf.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(7, 5, '回复:dfasdfads', '游客', '', 'asdfasdf', 'adfdsf@sadf.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(8, 5, '回复:dfasdfads', '游客', '', 'adfsdfsa', 'dfas@fasd.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(9, 0, 'dfasdfsa', '游客', '', 'dsfad', 'sdfsad@asdf.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(10, 0, 'dfasdfsa', '游客', '', 'asdfas', 'sadfas@sadfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(11, 0, 'sdfasdf', '游客', '', 'sdfasd', 'dfasd@sdfa.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(12, 0, 'sdfasdf', '游客', '', 'sdfasdfas', 'sadfasd@sdfa.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(13, 3, '回复:sdfasdfasf', '游客', '', 'sdfasdfsd', 'dfas@sdfs.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(14, 3, '回复:sdfasdfasf', '游客', '', 'sdfasdfs', 'sdfasd@sdfa.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(15, 2, '回复:dfafads', '游客', '', 'sdfasdf', 'dfasd@asdfasd.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(16, 3, '回复:sdfasdfasf', '游客', '', 'ssdfasfads', 'asfas@sfdas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(17, 0, 'sdfkadsfa', '游客', '', 'ssss', 'kylingood@gmail.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(18, 0, '好累啊..哎..', 'kylingood', '2', 'sdfasdfasd', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(19, 0, '真累..搞这个博客', 'kylingood', '7', '哎...', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(20, 0, '真累..搞这个博客', 'kylingood', '7', '哎...', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(21, 0, '真累..搞这个博客', 'kylingood', '7', '哎...', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(22, 0, '真累..搞这个博客', 'kylingood', '7', '哎...', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(23, 0, '真累..搞这个博客', 'kylingood', '7', '哎...', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(24, 0, 'sdfasd', '游客', '4', 'dafsd', 'adsfasd@dfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(25, 0, 'dfasdf', '游客', '3', 'dsfasdfs', 'kylingood@gmail.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(26, 25, '回复:dfasdf', '游客', '7', 'fasdfasd', 'yanyan09021989@hotmail.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(27, 0, 'sdfasdfas', '游客', '2', 'dsfasdfs', 'kylingood@gmail.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(28, 0, '真是累..哈哈', '游客', '4', '真是累..哈哈真是累..哈哈真是累..哈哈', 'adsfds@ddd.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(29, 0, '好累也...', '游客', '5', 'sdfasdfasdfasd', 'kylingood@aa.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(30, 0, 'sadfsadfsd', '游客', '1', 'dfadfads', 'sadf@sdfs.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(31, 0, 'fsadfasdf', '游客', '3', 'ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd', 'asdfas@sdfas.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(32, 0, 'adfasdf', '游客', '3', 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', 'aadsf@sad.com', '127.0.0.1', '本机地址', '1', 2008, 2008),
(33, 0, 'asdfdsf', '游客', '3', '真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈真是累..哈哈', 'adsfa@sdfa.com', '127.0.0.1', '本机地址', '1', 2008, 2008);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_photo`
--

CREATE TABLE IF NOT EXISTS `oophp_photo` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `title` varchar(100) NOT NULL,
  `author` varchar(50) NOT NULL,
  `imgname` varchar(100) NOT NULL,
  `imgurl` varchar(200) NOT NULL,
  `content` tinytext NOT NULL,
  `albumid` varchar(15) NOT NULL,
  `viewnum` varchar(15) NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=19 ;

--
-- 导出表中的数据 `oophp_photo`
--

INSERT INTO `oophp_photo` (`id`, `title`, `author`, `imgname`, `imgurl`, `content`, `albumid`, `viewnum`, `addtime`, `updatetime`) VALUES
(10, 'sdfasdfa', 'kylingood', '12206943510.jpg', 'http://127.0.0.1/blog/public/upload/photo/12206943510.jpg', 'dsfasd', '27', '', 2008, 2008),
(11, '小孩', 'kylingood', '12207075390.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207075390.jpg', '小孩', '25', '0', 2008, 2008),
(6, 'aaaaaaaa', 'ffffff', '12206630130.jpg', 'http://127.0.0.1/blog/public/upload/photo/12206630130.jpg', 'ddddddddd', '27', '', 2008, 2008),
(12, '小孩子', 'kylingood', '12207075780.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207075780.jpg', '小孩子', '26', '0', 2008, 2008),
(15, '小孩', 'kylingood', '12207077210.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207077210.jpg', '小孩', '29', '0', 2008, 2008),
(16, '小孩', 'kylingood', '12207077540.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207077540.jpg', '小孩', '27', '0', 2008, 2008),
(17, '小孩子', 'kylingood', '12207077990.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207077990.jpg', '小孩', '28', '0', 2008, 2008),
(18, '小孩子', 'kylingood', '12207078460.jpg', 'http://127.0.0.1/blog/public/upload/photo/12207078460.jpg', '小孩', '29', '0', 2008, 2008);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_tags`
--

CREATE TABLE IF NOT EXISTS `oophp_tags` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;

--
-- 导出表中的数据 `oophp_tags`
--

INSERT INTO `oophp_tags` (`id`, `name`) VALUES
(1, 'aaaaa'),
(2, 'bbbbb'),
(3, 'ddddd'),
(4, 'dsfa'),
(5, 'fff'),
(6, 'php'),
(7, 'zend'),
(8, 'framework'),
(9, 'adf'),
(10, '标签'),
(11, 'sadfas');

-- --------------------------------------------------------

--
-- 表的结构 `oophp_user`
--

CREATE TABLE IF NOT EXISTS `oophp_user` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `email` varchar(150) NOT NULL,
  `nickname` varchar(50) NOT NULL,
  `role` varchar(50) NOT NULL,
  `logintime` int(11) NOT NULL,
  `registertime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 导出表中的数据 `oophp_user`
--

INSERT INTO `oophp_user` (`id`, `username`, `password`, `email`, `nickname`, `role`, `logintime`, `registertime`) VALUES
(1, 'kylingood', 'cfcd208495d565ef66e7dff9f98764da', 'kenji@sina.com', 'kenji', 'member', 2008, 2008),
(2, 'admin', 'cfcd208495d565ef66e7dff9f98764da', 'admin@oophp.cn', 'admin', 'admin', 2008, 2008);

-- --------------------------------------------------------

--
-- 表的结构 `oophp_weblink`
--

CREATE TABLE IF NOT EXISTS `oophp_weblink` (
  `id` tinyint(11) unsigned NOT NULL auto_increment,
  `title` varchar(100) NOT NULL,
  `content` tinytext NOT NULL,
  `url` varchar(200) NOT NULL,
  `show` enum('0','1','2') NOT NULL,
  `email` varchar(200) NOT NULL,
  `imgname` varchar(100) NOT NULL,
  `imgurl` varchar(200) NOT NULL,
  `addtime` int(11) NOT NULL,
  `updatetime` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;

--
-- 导出表中的数据 `oophp_weblink`
--

INSERT INTO `oophp_weblink` (`id`, `title`, `content`, `url`, `show`, `email`, `imgname`, `imgurl`, `addtime`, `updatetime`) VALUES
(1, 'OOPHP开源博客', 'dfasfs', 'http://www.oophp.cn', '1', 'fasfds', '', '', 2008, 2008),
(2, '联欧国际', 'dsfasdf', 'http://www.uniono.cn', '1', 'dfas', '', '', 2008, 2008),
(3, 'GOOGLE', 'adsfasdf', 'http://www.google.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(4, 'GOOGLE', 'adsfasdf', 'http://www.google.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(5, 'GOOGLE', 'adsfasdf', 'http://www.google.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(6, 'GOOGLE', 'adsfasdf', 'http://www.google.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(7, 'GOOGLE', 'adsfasdf', 'http://www.google.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(8, '中国PHP联盟', 'adsfasdf', 'http://www.phpx.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(9, '中国PHP开源 PHP China', 'adsfasdf', 'http://www.phpchina.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(10, 'Zend Framework ', 'adsfasdf', 'http://www.zendframework.com', '1', 'kylingood@gmail.com', '', '', 2008, 2008),
(11, 'sdfasdfasd', 'sdfasd', 'http://www.oophp.cn', '1', 'kenjikylin@163.com', '', '', 2008, 2008),
(12, 'asdfsadf', 'sdfasdf', 'http://www.sina.com', '0', 'sdfasd@saa.com', '', '', 2008, 2008),
(13, '日志 呵呵..', 'sdfasdf', 'http://www.aaa.com', '0', 'kylingood@sd.com', '', '', 2008, 2008);
