$query = "CREATE TABLE $admintable (
  strFont text NOT NULL,
  strBGColor text NOT NULL,
  strFGColor text NOT NULL,
  strAFGColor text NOT NULL,
  strFontSize text NOT NULL,
  strFontPoint text NOT NULL,
  strFontColor text NOT NULL,
  strRateColor text NOT NULL,
  strSwearColor text NOT NULL,
  strFLink text NOT NULL,
  strALink text NOT NULL,
  strVLink text NOT NULL,
  strBorderColor text NOT NULL,
  strTitle text NOT NULL,
  strPostWidth text NOT NULL,
  strSigSeperator text NOT NULL,
  strStars1 text NOT NULL,
  strStars2 text NOT NULL,
  strStars3 text NOT NULL,
  strStars4 text NOT NULL,
  strStars5 text NOT NULL,
  strShowPosts text NOT NULL,
  strShowPostId text NOT NULL,
  strShowModLevel text NOT NULL,
  strShowStars text NOT NULL,
  strShowAvatars text NOT NULL,
  strShowLocation text NOT NULL,
  strShowSeconds text NOT NULL,
  strShow24Hour text NOT NULL,
  strTimeOffset text NOT NULL,
  strShowPmIcon text NOT NULL,
  strShowWwwIcon text NOT NULL,
  strShowProfile1 text NOT NULL,
  strShowProfile2 text NOT NULL,
  strShowProfile3 text NOT NULL,
  strShowProfile4 text NOT NULL,
  strShowEditInfo text NOT NULL,
  strEditInfoColour text NOT NULL,
  strTeleporter text NOT NULL,
  strBoxedQuotes text NOT NULL,
  strQuoteBackColor text NOT NULL,
  strQuoteFontColor text NOT NULL,
  strAdLevel1 text NOT NULL,
  strAdLevel2 text NOT NULL,
  strAdLevel3 text NOT NULL,
  strAdLevel4 text NOT NULL,
  strAdLevel5 text NOT NULL,
  strAdLevel6 text NOT NULL,
  strAdLevel7 text NOT NULL,
  strShowQuotes text NOT NULL,
  strLinkRandomQuotes text NOT NULL,
  strTimerMorning text NOT NULL,
  strTimerAfternoon text NOT NULL,
  strTimerEvening text NOT NULL,
  strAllowGalleryUpload text NOT NULL,
  strGalleryRate text NOT NULL,
  strMaxImageWidth text NOT NULL,
  strUseMainForThumb text NOT NULL,
  strThumbsPerRow text NOT NULL,
  strAllowGalleryCommentFormatting text NOT NULL,
  strGalleryComments text NOT NULL,
  strSoftEdit text NOT NULL,
  strSoftDelete text NOT NULL,
  strShowLogin text NOT NULL,
  strShowTime text NOT NULL,
  strShowDate text NOT NULL,
  strShowLastPostTime text NOT NULL,
  strShowModerators text NOT NULL,
  strShowSecondIcon text NOT NULL,
  strKeyboardNavigation text NOT NULL,
  strStatisticTracking text NOT NULL,
  strAdminNewPage text NOT NULL,
  strErrorReport text NOT NULL,
  strUseOb text NOT NULL,
  strFixMagicQuotes text NOT NULL,
  strMetaDescription text NOT NULL,
  strMetaKeyWords text NOT NULL,
  strStoreProfileEmail text NOT NULL,
  strEmailFrom text NOT NULL,
  strPostIt text NOT NULL,
  strUseCalendar text NOT NULL,
  strBackImage text NOT NULL,
  strSpellCheck text NOT NULL,
  strTopicsPerPage TEXT NOT NULL,
  strPostsPerPage TEXT NOT NULL,
  strMembersPerPage TEXT NOT NULL,
  strPostsForHotTopic TEXT NOT NULL,
  strAllowAvatarUpload TEXT NOT NULL
) TYPE=MyISAM";

$query = "INSERT INTO $admintable ( strFont, strBGColor, strFGColor, strAFGColor, strFontSize, strFontPoint, strFontColor, strRateColor, strSwearColor, strFLink, strVLink, strALink, strBorderColor, strTitle, strPostWidth, strStars1, strStars2, strStars3, strStars4, strStars5 ) values( 'Arial', '#EFF3F7', '#BCCDDE', '#DCEDFE', '2', '10', 'BLACK', 'RED', 'RED', '#111111', '#111111', '#111111', '#111111', '1', '90%', '1', '50', '100', '250', '500', '1000' )";
mysql_query( $query, $link ) or die ( "Error! : ".mysql_error() );



$query = "INSERT INTO $admintable VALUES ('Arial', '#EFF3F7', '#BCCDDE', '#DCEDFE', '2', '10', 'BLACK', 'RED', 'RED', '#111111', '#111111', '#111111', '#111111', '1', '90%', '------------------------------------', '50', '100', '250', '500', '1000', '', '', '1', '1', '1', '1', '', '', '0', '1', '1', '', '', '', '1', '1', 'GREEN', '1', '', '#8080FF', 'WHITE', 'Moderator', 'High Moderator', 'Master Moderator', 'Administrator', 'High Administrator', 'Master Administrator', 'Forum Owner', '1', '', 'Morning', 'Noon', 'Night', '1', '1', '975', '1', '5', '', '1', '1', '', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '', '', '', '', '1', 'grimforum@yourdomain.com', '1', '1', '', '', '50', '0', '100', '1')";
mysql_query( $query, $link ) or die ( "Error! : ".mysql_error() );