$result = mysql_query("CREATE TABLE poll_check (ip VARCHAR (20) not null , time VARCHAR (14) not null )");
// New Blocks table creation
$result = mysql_query("CREATE TABLE blocks (bid INT (10) DEFAULT '0' not null AUTO_INCREMENT, bkey VARCHAR (15) not null , title VARCHAR (60) not null , content TEXT not null , url VARCHAR (200) not null , position VARCHAR (1) not null , weight INT (10) DEFAULT '1' not null , active INT (1) DEFAULT '1' not null , refresh INT (10) DEFAULT '0' not null , time VARCHAR (14) DEFAULT '0' not null , PRIMARY KEY (bid))");
// Main Block data migration
$result = mysql_query("select title, content from mainblock");
mysql_query("ALTER TABLE authors DROP radminleft");
mysql_query("ALTER TABLE authors DROP radminright");
mysql_query("ALTER TABLE authors DROP radminmain");
mysql_query("ALTER TABLE authors DROP radminhead");
mysql_query("ALTER TABLE authors DROP radminforum");
// Headlines table alteration
mysql_query("ALTER TABLE headlines DROP url");
mysql_query("ALTER TABLE headlines DROP status");
// Home Messages table creation
mysql_query("CREATE TABLE message (title VARCHAR (100) not null , content TEXT not null , date VARCHAR (14) not null , expire INT (7) not null , active INT (1) DEFAULT '1' not null , view INT (1) DEFAULT '1' not null )");