text: -- Torrent Image Upload by Real_ptr / start
  ALTER TABLE `{$db_prefix}files` ADD `image` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `url`,
  ADD `screen1` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `image`,
  ADD `screen2` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `screen1`,
  ADD `screen3` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `screen2`;
  
  --
  
  INSERT INTO `{$db_prefix}settings` ( `key` , `value` ) VALUES ('imageon', 'true');
  INSERT INTO `{$db_prefix}settings` ( `key` , `value` ) VALUES ('uploaddir', 'cybyd_img/');
  INSERT INTO `{$db_prefix}settings` ( `key` , `value` ) VALUES ('file_limit', '15');
  INSERT INTO `{$db_prefix}settings` ( `key` , `value` ) VALUES ('screenon', 'true');
  -- Torrent Image Upload by Real_ptr / end
  
  
  -- Gold/Silver Torrent v 1.2 by Losmi / start
  ALTER TABLE `{$db_prefix}files` ADD `gold` ENUM( '0', '1', '2' ) NOT NULL DEFAULT '0' AFTER `screen3`;
  
  CREATE TABLE IF NOT EXISTS `{$db_prefix}gold` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `level` int(11) NOT NULL DEFAULT '4',
    `gold_picture` varchar(255) NOT NULL DEFAULT 'gold.gif',
    `silver_picture` varchar(255) NOT NULL DEFAULT 'silver.gif',
    `active` enum('-1','0','1') NOT NULL DEFAULT '1',
    `date` date NOT NULL DEFAULT '0000-00-00',
    `gold_description` text NOT NULL,
    `silver_description` text NOT NULL,
    `classic_description` text NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  
  INSERT INTO `{$db_prefix}gold` (`id`, `level`, `gold_picture`, `silver_picture`, `active`, `date`, `gold_description`, `silver_description`, `classic_description`) VALUES
  (1, 4, 'free.png', 'silver.gif', '1', CURDATE(), '100% FREEEEE', 'Not so much :(', 'Classy way :)');
  -- Gold/Silver Torrent v 1.2 by Losmi / end
  
  
  -- Restore the main menu / start
  INSERT INTO `{$db_prefix}blocks` ( `blockid` , `content` , `position` , `sortid` , `status` , `title` , `cache` , `minclassview`, `maxclassview` ) VALUES ( NULL , 'header', 't', '1', '1', 'BLOCK_HEADER', 'no', '1', '8' );
  -- Restore the main menu / end
  
  -- login box by cybernet2u / start
  INSERT INTO `{$db_prefix}blocks` ( `blockid` , `content` , `position` , `sortid` , `status` , `title` , `cache` , `minclassview`, `maxclassview` ) VALUES ( NULL , 'login', 'c', '1', '1', 'BLOCK_LOGIN', 'no', '1', '1' );
  -- login box by cybernet2u / end
  
  -- Custom Title - start
  ALTER TABLE `{$db_prefix}users` ADD `custom_title` VARCHAR( 51 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'User' COMMENT 'Prefers to be called' AFTER `id_level`;
  ALTER TABLE `{$db_prefix}users` ADD INDEX ( `custom_title` );
  -- Custom Title - end
  
  -- Bonus system by Real_ptr 1.3 (2.3.0) - upgraded to rev 743 by cybernet2u / start
  INSERT INTO `{$db_prefix}modules` ( id , name , activated , type , changed , created ) VALUES (NULL , 'seedbonus', 'yes', 'misc', NOW(), NOW());
  INSERT INTO `{$db_prefix}settings` SET `key`='bonus', `value`='1';
  INSERT INTO `{$db_prefix}settings` SET `key`='price_vip', `value`='750';
  INSERT INTO `{$db_prefix}settings` SET `key`='price_ct', `value`='200';
  INSERT INTO `{$db_prefix}settings` SET `key`='price_name', `value`='500';
  ALTER TABLE `{$db_prefix}users` ADD `seedbonus` DECIMAL( 12,6 ) NOT NULL DEFAULT '0';
  
  CREATE TABLE `{$db_prefix}bonus` (
    `id` int(5) NOT NULL auto_increment,
    `name` varchar(50) NOT NULL default '',
    `points` decimal(4,1) NOT NULL default '000.0',
    `traffic` bigint(20) unsigned NOT NULL default '0',
    `gb` int(9) NOT NULL default '0',
    PRIMARY KEY  (`id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  INSERT INTO `{$db_prefix}bonus` (`id`, `name`, `points`, `traffic`, `gb`) VALUES (NULL, '1', 030.0, 1073741824, 1),
  (NULL, '2', 050.0, 2147483648, 2),
  (NULL, '3', 100.0, 5368709120, 5);
  
  ALTER TABLE `{$db_prefix}users` ADD INDEX ( `seedbonus` );
  
  -- Bonus system by Real_ptr 1.3 (2.3.0) - upgraded to rev 743 by cybernet2u / end
  -- Torrent's Thanks (AJAX version) / start
  CREATE TABLE IF NOT EXISTS `{$db_prefix}files_thanks` (
    `infohash` char(40) NOT NULL DEFAULT '0',
    `userid` int(11) NOT NULL DEFAULT '0',
    KEY `infohash` (`infohash`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  -- Torrent's Thanks (AJAX version) / end
  