mysql_query("INSERT INTO reviews_main VALUES ('Reviews Section Title', 'Reviews Section Long Description')");
mysql_query("CREATE TABLE reviews_comments (cid int(10) DEFAULT '0' NOT NULL auto_increment, rid int(10) DEFAULT '0' NOT NULL, userid varchar(25) NOT NULL, date datetime, comments text, score int(10) DEFAULT '0' NOT NULL, PRIMARY KEY (cid))");
mysql_query("CREATE TABLE reviews (id int(10) NOT NULL auto_increment, date date DEFAULT '0000-00-00' NOT NULL, title varchar(150) DEFAULT '' NOT NULL, text text DEFAULT '' NOT NULL, reviewer varchar(20), email varchar(30), score int(10) DEFAULT '0' NOT NULL, cover varchar(100) DEFAULT '' NOT NULL, url varchar(100) DEFAULT '' NOT NULL, url_title varchar(50) DEFAULT '' NOT NULL, hits int(10) DEFAULT '0' NOT NULL, PRIMARY KEY (id))");
mysql_query("CREATE TABLE reviews_add (id int(10) NOT NULL auto_increment, date date, title varchar(150) DEFAULT '' NOT NULL, text text DEFAULT '' NOT NULL, reviewer varchar(20) DEFAULT '' NOT NULL, email varchar(30) DEFAULT '' NOT NULL, score int(10) DEFAULT '0' NOT NULL, url varchar(100) DEFAULT '' NOT NULL, url_title varchar(50) DEFAULT '' NOT NULL, PRIMARY KEY (id))");
// Categories table creation and alteration
mysql_query("CREATE TABLE stories_cat (catid INT (11) DEFAULT '0' not null AUTO_INCREMENT, title VARCHAR (20) not null , counter INT (11) DEFAULT '0' not null , PRIMARY KEY (catid))");
mysql_query("ALTER TABLE stories ADD catid INT (11) DEFAULT '0' not null AFTER sid");
mysql_query("ALTER TABLE stories ADD ihome INT (1) DEFAULT '0' not null");
mysql_query("ALTER TABLE autonews ADD catid INT (11) DEFAULT '0' not null AFTER anid");
mysql_query("ALTER TABLE autonews ADD ihome INT (1) DEFAULT '0' not null");