<?php
	/**************************************************************************\
	* phpGroupWare - Setup                                                     *
	* http://www.phpgroupware.org                                              *
	* --------------------------------------------                             *
	*  This program is free software; you can redistribute it and/or modify it *
	*  under the terms of the GNU General Public License as published by the   *
	*  Free Software Foundation; either version 2 of the License, or (at your  *
	*  option) any later version.                                              *
	\**************************************************************************/

	/* $Id: default_records.inc.php,v 1.3 2001/10/03 00:03:18 jengo Exp $ */

	$oProc->query("INSERT INTO phpgw_forum_categories (name,descr) VALUES ('Just a sample', 'This is a sample category')");
	$oProc->query("INSERT INTO phpgw_forum_categories (name,descr) VALUES ('Another sample category', 'Just another sample')");

	$oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, cat_id) VALUES ('Sample', '0', '0', 'This is a sample', '1')");
	$oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, cat_id) VALUES ('This is another sample', '0', '0', 'sub-category', '1')");
	$oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, cat_id) VALUES ('Sample', '0', '0', 'Wow, what a suprise, another sample :)', '2')");

	$oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) VALUES ('1', '1','Here is an example message.')");
	$oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) VALUES ('1', '1', 'Here is an example of a reply.')");
	$oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) VALUES ('1', '2', 'Yup, another example')");
	$oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) VALUES ('2', '3', 'I ran out of ideas ... so, heres another sample.')");

	$oProc->query("INSERT INTO phpgw_forum_threads (postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies) VALUES ('2000-12-27 04:19:54', '1', '-1', '1', '1',0, 'Example','0', '1', '0', '0', '1')");
	$oProc->query("INSERT INTO phpgw_forum_threads (postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies) VALUES ('2000-12-27 04:20:12', '2', '1', '1', '1',0, 'Re: Example','0', '1', '1', '1', '1')");
	$oProc->query("INSERT INTO phpgw_forum_threads (postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies) VALUES ('2000-12-27 04:21:15', '3', '-1', '1', '2',0, 'Example message','0', '3', '0', '0', '0')");
	$oProc->query("INSERT INTO phpgw_forum_threads (postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies) VALUES ('2000-12-27 04:21:58', '4', '-1', '2', '3',0, '','0', '4', '0', '0', '0')");
