View Single Post
  #1  
Old 4th May 2011, 20:00
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Smile TSSE 5.6 - Torrent Control Sytem
edited: detalis.php 742 line

Code:
header("Location: http://site name/details.php?id=".$_GET['id']."");
pic upload pic folder browse.php upload ftp root
PHP Code:
CREATE TABLE IF NOT EXISTS `torrents` (
  `
idint(10unsigned NOT NULL AUTO_INCREMENT,
  `
info_hashchar(20NOT NULL DEFAULT '',
  `
namevarchar(255NOT NULL DEFAULT '',
  `
filenamevarchar(255NOT NULL DEFAULT '',
  `
descrtext NOT NULL,
  `
categoryint(10unsigned NOT NULL DEFAULT '0',
  `
sizebigint(20unsigned NOT NULL DEFAULT '0',
  `
addeddatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
numfilesint(10unsigned NOT NULL DEFAULT '0',
  `
commentsint(10unsigned NOT NULL DEFAULT '0',
  `
hitsint(10unsigned NOT NULL DEFAULT '0',
  `
times_completedint(10unsigned NOT NULL DEFAULT '0',
  `
leechersint(10unsigned NOT NULL DEFAULT '0',
  `
seedersint(10unsigned NOT NULL DEFAULT '0',
  `
last_actiondatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
visibleenum('yes','no'NOT NULL DEFAULT 'yes',
  `
bannedenum('yes','no'NOT NULL DEFAULT 'no',
  `
ownerint(10unsigned NOT NULL DEFAULT '0',
  `
freeenum('yes','no') DEFAULT 'no',
  `
anonymousenum('yes','no'NOT NULL DEFAULT 'no',
  `
stickyenum('yes','no'NOT NULL DEFAULT 'no',
  `
offensiveenum('yes','no'NOT NULL DEFAULT 'no',
  `
silverenum('yes','no'NOT NULL DEFAULT 'no',
  `
t_imagevarchar(255NOT NULL DEFAULT '',
  `
t_linktext NOT NULL,
  `
isnukedenum('yes','no'NOT NULL DEFAULT 'no',
  `
WhyNukedvarchar(255NOT NULL DEFAULT 'Bad quality!',
  `
isrequestenum('yes','no'NOT NULL DEFAULT 'no',
  `
ts_externalenum('yes','no'NOT NULL DEFAULT 'no',
  `
ts_external_urlvarchar(128NOT NULL DEFAULT '',
  `
ts_external_lastupdateint(10unsigned NOT NULL DEFAULT '0',
  `
allowcommentsenum('yes','no'NOT NULL DEFAULT 'yes',
  `
doubleuploadenum('yes','no'NOT NULL DEFAULT 'no',
  `
isSceneint(11unsigned NOT NULL DEFAULT '0',
  `
moderatedenum('yes','error','no'NOT NULL DEFAULT 'no',
  `
moderatorvarchar(40CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `
errorvarchar(40CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `
genrevarchar(40NOT NULL,
  `
Torrent név Engvarchar(80) default NULL,
  
PRIMARY KEY (`id`),
  
KEY `info_hash` (`info_hash`),
  
KEY `category` (`category`),
  
KEY `times_completed` (`times_completed`,`leechers`,`seeders`),
  
KEY `visible` (`visible`,`banned`),
  
KEY `t_image` (`t_image`)
ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2856 
Click the image to open in full size.[
Attached Files
File Type: rar ellenörzés.rar (40.7 KB, 406 views)
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
The Following 5 Users Say Thank You to smoky28 For This Useful Post:
Edgein (4th May 2011), lafouine022 (5th May 2011), Marco (22nd April 2013), peiratikos (11th November 2011), szotyi66 (2nd December 2011)