-- MySQL dump 10.11
--
-- Host: localhost    Database: _db_bbs
-- ------------------------------------------------------
-- Server version	5.0.51a

/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `m_bbs`
--

DROP TABLE IF EXISTS `m_bbs`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `m_bbs` (
  `id_bbs` int(10) unsigned NOT NULL auto_increment,
  `id_category` int(10) unsigned NOT NULL,
  `c_subject` varchar(500) NOT NULL,
  `c_body` longtext NOT NULL,
  `id_account` int(10) unsigned NOT NULL,
  `c_attachFile1` varchar(255) NOT NULL,
  `c_attachFile2` varchar(255) NOT NULL,
  `c_attachFile3` varchar(255) NOT NULL,
  `c_registtime` datetime NOT NULL,
  `c_updatetime` datetime NOT NULL,
  `c_delete` int(10) unsigned NOT NULL default '0',
  `p_id_bbs` int(10) unsigned NOT NULL default '0' COMMENT 'parent id',
  `c_reply_cnt` int(10) unsigned NOT NULL default '0',
  `c_reply_lasttime` datetime NOT NULL,
  `c_read_count` int(10) unsigned NOT NULL default '0',
  `c_body_strip_tags` longtext NOT NULL,
  `c_draw` longtext NOT NULL,
  PRIMARY KEY  USING BTREE (`id_bbs`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `m_bbs`
--

LOCK TABLES `m_bbs` WRITE;
/*!40000 ALTER TABLE `m_bbs` DISABLE KEYS */;
INSERT INTO `m_bbs` VALUES (1,1,'掲示板テストです。','<P><STRONG><FONT style=\"BACKGROUND-COLOR: #ffff33\" color=#ff3333 size=4>掲示板のテストです。</FONT></STRONG></P>\r\n<P><FONT color=#3399ff size=4><STRONG>掲示板のテストです。</STRONG></FONT></P>\r\n<P>掲示板のテストです。<FONT color=#ffffff></P></FONT>',10001,'','','','2009-02-16 19:49:15','2009-02-17 19:09:22',0,0,0,'2009-02-16 19:49:15',0,'掲示板のテストです。\r\n掲示板のテストです。\r\n掲示板のテストです。',''),(2,2,'この掲示板は全員共通の掲示板ですか？','',10003,'','','','2009-02-16 19:56:40','2009-02-16 19:56:40',0,0,4,'2009-02-16 20:21:07',0,'',''),(3,0,'Re: この掲示板は全員共通の掲示板ですか？','<P>はい。そうです。MyHome Portal全ユーザー共通の掲示板です。</P>\r\n<P><STRONG><FONT color=#6666cc size=3>WYSIWYGで<FONT color=#ff00cc size=5>HTML</FONT>タグも使えます。</FONT></STRONG></P>',10001,'','','','2009-02-16 19:57:46','2009-02-16 20:52:41',0,2,0,'0000-00-00 00:00:00',0,'はい。そうです。MyHome Portal全ユーザー共通の掲示板です。\r\nWYSIWYGでHTMLタグも使えます。',''),(4,0,'Re: この掲示板は全員共通の掲示板ですか？','投稿した後、修正や削除はできますか？',10003,'','','','2009-02-16 19:59:10','2009-02-16 19:59:10',0,2,0,'0000-00-00 00:00:00',0,'投稿した後、修正や削除はできますか？',''),(5,0,'Re: この掲示板は全員共通の掲示板ですか？','<P><STRONG><FONT size=3>はい、できます。</FONT></STRONG></P>\r\n<P>削除した投稿は、復活させることもできます。スレッドの最初の投稿者は、返信も含めてスレッド全体の削除もできます。</P>',10001,'','','','2009-02-16 20:01:33','2009-02-18 19:34:21',0,2,0,'0000-00-00 00:00:00',0,'はい、できます。\r\n削除した投稿は、復活させることもできます。スレッドの最初の投稿者は、返信も含めてスレッド全体の削除もできます。',''),(6,1,'テストです。','',10003,'','','','2009-02-16 20:02:19','2009-02-16 20:02:54',444,0,1,'2009-02-18 19:36:25',0,'',''),(7,0,'Re: テストです。','返信です。',10001,'','','','2009-02-16 20:02:45','2009-02-16 20:02:45',0,6,0,'0000-00-00 00:00:00',0,'返信です。',''),(8,1,'テストです。','',10003,'','','','2009-02-16 20:03:09','2009-02-16 20:03:31',888,0,1,'2009-02-16 20:03:25',0,'',''),(9,0,'Re: テストです。','返信。',10003,'','','','2009-02-16 20:03:25','2009-02-16 20:03:25',0,8,0,'0000-00-00 00:00:00',0,'返信。',''),(10,0,'Re: この掲示板は全員共通の掲示板ですか？','<P>ファイルや写真も添付できます。</P>',10001,'00000010-000282.jpg','00000010-000652.jpg','','2009-02-16 20:21:07','2009-02-16 20:21:07',0,2,0,'0000-00-00 00:00:00',0,'ファイルや写真も添付できます。',''),(11,0,'Re: テストです。','<P>&nbsp;</P>',10001,'','','','2009-02-18 19:36:25','2009-02-18 19:36:30',444,6,0,'0000-00-00 00:00:00',0,'&nbsp;',''),(12,1,'FLV動画プレビューサンプル','<FONT color=#ff33ff>FLV動画プレビューのサンプルです。</FONT>',10001,'00000012-video.flv','','','2009-02-20 20:45:25','2009-02-23 19:31:05',0,0,0,'2009-02-20 20:45:25',0,'FLV動画プレビューのサンプルです。',''),(13,1,'お絵かきテスト','',10001,'','','','2009-05-18 19:52:40','2009-05-18 19:52:40',0,0,0,'2009-05-18 19:52:40',0,'','<svg viewBox=\"0 0 400 300\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"><g stroke-linecap=\"round\" stroke-miterlimit=\"6\" fill=\"none\"><path stroke-width=\"4\" stroke=\"rgb(140,99,58)\" opacity=\"1\" d=\"M 81 186 l 1 3 l 6 12 l 5 8 l 3 5 l 4 5 l 2 2 l 3 4 l 2 4 l 2 3 l 1 1 l 0 1 l 1 0 l -1 1\"/><path stroke-width=\"4\" stroke=\"rgb(140,99,58)\" opacity=\"1\" d=\"M 84 188 l 1 -1 l 19 0 l 37 0 l 32 0 l 15 0 l 29 0 l 26 0 l 17 0 l 5 0 l -3 3 l -6 8 l -12 18 l -9 14 l -3 5 l -3 5 l -4 4 l -1 2\"/><path stroke-width=\"4\" stroke=\"rgb(140,99,58)\" opacity=\"1\" d=\"M 115 239 l 0 -1 l 13 1 l 32 3 l 13 0 l 11 0 l 21 0 l 5 0 l 4 0 l 11 0\"/><path stroke-width=\"12\" stroke=\"rgb(0,173,238)\" opacity=\"0.39\" d=\"M 40 257 l 4 -6 l 18 -17 l 5 -3 l 1 0 l 5 4 l 5 9 l 3 5 l 1 2 l 2 4 l 1 1 l 7 -11 l 9 -12 l 4 -4 l 2 0 l 8 2 l 10 6 l 7 7 l 3 6 l 2 4 l 0 1 l 5 -8 l 6 -7 l 6 -6 l 4 -2 l 4 -1 l 6 2 l 9 3 l 3 4 l 3 7 l 3 5 l 0 2 l 10 -9 l 13 -11 l 9 -4 l 4 0 l 1 0 l 8 13 l 3 7 l 0 2 l 1 1 l 5 -5 l 12 -11 l 7 -4 l 12 -3 l 7 2 l 10 16 l 7 10\"/><path stroke-width=\"12\" stroke=\"rgb(0,173,238)\" opacity=\"0.39\" d=\"M 50 267 l -1 0 l 5 -7 l 3 -3 l 9 -8 l 9 -3 l 8 0 l 4 0 l 8 7 l 2 2 l 4 7 l 2 0 l 5 -5 l 11 -7 l 4 -2 l 7 -1 l 12 -3 l 7 0 l 6 1 l 5 5 l 2 4 l 1 3 l 11 -3 l 11 -6 l 7 -3 l 7 -3 l 6 -2 l 2 0 l 4 2 l 7 6 l 3 8 l 2 4 l 7 -11 l 9 -8 l 7 -4 l 7 -1 l 4 0 l 5 2 l 7 9 l 2 7 l 2 3 l 1 1 l 9 -12 l 13 -7 l 12 -1 l 16 4 l 8 5 l 2 1\"/><path stroke-width=\"12\" stroke=\"rgb(0,173,238)\" opacity=\"0.39\" d=\"M 25 243 l 9 -10 l 6 -6 l 10 -6 l 4 -1 l 1 0 l 2 0 l 6 8 l 10 19 l 5 6 l 0 1 l 18 -17 l 9 -8 l 13 -6 l 5 -1 l 4 5 l 4 14 l 4 8 l 1 2 l 5 -3 l 19 -12 l 23 -16 l 2 -1 l 6 6 l 5 12 l 3 5 l 1 1 l 11 -3 l 21 -9 l 14 -4 l 4 0 l 8 15 l 3 11 l 3 9 l 3 7 l 3 -4 l 15 -19 l 5 -7 l 5 -4 l 6 -7 l 3 -2 l 2 1 l 3 4 l 8 14 l 2 3 l 0 2 l 1 1\"/><path stroke-width=\"12\" stroke=\"rgb(0,173,238)\" opacity=\"0.39\" d=\"M 123 269 l 7 -4 l 19 -8 l 3 -1 l 2 1 l 3 3 l 6 5 l 6 -1 l 9 -5 l 12 -4 l 3 2 l 5 7 l 2 1 l 5 -1 l 20 -9 l 14 -6 l 5 3 l 4 3 l 12 4 l 3 0\"/><path stroke-width=\"4\" stroke=\"rgb(170,170,170)\" opacity=\"1\" d=\"M 172 183 l 0 -13 l -1 -25 l 0 -24 l -1 -9 l -1 -6 l 0 -4 l 0 -4 l 0 -4 l 0 -7 l 0 -6 l 0 -5 l 0 -5 l 0 -2 l 0 -3 l 0 -2 l 0 -1 l 0 -2\"/><path stroke-width=\"4\" stroke=\"rgb(0,255,255)\" opacity=\"1\" d=\"M 168 53 l -6 2 l -26 17 l -20 20 l -18 16 l -10 9 l -13 14 l -7 8 l -3 4 l -4 7 l -1 1 l 0 1 l 2 2 l 14 2 l 26 0 l 16 0 l 18 0 l 8 -1 l 11 0 l 5 0 l 2 0 l 5 0 l 1 -1 l 1 0 l 1 -3 l 1 -13 l 2 -16 l 1 -20 l 0 -13 l -1 -9 l -2 -9 l 0 -4 l 0 -3 l -1 -1\"/><path stroke-width=\"4\" stroke=\"rgb(0,255,255)\" opacity=\"1\" d=\"M 174 69 l 12 12 l 25 24 l 10 13 l 8 13 l 1 1 l 3 6 l 4 6 l 6 7 l 4 5 l 1 0 l -7 -1 l -11 0 l -17 -2 l -12 0 l -7 0 l -5 0 l -7 0 l -1 0 l -3 0 l -5 -1 l -1 0\"/><path stroke-width=\"15\" stroke=\"rgb(0,255,255)\" opacity=\"0.27\" d=\"M 163 64 l -2 0 l -7 4 l -3 3 l -5 7 l -1 5 l -2 6 l -1 5 l -1 1 l -1 2 l -1 1 l -1 -4 l 4 -11 l -3 -1 l -9 4 l -6 4 l -8 8 l -10 9 l -5 6 l -5 6 l -2 3 l -5 5 l -5 5 l -6 4 l -6 4 l -4 3 l -5 3 l -1 1 l 11 -3 l 32 -10 l 30 -7 l 7 -2 l -6 1 l -28 7 l -10 4 l -1 0 l 1 -1 l 22 -13 l 9 -9 l 2 -3 l 1 -1 l -6 -2 l -5 0 l 12 -1 l 43 -13 l -4 -1 l -14 5 l -14 7 l -1 0 l 0 -2 l 8 -11 l 2 -5 l 0 -1 l 0 -2 l 2 -2 l 5 -5 l 2 -2 l -6 13 l -31 39 l -9 12 l -1 1 l 4 1 l 29 -5 l -20 1 l -36 8 l 0 1 l 5 0 l 5 0 l 16 0 l 24 0 l 16 0 l 10 1 l 13 1 l 9 0 l 6 0 l 8 2 l 11 0 l 7 0 l 6 1 l 5 0 l 3 0 l 1 0 l 5 0 l 1 -1 l -3 -1 l -6 -3 l -9 -4 l -10 -7 l -3 -4 l -4 -6 l -5 -9 l -5 -9 l -3 -5 l -9 -10 l -3 -5 l -4 -3 l 5 9 l 8 14 l 8 14 l 2 5 l 0 1 l -1 0 l -16 -2 l -7 -1 l -15 -3 l -1 0 l 11 -5 l 1 -1 l -6 -1 l -28 0 l -7 0 l 6 -1 l 23 -7 l 4 0 l -6 2 l -8 6 l -3 6 l -3 6 l 3 6 l 30 6 l 20 1 l 1 1 l -11 -4 l -22 -4 l 19 0 l 1 0 l 1 -3 l 1 -5 l 1 -8 l 0 -2\"/><path stroke-width=\"15\" stroke=\"rgb(0,255,255)\" opacity=\"0.27\" d=\"M 175 101 l 1 2 l 3 6 l 2 2\"/><path stroke-width=\"15\" stroke=\"rgb(0,255,255)\" opacity=\"0.27\" d=\"M 206 109 l 6 10 l 3 6 l 1 1 l 2 4 l 2 3 l 1 2 l 1 1 l 1 1 l 2 1\"/><path d=\"M 271 110 l -4 -2 l -4 -3 l -7 -12 l -3 -15 l -2 -10 l 0 -6 l 2 -3 l 13 -4 l 11 -2 l 14 0 l 15 1 l 7 6 l 5 10 l 4 13 l 0 7 l -1 4 l -2 3 l -4 4 l -4 2 l -8 4 l -6 1 l -8 1 l -4 1 l -3 0 l -2 0 l -2 -1 l -4 -2 l -1 0 l -5 -2\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 238 82 l -1 0 l 10 -1 l 2 0\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 237 55 l 2 1 l 4 3 l 3 1 l 5 2\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 260 46 l 1 1 l 1 3 l 1 9\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 284 44 l -1 8 l 0 1\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 305 44 l 1 0 l 0 7 l 0 4\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 316 61 l 5 0 l 14 -2 l 2 -1\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 321 80 l 4 2 l 16 1 l 2 0\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 317 103 l 3 4 l 2 5\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 302 108 l -1 12 l -1 4\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 280 110 l -1 0 l -1 6 l -3 10\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 263 101 l -1 0 l -5 1 l -7 4 l -2 0 l 0 1\" opacity=\"1\" stroke=\"rgb(255,6,0)\" stroke-width=\"3\"/><path d=\"M 289 59 l -7 0 l -7 0 l -3 0 l -2 0 l -2 0 l -3 1 l -3 2 l 0 1 l -1 2 l 0 3 l 0 2 l 1 1 l 33 0 l 10 0 l 3 0 l 2 0 l -5 2 l -8 3 l -13 4 l -7 2 l 14 3 l 16 0 l -12 -2 l -15 0 l -12 0 l -1 0 l -5 0 l -1 0 l 4 5 l 19 3 l 16 0 l 3 0 l 2 0 l -5 2 l -21 6 l -3 1 l 1 1 l 16 -1 l 10 -2 l 5 -1 l 4 -1 l 7 -2\" opacity=\"0.38\" stroke=\"rgb(255,242,0)\" stroke-width=\"19\"/><path stroke-width=\"9\" stroke=\"rgb(140,99,58)\" opacity=\"0.02\" d=\"M 94 195 l 3 0 l 11 0 l 11 0 l 14 1 l 10 2 l 11 0 l 9 1 l 13 1 l 9 0 l 9 0 l 1 0\"/><path stroke-width=\"9\" stroke=\"rgb(140,99,58)\" opacity=\"0.02\" d=\"M 97 199 l 9 1 l 16 1 l 19 3 l 8 0 l 6 0 l 14 1 l 17 0 l 8 0 l 12 -2 l 1 0\"/><path stroke-width=\"9\" stroke=\"rgb(140,99,58)\" opacity=\"0.02\" d=\"M 135 208 l 0 2 l 9 10 l 27 3 l 15 0 l 3 1 l 4 1\"/><path stroke-width=\"13\" stroke=\"rgb(140,99,58)\" opacity=\"0.21\" d=\"M 95 195 l 1 0 l 17 0 l 20 0 l 15 0 l 15 0 l 9 0 l 12 0 l 11 0 l 10 0 l 7 0 l 8 0 l 4 0 l 9 0 l 8 0 l 1 0 l 3 0 l -2 3 l -6 3 l -4 0 l -12 0 l -9 1 l -27 0 l -17 1 l -29 3 l -8 2 l -12 0 l -8 0 l -8 0 l -1 0 l -3 0 l -1 0 l 10 2 l 18 2 l 19 1 l 39 0 l 22 0 l 7 0 l 7 0 l 6 0 l 3 1 l 2 0 l 1 0 l -2 2 l -27 4 l -14 4 l -8 1 l -16 0 l -21 0 l -11 0 l -13 0 l -8 0 l -7 -1 l -2 0 l 1 0 l 6 2 l 19 6 l 13 2 l 9 1 l 14 2 l 9 1 l 9 0 l 9 0 l 14 0 l 5 0 l 3 0 l 1 0 l 4 0 l 3 -3 l 3 -4 l 6 -7 l 4 -9 l 4 -4 l 2 -5 l 1 0 l 2 -3 l 3 -2 l 1 -1 l 3 -2 l 1 -1 l 2 -1 l 1 -1 l 1 -1\"/><path d=\"M 122 203 l 0 8 l 1 7 l 1 4\" opacity=\"1\" stroke=\"rgb(1,1,1)\" stroke-width=\"3\"/><path d=\"M 106 215 l 1 0 l 6 2 l 6 2 l 4 1 l 8 0 l 4 -2 l 3 -2 l 3 -3 l 0 -1\" opacity=\"1\" stroke=\"rgb(1,1,1)\" stroke-width=\"3\"/><path d=\"M 123 205 l -1 0 l -4 -2 l -2 -2 l -1 -3 l 0 -4 l 1 0 l 1 -1 l 4 0 l 1 0 l 2 3 l 1 3 l 0 1 l -2 1 l -4 2\" opacity=\"1\" stroke=\"rgb(1,1,1)\" stroke-width=\"3\"/></g></svg>'),(14,1,'WMV動画プレビューサンプル','',10001,'00000014-video.wmv','','','2009-11-27 20:50:53','2009-11-27 20:50:53',0,0,0,'2009-11-27 20:50:53',0,'','');
/*!40000 ALTER TABLE `m_bbs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `m_category`
--

DROP TABLE IF EXISTS `m_category`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `m_category` (
  `id_category` int(10) unsigned NOT NULL auto_increment,
  `c_categoryName` varchar(50) NOT NULL,
  `c_categoryDisplayOrder` int(10) unsigned NOT NULL,
  `c_delete` int(10) unsigned NOT NULL default '0',
  `c_registtime` datetime NOT NULL,
  `c_updatetime` datetime NOT NULL,
  PRIMARY KEY  USING BTREE (`id_category`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `m_category`
--

LOCK TABLES `m_category` WRITE;
/*!40000 ALTER TABLE `m_category` DISABLE KEYS */;
INSERT INTO `m_category` VALUES (1,'伝達事項',10,0,'2009-02-16 19:46:17','2009-02-16 19:46:17'),(2,'質問',20,0,'2009-02-16 19:46:17','2009-02-16 19:46:17'),(3,'覚え書き',30,0,'2009-02-16 19:46:17','2009-02-16 19:46:17');
/*!40000 ALTER TABLE `m_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Temporary table structure for view `v_bbs`
--

DROP TABLE IF EXISTS `v_bbs`;
/*!50001 DROP VIEW IF EXISTS `v_bbs`*/;
/*!50001 CREATE TABLE `v_bbs` (
  `id_bbs` int(10) unsigned,
  `id_category` int(10) unsigned,
  `c_subject` varchar(500),
  `c_body` longtext,
  `id_account` int(10) unsigned,
  `c_attachFile1` varchar(255),
  `c_attachFile2` varchar(255),
  `c_attachFile3` varchar(255),
  `c_registtime` datetime,
  `c_updatetime` datetime,
  `c_delete` int(10) unsigned,
  `p_id_bbs` int(10) unsigned,
  `c_reply_cnt` int(10) unsigned,
  `c_reply_lasttime` datetime,
  `c_read_count` int(10) unsigned,
  `c_body_strip_tags` longtext,
  `c_draw` longtext,
  `c_categoryName` varchar(50),
  `c_categoryDisplayOrder` int(10) unsigned,
  `c_handle` varchar(100)
) */;

--
-- Final view structure for view `v_bbs`
--

/*!50001 DROP TABLE `v_bbs`*/;
/*!50001 DROP VIEW IF EXISTS `v_bbs`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `_db_bbs`.`v_bbs` AS select `_db_bbs`.`m_bbs`.`id_bbs` AS `id_bbs`,`_db_bbs`.`m_bbs`.`id_category` AS `id_category`,`_db_bbs`.`m_bbs`.`c_subject` AS `c_subject`,`_db_bbs`.`m_bbs`.`c_body` AS `c_body`,`_db_bbs`.`m_bbs`.`id_account` AS `id_account`,`_db_bbs`.`m_bbs`.`c_attachFile1` AS `c_attachFile1`,`_db_bbs`.`m_bbs`.`c_attachFile2` AS `c_attachFile2`,`_db_bbs`.`m_bbs`.`c_attachFile3` AS `c_attachFile3`,`_db_bbs`.`m_bbs`.`c_registtime` AS `c_registtime`,`_db_bbs`.`m_bbs`.`c_updatetime` AS `c_updatetime`,`_db_bbs`.`m_bbs`.`c_delete` AS `c_delete`,`_db_bbs`.`m_bbs`.`p_id_bbs` AS `p_id_bbs`,`_db_bbs`.`m_bbs`.`c_reply_cnt` AS `c_reply_cnt`,`_db_bbs`.`m_bbs`.`c_reply_lasttime` AS `c_reply_lasttime`,`_db_bbs`.`m_bbs`.`c_read_count` AS `c_read_count`,`_db_bbs`.`m_bbs`.`c_body_strip_tags` AS `c_body_strip_tags`,`_db_bbs`.`m_bbs`.`c_draw` AS `c_draw`,`_db_bbs`.`m_category`.`c_categoryName` AS `c_categoryName`,`_db_bbs`.`m_category`.`c_categoryDisplayOrder` AS `c_categoryDisplayOrder`,`_db_account`.`m_account`.`c_handle` AS `c_handle` from ((`_db_bbs`.`m_bbs` left join `_db_bbs`.`m_category` on((`_db_bbs`.`m_bbs`.`id_category` = `_db_bbs`.`m_category`.`id_category`))) left join `_db_account`.`m_account` on((`_db_bbs`.`m_bbs`.`id_account` = `_db_account`.`m_account`.`id_account`))) where (`_db_bbs`.`m_bbs`.`c_delete` <> 999) */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-11-27 11:52:41
