2021-01-25 20:02:27 +08:00
-- MySQL dump 10.13 Distrib 5.7.19, for Linux (x86_64)
--
-- Host: localhost Database: nexus_php_php8
-- ------------------------------------------------------
-- Server version 5.7.19-log
/* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
/* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
/* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
/* !40101 SET NAMES utf8 */ ;
/* !40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */ ;
/* !40103 SET TIME_ZONE='+00:00' */ ;
/* !40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */ ;
/* !40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */ ;
/* !40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ ;
/* !40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ ;
2021-01-30 14:18:34 +08:00
--
-- Current Database: `nexus_php_php8`
--
USE ` nexus_php_php8 ` ;
2021-01-25 20:02:27 +08:00
--
-- Table structure for table `adclicks`
--
DROP TABLE IF EXISTS ` adclicks ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` adclicks ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT ,
` adid ` int ( 11 ) unsigned DEFAULT NULL ,
` userid ` int ( 11 ) unsigned DEFAULT NULL ,
` added ` datetime DEFAULT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `adclicks`
--
LOCK TABLES ` adclicks ` WRITE ;
/* !40000 ALTER TABLE `adclicks` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `adclicks` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `adminpanel`
--
DROP TABLE IF EXISTS ` adminpanel ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` adminpanel ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 128 ) NOT NULL DEFAULT ' ' ,
` url ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` info ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `adminpanel`
--
LOCK TABLES ` adminpanel ` WRITE ;
/* !40000 ALTER TABLE `adminpanel` DISABLE KEYS */ ;
INSERT INTO ` adminpanel ` VALUES ( 1 , ' Add user ' , ' adduser.php ' , ' Create new user account ' ) , ( 3 , ' Reset Users Password ' , ' reset.php ' , ' Rest lost Passwords ' ) , ( 4 , ' Mass PM ' , ' staffmess.php ' , ' Send PM to all users ' ) , ( 6 , ' Poll overview ' , ' polloverview.php ' , ' View poll votes ' ) , ( 7 , ' Warned users ' , ' warned.php ' , ' See all warned users on tracker ' ) , ( 8 , ' FreeLeech ' , ' freeleech.php ' , ' Set ALL Torrents At Special State. ' ) , ( 9 , ' FAQ Management ' , ' faqmanage.php ' , ' Edit/Add/Delete FAQ Page ' ) , ( 10 , ' Rules Management ' , ' modrules.php ' , ' Edit/Add/Delete RULES Page ' ) , ( 11 , ' Category Manage ' , ' catmanage.php ' , ' Manage torrents categories at your site ' ) ;
/* !40000 ALTER TABLE `adminpanel` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `advertisements`
--
DROP TABLE IF EXISTS ` advertisements ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` advertisements ` (
` id ` mediumint ( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
` enabled ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` type ` enum ( ' bbcodes ' , ' xhtml ' , ' text ' , ' image ' , ' flash ' ) NOT NULL ,
` position ` enum ( ' header ' , ' footer ' , ' belownav ' , ' belowsearchbox ' , ' torrentdetail ' , ' comment ' , ' interoverforums ' , ' forumpost ' , ' popup ' ) NOT NULL ,
` displayorder ` tinyint ( 3 ) NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` parameters ` text NOT NULL ,
` code ` text NOT NULL ,
` starttime ` datetime NOT NULL ,
` endtime ` datetime NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `advertisements`
--
LOCK TABLES ` advertisements ` WRITE ;
/* !40000 ALTER TABLE `advertisements` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `advertisements` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `agent_allowed_exception`
--
DROP TABLE IF EXISTS ` agent_allowed_exception ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` agent_allowed_exception ` (
` family_id ` tinyint ( 3 ) unsigned NOT NULL ,
` name ` varchar ( 100 ) NOT NULL DEFAULT ' ' ,
` peer_id ` varchar ( 20 ) NOT NULL ,
` agent ` varchar ( 100 ) NOT NULL ,
` comment ` varchar ( 200 ) NOT NULL DEFAULT ' ' ,
KEY ` family_id ` ( ` family_id ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `agent_allowed_exception`
--
LOCK TABLES ` agent_allowed_exception ` WRITE ;
/* !40000 ALTER TABLE `agent_allowed_exception` DISABLE KEYS */ ;
INSERT INTO ` agent_allowed_exception ` VALUES ( 16 , ' uTorrent 1.80B (Build 6838) ' , ' -UT180B- ' , ' uTorrent/180B(6838) ' , ' buggy build that always seeding bad request ' ) ;
/* !40000 ALTER TABLE `agent_allowed_exception` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `agent_allowed_family`
--
DROP TABLE IF EXISTS ` agent_allowed_family ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` agent_allowed_family ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` family ` varchar ( 50 ) NOT NULL DEFAULT ' ' ,
` start_name ` varchar ( 100 ) NOT NULL DEFAULT ' ' ,
` peer_id_pattern ` varchar ( 200 ) NOT NULL ,
` peer_id_match_num ` tinyint ( 3 ) unsigned NOT NULL ,
` peer_id_matchtype ` enum ( ' dec ' , ' hex ' ) NOT NULL DEFAULT ' dec ' ,
` peer_id_start ` varchar ( 20 ) NOT NULL ,
` agent_pattern ` varchar ( 200 ) NOT NULL ,
` agent_match_num ` tinyint ( 3 ) unsigned NOT NULL ,
` agent_matchtype ` enum ( ' dec ' , ' hex ' ) NOT NULL DEFAULT ' dec ' ,
` agent_start ` varchar ( 100 ) NOT NULL ,
` exception ` enum ( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
` allowhttps ` enum ( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
` comment ` varchar ( 200 ) NOT NULL DEFAULT ' ' ,
` hits ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `agent_allowed_family`
--
LOCK TABLES ` agent_allowed_family ` WRITE ;
/* !40000 ALTER TABLE `agent_allowed_family` DISABLE KEYS */ ;
2021-01-30 14:18:34 +08:00
INSERT INTO ` agent_allowed_family ` VALUES ( 1 , ' Azureus 2.5.0.4 ' , ' Azureus 2.5.0.4 ' , ' /^-AZ2504-/ ' , 0 , ' dec ' , ' -AZ2504- ' , ' /^Azureus 2.5.0.4/ ' , 0 , ' dec ' , ' Azureus 2.5.0.4 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 2 , ' uTorrent 1.6.1 ' , ' uTorrent 1.6.1 ' , ' /^-UT1610-/ ' , 0 , ' dec ' , ' -UT1610- ' , ' /^uTorrent\\/1610/ ' , 0 , ' dec ' , ' uTorrent/1610 ' , ' no ' , ' no ' , ' ' , 0 ) , ( 3 , ' Bittorrent 6.x ' , ' Bittorrent 6.0.1 ' , ' /^M6-([0-9])-([0-9])--/ ' , 2 , ' dec ' , ' M6-0-1-- ' , ' /^BitTorrent\\/6([0-9])([0-9])([0-9])/ ' , 3 , ' dec ' , ' BitTorrent/6010 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 4 , ' Deluge 0.x ' , ' Deluge 0.5.8.9 ' , ' /^-DE0([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -DE0589- ' , ' /^Deluge 0\\.([0-9])\\.([0-9])\\.([0-9])/ ' , 3 , ' dec ' , ' Deluge 0.5.8.9 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 5 , ' Transmission1.x ' , ' Transmission 1.06 (build 5136) ' , ' /^-TR1([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -TR1060- ' , ' /^Transmission\\/1\\.([0-9])([0-9])/ ' , 3 , ' dec ' , ' Transmission/1.06 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 6 , ' RTorrent 0.x(with libtorrent 0.x) ' , ' rTorrent 0.8.0 (with libtorrent 0.12.0) ' , ' /^-lt([0-9A-E])([0-9A-E])([0-9A-E])([0-9A-E])-/ ' , 4 , ' hex ' , ' -lt0C00- ' , ' /^rtorrent\\/0\\.([0-9])\\.([0-9])\\/0\\.([1-9][0-9]*)\\.(0|[1-9][0-9]*)/ ' , 4 , ' dec ' , ' rtorrent/0.8.0/0.12.0 ' , ' no ' , ' no ' , ' ' , 0 ) , ( 7 , ' Rufus 0.x ' , ' Rufus 0.6.9 ' , ' ' , 0 , ' dec ' , ' ' , ' /^Rufus\\/0\\.([0-9])\\.([0-9])/ ' , 2 , ' dec ' , ' Rufus/0.6.9 ' , ' no ' , ' no ' , ' ' , 0 ) , ( 8 , ' Azureus 3.x ' , ' Azureus 3.0.5.0 ' , ' /^-AZ3([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -AZ3050- ' , ' /^Azureus 3\\.([0-9])\\.([0-9])\\.([0-9])/ ' , 3 , ' dec ' , ' Azureus 3.0.5.0 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 9 , ' uTorrent 1.7.x ' , ' uTorrent 1.7.5 ' , ' /^-UT17([0-9])([0-9])-/ ' , 2 , ' dec ' , ' -UT1750- ' , ' /^uTorrent\\/17([0-9])([0-9])/ ' , 2 , ' dec ' , ' uTorrent/1750 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 10 , ' BitRocket 0.x ' , ' BitRocket 0.3.3(32) ' , ' /^-BR0([0-9])([1-9][0-9]*)-/ ' , 2 , ' dec ' , ' -BR0332- ' , ' /^BitRocket\\/0\\.([0-9])\\.([0-9])\\(([1-9][0-9]*)\\) libtorrent\\/0\\.([1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)/ ' , 6 , ' dec ' , ' BitRocket/0.3.3(32) libtorrent/0.13.0.0 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 11 , ' MLDonkey 2.9.x ' , ' MLDonkey 2.9.2 ' , ' /^-ML2\\.9\\.([0-9])-/ ' , 1 , ' dec ' , ' -ML2.9.2- ' , ' /^MLDonkey\\/2\\.9\\.([0-9])/ ' , 1 , ' dec ' , ' MLDonkey/2.9.2 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 12 , ' uTorrent 1.8.x ' , ' uTorrent 1.8.0 ' , ' /^-UT18([0-9])([0-9])-/ ' , 2 , ' dec ' , ' -UT1800- ' , ' /^uTorrent\\/18([0-9])([0-9])/ ' , 2 , ' dec ' , ' uTorrent/1800 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 13 , ' Azureus 4.x ' , ' Vuze 4.0.0.2 ' , ' /^-AZ4([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -AZ4002- ' , ' /^Azureus 4\\.([0-9])\\.([0-9])\\.([0-9])/ ' , 3 , ' dec ' , ' Azureus 4.0.0.2 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 14 , ' SymTorrent ' , ' ' , ' ' , 0 , ' dec ' , ' ' , ' /^SymTorrent/ ' , 0 , ' dec ' , ' SymTorrent ' , ' no ' , ' no ' , ' ' , 0 ) , ( 15 , ' Deluge 1.x ' , ' Deluge 1.1.6 ' , ' /^-DE1([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -DE1160- ' , ' /^Deluge 1\\.([0-9])\\.([0-9])/ ' , 2 , ' dec ' , ' Deluge 1.1.6 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 16 , ' uTorrent 1.8xB ' , ' uTorrent 1.80 Beta (build 9137) ' , ' /^-UT18([0-9])B-/ ' , 1 , ' dec ' , ' -UT180B- ' , ' /^uTorrent\\/18([0-9])B\\(([1-9][0-9]*)\\)/ ' , 2 , ' dec ' , ' uTorrent/180B(9137) ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 17 , ' uTorrent 2.x.x ' , ' uTorrent 2.0(build 17624) ' , ' /^-UT2([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -UT2000- ' , ' /^uTorrent\\/2([0-9])([0-9])([0-9])/ ' , 3 , ' dec ' , ' uTorrent/2000 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 18 , ' Transmission2.x ' , ' Transmission 2.0 ' , ' /^-TR2([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -TR2000- ' , ' /^Transmission\\/2\\.([0-9])([0-9])/ ' , 3 , ' dec ' , ' Transmission/2.00 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 19 , ' uTorrent 3.x ' , ' uTorrent/3000 ' , ' /^-UT3([0-9])([0-9])([0-9])-/ ' , 3 , ' dec ' , ' -UT3000- ' , ' /^uTorrent\\/3([0-9])([0-9])([0-9])/ ' , 3 , ' dec ' , ' uTorrent/3000 ' , ' no ' , ' yes ' , ' ' , 0 ) , ( 20 , ' uTorrent 3.x ' , ' uTorrent ' , ' ' , 0 , ' dec ' , ' -UT355W- ' , ' /^uTorrent/ ' , 0 , ' dec ' , ' uTorrent ' , ' no ' , ' yes ' , ' ' , 0 ) ;
2021-01-25 20:02:27 +08:00
/* !40000 ALTER TABLE `agent_allowed_family` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `allowedemails`
--
DROP TABLE IF EXISTS ` allowedemails ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` allowedemails ` (
` id ` int ( 10 ) NOT NULL AUTO_INCREMENT ,
` value ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `allowedemails`
--
LOCK TABLES ` allowedemails ` WRITE ;
/* !40000 ALTER TABLE `allowedemails` DISABLE KEYS */ ;
INSERT INTO ` allowedemails ` VALUES ( 1 , ' @st.zju.edu.cn @gstu.zju.edu.cn @fa.zju.edu.cn @zuaa.zju.edu.cn ' ) ;
/* !40000 ALTER TABLE `allowedemails` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `attachments`
--
DROP TABLE IF EXISTS ` attachments ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` attachments ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` userid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` width ` smallint ( 6 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` added ` datetime DEFAULT NULL ,
` filename ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` dlkey ` char ( 32 ) NOT NULL ,
` filetype ` varchar ( 50 ) NOT NULL DEFAULT ' ' ,
` filesize ` bigint ( 20 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` location ` varchar ( 255 ) NOT NULL ,
` downloads ` mediumint ( 8 ) NOT NULL DEFAULT ' 0 ' ,
` isimage ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` thumb ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` pid ` ( ` userid ` , ` id ` ) ,
KEY ` dateline ` ( ` added ` , ` isimage ` , ` downloads ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `attachments`
--
LOCK TABLES ` attachments ` WRITE ;
/* !40000 ALTER TABLE `attachments` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `attachments` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `audiocodecs`
--
DROP TABLE IF EXISTS ` audiocodecs ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` audiocodecs ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 30 ) NOT NULL ,
` image ` varchar ( 255 ) NOT NULL ,
` sort_index ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ROW_FORMAT = DYNAMIC ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `audiocodecs`
--
LOCK TABLES ` audiocodecs ` WRITE ;
/* !40000 ALTER TABLE `audiocodecs` DISABLE KEYS */ ;
INSERT INTO ` audiocodecs ` VALUES ( 1 , ' FLAC ' , ' ' , 0 ) , ( 2 , ' APE ' , ' ' , 0 ) , ( 3 , ' DTS ' , ' ' , 0 ) , ( 4 , ' MP3 ' , ' ' , 0 ) , ( 5 , ' OGG ' , ' ' , 0 ) , ( 6 , ' AAC ' , ' ' , 0 ) , ( 7 , ' Other ' , ' ' , 0 ) ;
/* !40000 ALTER TABLE `audiocodecs` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `avps`
--
DROP TABLE IF EXISTS ` avps ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` avps ` (
` arg ` varchar ( 20 ) NOT NULL DEFAULT ' ' ,
` value_s ` text NOT NULL ,
` value_i ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` value_u ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` arg ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `avps`
--
LOCK TABLES ` avps ` WRITE ;
/* !40000 ALTER TABLE `avps` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `avps` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `bannedemails`
--
DROP TABLE IF EXISTS ` bannedemails ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` bannedemails ` (
` id ` int ( 10 ) NOT NULL AUTO_INCREMENT ,
` value ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `bannedemails`
--
LOCK TABLES ` bannedemails ` WRITE ;
/* !40000 ALTER TABLE `bannedemails` DISABLE KEYS */ ;
INSERT INTO ` bannedemails ` VALUES ( 1 , ' @test.com ' ) ;
/* !40000 ALTER TABLE `bannedemails` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `bans`
--
DROP TABLE IF EXISTS ` bans ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` bans ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` added ` datetime DEFAULT NULL ,
` addedby ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` comment ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` first ` bigint ( 20 ) NOT NULL ,
` last ` bigint ( 20 ) NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` first_last ` ( ` first ` , ` last ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `bans`
--
LOCK TABLES ` bans ` WRITE ;
/* !40000 ALTER TABLE `bans` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `bans` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `bitbucket`
--
DROP TABLE IF EXISTS ` bitbucket ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` bitbucket ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` owner ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 255 ) NOT NULL ,
` added ` datetime DEFAULT NULL ,
` public ` enum ( ' 0 ' , ' 1 ' ) NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `bitbucket`
--
LOCK TABLES ` bitbucket ` WRITE ;
/* !40000 ALTER TABLE `bitbucket` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `bitbucket` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `blocks`
--
DROP TABLE IF EXISTS ` blocks ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` blocks ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` userid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` blockid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` userfriend ` ( ` userid ` , ` blockid ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `blocks`
--
LOCK TABLES ` blocks ` WRITE ;
/* !40000 ALTER TABLE `blocks` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `blocks` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `bookmarks`
--
DROP TABLE IF EXISTS ` bookmarks ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` bookmarks ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` torrentid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` userid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` userid_torrentid ` ( ` userid ` , ` torrentid ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `bookmarks`
--
LOCK TABLES ` bookmarks ` WRITE ;
/* !40000 ALTER TABLE `bookmarks` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `bookmarks` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS ` categories ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` categories ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` mode ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 1 ' ,
` class_name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` name ` varchar ( 30 ) NOT NULL ,
` image ` varchar ( 255 ) NOT NULL ,
` sort_index ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` mode_sort ` ( ` mode ` , ` sort_index ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `categories`
--
LOCK TABLES ` categories ` WRITE ;
/* !40000 ALTER TABLE `categories` DISABLE KEYS */ ;
INSERT INTO ` categories ` VALUES ( 401 , 4 , ' c_movies ' , ' Movies ' , ' catsprites.png ' , 0 ) , ( 402 , 4 , ' c_tvseries ' , ' TV Series ' , ' catsprites.png ' , 3 ) , ( 403 , 4 , ' c_tvshows ' , ' TV Shows ' , ' catsprites.png ' , 4 ) , ( 404 , 4 , ' c_doc ' , ' Documentaries ' , ' catsprites.png ' , 1 ) , ( 405 , 4 , ' c_anime ' , ' Animations ' , ' catsprites.png ' , 2 ) , ( 406 , 4 , ' c_mv ' , ' Music Videos ' , ' catsprites.png ' , 5 ) , ( 407 , 4 , ' c_sports ' , ' Sports ' , ' catsprites.png ' , 6 ) , ( 408 , 4 , ' c_hqaudio ' , ' HQ Audio ' , ' catsprites.png ' , 8 ) , ( 409 , 4 , ' c_misc ' , ' Misc ' , ' catsprites.png ' , 7 ) ;
/* !40000 ALTER TABLE `categories` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `caticons`
--
DROP TABLE IF EXISTS ` caticons ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` caticons ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` folder ` varchar ( 255 ) NOT NULL ,
` cssfile ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` multilang ` enum ( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
` secondicon ` enum ( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
` designer ` varchar ( 50 ) NOT NULL DEFAULT ' ' ,
` comment ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `caticons`
--
LOCK TABLES ` caticons ` WRITE ;
/* !40000 ALTER TABLE `caticons` DISABLE KEYS */ ;
INSERT INTO ` caticons ` VALUES ( 1 , ' SceneTorrents mod ' , ' scenetorrents/ ' , ' pic/category/chd/scenetorrents/catsprites.css ' , ' yes ' , ' no ' , ' NexusPHP ' , ' Modified from SceneTorrents ' ) ;
/* !40000 ALTER TABLE `caticons` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `cheaters`
--
DROP TABLE IF EXISTS ` cheaters ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` cheaters ` (
` id ` mediumint ( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
` added ` datetime DEFAULT NULL ,
` userid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` torrentid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` uploaded ` bigint ( 20 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` downloaded ` bigint ( 20 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` anctime ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` seeders ` mediumint ( 5 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` leechers ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` hit ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` dealtby ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` dealtwith ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` comment ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `cheaters`
--
LOCK TABLES ` cheaters ` WRITE ;
/* !40000 ALTER TABLE `cheaters` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `cheaters` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `chronicle`
--
DROP TABLE IF EXISTS ` chronicle ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` chronicle ` (
` id ` mediumint ( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
` userid ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` added ` datetime DEFAULT NULL ,
` txt ` text ,
PRIMARY KEY ( ` id ` ) ,
KEY ` added ` ( ` added ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `chronicle`
--
LOCK TABLES ` chronicle ` WRITE ;
/* !40000 ALTER TABLE `chronicle` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `chronicle` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `codecs`
--
DROP TABLE IF EXISTS ` codecs ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` codecs ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 30 ) NOT NULL ,
` sort_index ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `codecs`
--
LOCK TABLES ` codecs ` WRITE ;
/* !40000 ALTER TABLE `codecs` DISABLE KEYS */ ;
INSERT INTO ` codecs ` VALUES ( 1 , ' H.264 ' , 0 ) , ( 2 , ' VC-1 ' , 0 ) , ( 3 , ' Xvid ' , 0 ) , ( 4 , ' MPEG-2 ' , 0 ) , ( 5 , ' Other ' , 0 ) ;
/* !40000 ALTER TABLE `codecs` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `comments`
--
DROP TABLE IF EXISTS ` comments ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` comments ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` user ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` torrent ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` added ` datetime DEFAULT NULL ,
` text ` text ,
` ori_text ` text ,
` editedby ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` editdate ` datetime DEFAULT NULL ,
` offer ` mediumint ( 8 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user ` ( ` user ` ) ,
KEY ` torrent_id ` ( ` torrent ` , ` id ` ) ,
KEY ` offer_id ` ( ` offer ` , ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `comments`
--
LOCK TABLES ` comments ` WRITE ;
/* !40000 ALTER TABLE `comments` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `comments` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `countries`
--
DROP TABLE IF EXISTS ` countries ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` countries ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 50 ) NOT NULL ,
` flagpic ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `countries`
--
LOCK TABLES ` countries ` WRITE ;
/* !40000 ALTER TABLE `countries` DISABLE KEYS */ ;
INSERT INTO ` countries ` VALUES ( 1 , ' Sweden ' , ' sweden.gif ' ) , ( 2 , ' United States of America ' , ' usa.gif ' ) , ( 3 , ' Russia ' , ' russia.gif ' ) , ( 4 , ' Finland ' , ' finland.gif ' ) , ( 5 , ' Canada ' , ' canada.gif ' ) , ( 6 , ' France ' , ' france.gif ' ) , ( 7 , ' Germany ' , ' germany.gif ' ) , ( 8 , ' 中国 ' , ' china.gif ' ) , ( 9 , ' Italy ' , ' italy.gif ' ) , ( 10 , ' Denmark ' , ' denmark.gif ' ) , ( 11 , ' Norway ' , ' norway.gif ' ) , ( 12 , ' United Kingdom ' , ' uk.gif ' ) , ( 13 , ' Ireland ' , ' ireland.gif ' ) , ( 14 , ' Poland ' , ' poland.gif ' ) , ( 15 , ' Netherlands ' , ' netherlands.gif ' ) , ( 16 , ' Belgium ' , ' belgium.gif ' ) , ( 17 , ' Japan ' , ' japan.gif ' ) , ( 18 , ' Brazil ' , ' brazil.gif ' ) , ( 19 , ' Argentina ' , ' argentina.gif ' ) , ( 20 , ' Australia ' , ' australia.gif ' ) , ( 21 , ' New Zealand ' , ' newzealand.gif ' ) , ( 23 , ' Spain ' , ' spain.gif ' ) , ( 24 , ' Portugal ' , ' portugal.gif ' ) , ( 25 , ' Mexico ' , ' mexico.gif ' ) , ( 26 , ' Singapore ' , ' singapore.gif ' ) , ( 70 , ' India ' , ' india.gif ' ) , ( 65 , ' Albania ' , ' albania.gif ' ) , ( 29 , ' South Africa ' , ' southafrica.gif ' ) , ( 30 , ' South Korea ' , ' southkorea.gif ' ) , ( 31 , ' Jamaica ' , ' jamaica.gif ' ) , ( 32 , ' Luxembourg ' , ' luxembourg.gif ' ) , ( 34 , ' Belize ' , ' belize.gif ' ) , ( 35 , ' Algeria ' , ' algeria.gif ' ) , ( 36 , ' Angola ' , ' angola.gif ' ) , ( 37 , ' Austria ' , ' austria.gif ' ) , ( 38 , ' Yugoslavia ' , ' yugoslavia.gif ' ) , ( 39 , ' Western Samoa ' , ' westernsamoa.gif ' ) , ( 40 , ' Malaysia ' , ' malaysia.gif ' ) , ( 41 , ' Dominican Republic ' , ' dominicanrep.gif ' ) , ( 42 , ' Greece ' , ' greece.gif ' ) , ( 43 , ' Guatemala ' , ' guatemala.gif ' ) , ( 44 , ' Israel ' , ' israel.gif ' ) , ( 45 , ' Pakistan ' , ' pakistan.gif ' ) , ( 46 , ' Czech Republic ' , ' czechrep.gif ' ) , ( 47 , ' Serbia ' , ' serbia.gif ' ) , ( 48 , ' Seychelles ' , ' seychelles.gif ' ) , ( 50 , ' Puerto Rico ' , ' puertorico.gif ' ) , ( 51 , ' Chile ' , ' chile.gif ' ) , ( 52 , ' Cuba ' , ' cuba.gif ' ) , ( 53 , ' Congo ' , ' congo.gif ' ) , ( 54 , ' Afghanistan ' , ' afghanistan.gif ' ) , ( 55 , ' Turkey ' , ' turkey.gif ' ) , ( 56 , ' Uzbekistan ' , ' uzbekistan.gif ' ) , ( 57 , ' Switzerland ' , ' switzerland.gif ' ) , ( 58 , ' Kiribati ' , ' kiribati.gif ' ) , ( 59 , ' Philippines ' , ' philippines.gif ' ) , ( 60 , ' Burkina Faso ' , ' burkinafaso.gif ' ) , ( 61 , ' Nigeria ' , ' nigeria.gif ' ) , ( 62 , ' Iceland ' , ' iceland.gif ' ) , ( 63 , ' Nauru ' , ' nauru.gif ' ) , ( 64 , ' Slovenia ' , ' slovenia.gif ' ) , ( 66 , ' Turkmenistan ' , ' turkmenistan.gif ' ) , ( 67 , ' Bosnia Herzegovina ' , ' bosniaherzegovina.gif ' ) , ( 68 , ' Andorra ' , ' andorra.gif ' ) , ( 69 , ' Lithuania ' , ' lithuania.gif ' ) , ( 71 , ' Netherlands Antilles ' , ' nethantilles.gif ' ) , ( 72 , ' Ukraine ' , ' ukraine.gif ' ) , ( 73 , ' Venezuela ' , ' venezuela.gif ' ) , ( 74 , ' Hungary ' , ' hungary.gif ' ) , ( 75 , ' Romania ' , ' romania.gif ' ) , ( 76 , ' Vanuatu ' , ' vanuatu.gif ' ) , ( 77 , ' Vietnam ' , ' vietnam.gif ' ) , ( 78 , ' Trinidad & Tobago ' , ' trinidadandtobago.gif ' ) , ( 79 , ' Honduras ' , ' honduras.gif ' ) , ( 80 , ' Kyrgyzstan ' , ' kyrgyzstan.gif ' ) , ( 81 , ' Ecuador ' , ' ecuador.gif ' ) , ( 82 , ' Bahamas ' , ' bahamas.gif ' ) , ( 83 , ' Peru ' , ' peru.gif ' ) , ( 84 , ' Cambodia ' , ' cambodia.gif ' ) , ( 85 , ' Barbados ' , ' barbados.gif ' ) , ( 86 , ' Bangladesh ' , ' bangladesh.gif ' ) , ( 87 , ' Laos ' , ' laos.gif ' ) , ( 88 , ' Uruguay ' , ' uruguay.gif ' ) , ( 89 , ' Antigua Barbuda ' , ' antiguabarbuda.gif ' ) , ( 90 , ' Paraguay ' , ' paraguay.gif ' ) , ( 93 , ' Thailand ' , ' thailand.gif ' ) , ( 92 , ' Union of Soviet Socialist Republics ' , ' ussr.gif ' ) , ( 94 , ' Senegal ' , ' senegal.gif ' ) , ( 95 , ' Togo ' , ' togo.gif ' ) , ( 96 , ' North Korea ' , ' northkorea.gif ' ) , ( 97 , ' Croatia ' , ' croatia.gif ' ) , ( 98 , ' Estonia ' , ' estonia.gif ' ) , ( 99 , ' Colombia ' , ' colombia.gif ' ) , ( 100 , ' Lebanon ' , ' lebanon.gif ' ) , ( 101 , ' Latvia ' , ' latvia.gif ' ) , ( 102 , ' Costa Rica ' , ' costarica.gif ' ) , ( 103 , ' Egypt ' , ' egypt.gif ' ) , ( 104 , ' Bulgaria ' , ' bulgaria.gif ' ) , ( 105 , ' Isla de Muerte ' , ' jollyroger.gif ' ) , ( 107 , ' Pirates ' , ' jollyroger.gif ' ) ;
/* !40000 ALTER TABLE `countries` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `downloadspeed`
--
DROP TABLE IF EXISTS ` downloadspeed ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` downloadspeed ` (
` id ` tinyint ( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 50 ) NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `downloadspeed`
--
LOCK TABLES ` downloadspeed ` WRITE ;
/* !40000 ALTER TABLE `downloadspeed` DISABLE KEYS */ ;
INSERT INTO ` downloadspeed ` VALUES ( 1 , ' 64kbps ' ) , ( 2 , ' 128kbps ' ) , ( 3 , ' 256kbps ' ) , ( 4 , ' 512kbps ' ) , ( 5 , ' 768kbps ' ) , ( 6 , ' 1Mbps ' ) , ( 7 , ' 1.5Mbps ' ) , ( 8 , ' 2Mbps ' ) , ( 9 , ' 3Mbps ' ) , ( 10 , ' 4Mbps ' ) , ( 11 , ' 5Mbps ' ) , ( 12 , ' 6Mbps ' ) , ( 13 , ' 7Mbps ' ) , ( 14 , ' 8Mbps ' ) , ( 15 , ' 9Mbps ' ) , ( 16 , ' 10Mbps ' ) , ( 17 , ' 48Mbps ' ) , ( 18 , ' 100Mbit ' ) ;
/* !40000 ALTER TABLE `downloadspeed` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `faq`
--
DROP TABLE IF EXISTS ` faq ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` faq ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` link_id ` smallint ( 5 ) unsigned NOT NULL ,
` lang_id ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 6 ' ,
` type ` enum ( ' categ ' , ' item ' ) NOT NULL DEFAULT ' item ' ,
` question ` text NOT NULL ,
` answer ` text NOT NULL ,
` flag ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 1 ' ,
` categ ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` order ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `faq`
--
LOCK TABLES ` faq ` WRITE ;
/* !40000 ALTER TABLE `faq` DISABLE KEYS */ ;
INSERT INTO ` faq ` VALUES ( 1 , 1 , 25 , ' categ ' , ' 站点信息 ' , ' ' , 1 , 0 , 1 ) , ( 2 , 2 , 25 , ' categ ' , ' 用户信息 ' , ' ' , 1 , 0 , 2 ) , ( 3 , 3 , 25 , ' categ ' , ' 数据统计 ' , ' ' , 1 , 0 , 3 ) , ( 4 , 4 , 25 , ' categ ' , ' 发布 ' , ' ' , 1 , 0 , 4 ) , ( 5 , 5 , 25 , ' categ ' , ' 下载 ' , ' ' , 1 , 0 , 5 ) , ( 6 , 6 , 25 , ' categ ' , ' 我该怎样提升下载速度? ' , ' ' , 1 , 0 , 6 ) , ( 7 , 7 , 25 , ' categ ' , ' 我的网络提供商(ISP)使用了透明代理。我应该怎么做? ' , ' ' , 1 , 0 , 7 ) , ( 8 , 8 , 25 , ' categ ' , ' 为什么我连不上?难道我被网站屏蔽了? ' , ' ' , 1 , 0 , 8 ) , ( 9 , 9 , 25 , ' categ ' , ' 如果从这里找不到我的问题的解答,我该怎么办? ' , ' ' , 1 , 0 , 9 ) , ( 10 , 10 , 25 , ' item ' , ' 到底什么是BT(Bittorrent)?我要如何才能弄到这类程序? ' , ' 参看<a class=\"faqlink\" href=\"http://www.btfaq.com/\">Brian的BitTorrent FAQ及指导</a>。 ' , 1 , 1 , 1 ) , ( 11 , 11 , 25 , ' item ' , ' 我们捐出来的钱上哪儿去了? ' , ' 所有捐助的钱用于维护服务器的费用。 ' , 1 , 1 , 2 ) , ( 12 , 12 , 25 , ' item ' , ' 我从哪里可以搞到源代码的拷贝? ' , ' 这个Tracker使用的是NexusPHP的代码。代码获取事宜,请看<a class=\"faqlink\" href=\"aboutnexus.php\">这里</a>。<br />\r\nNexusPHP的代码是根据TBSource的源码改写的。TBDev网站,Tracker源代码以及社区论坛都在这里:<a class=\"faqlink\" href=\"http://www.tbdev.net/\">TBDev.net</a>。 ' , 1 , 1 , 3 ) , ( 13 , 13 , 25 , ' item ' , ' 我注册了一个账号但是却没有收到验证邮件! ' , ' 这很有可能是Tracker所在的服务器网络出现了问题。你可以填写<a href=\"confirm_resend.php\" class=\"faqlink\">这个表格</a>让服务器重发验证邮件。<br />\r\n通常没有得到确认的注册帐户会在24小时后被删除,所以你可以在第二天重试。需要注意的是,如果你第一次没有收到确认信,第二次有很大的可能仍然无法收到确认信,所以换一个E-mail地址是一个不错的主意。 ' , 1 , 2 , 1 ) , ( 14 , 14 , 25 , ' item ' , ' 我忘记了我的用户名/密码了,能帮我找回来么? ' , ' 请填写<a class=\"faqlink\" href=\"recover.php\">这个表单</a>,我们将把登录详情发还给你。 ' , 1 , 2 , 2 ) , ( 15 , 15 , 25 , ' item ' , ' 我可以给我的账号改个名字么? ' , ' 我们并不支持给账号改名。 ' , 1 , 2 , 3 ) , ( 16 , 16 , 25 , ' item ' , ' 你可以删除一个(已确认的)账号么? ' , ' 我们一般不提供该类服务,所以不要请求删除任何一个被你邀请的帐号。 ' , 1 , 2 , 4 ) , ( 17 , 17 , 25 , ' item ' , ' 那么,什么是我的分享率(Ratio)? ' , ' 就在页面功能分区的下面。<br />\r\n<br />\r\n<img src=\"pic/ratio.png\" alt=\"ratio\" />\r\n<br />\r\n<br />\r\n区分你的整体分享率和独立分享率是很重要的。整体分享率关注的是自从你加入站点以来,账号的整体上传与下载量。而独立分享率则针对每一个你正在下载或做种的文件。\r\n<br />\r\n<br />\r\n你可能看到两种符号来代替数字:\"Inf.\",这个是无限(Infinity)的缩写,意思是你的下载量为0字节,而上传量则是任意一个非零的值(上传量/下载量=无穷大);\"---\",应该被视为“不可用”,这说明了你的下载量和上传量都是0字节。(上传量/下载量=0/0 这是一个不确定的量)。\r\n ' , 1 , 2 , 5 ) , ( 18 , 18 , 25 , ' item ' , ' 为什么我的IP地址显示在我的个人信息页面上? ' , ' 只有你自己和网站Moderator及以上的管理员可以看到你的IP地址和Email。普通用户是看不到这些信息的。 ' , 1 , 2 , 6 ) , ( 21 , 21 , 25 , ' item ' , ' 为什么我的“可连接”是“否”?(以及为什么我需要关注这个问题?) ' , ' Tracker服务器认为你在防火墙后,或者在NAT桥接后,并且无法接收其他Peer的连接请求。\r\n<br />\r\n<br />\r\n这意味着其它的大批Peer无法连接到你,只能由你连接到他们。更糟糕的情况是,如果两个Peer都处于这样的状态,他们将完全无法连接到对方。这对于整体速度有着非常不利的影响。\r\n<br />\r\n<br />\r\n对于这个问题,有以下解决方式:对于防火墙,打开用于接收连接的端口(即你在BT客户端中定义的端口);对于NAT,你需要配置NAT服务器使用Basic NAT方式
/*!40000 ALTER TABLE `faq` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `files`
--
DROP TABLE IF EXISTS `files`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `files` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`torrent` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`filename` varchar(255) NOT NULL DEFAULT '' ,
`size` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`),
KEY `torrent` (`torrent`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `files`
--
LOCK TABLES `files` WRITE;
/*!40000 ALTER TABLE `files` DISABLE KEYS */;
/*!40000 ALTER TABLE `files` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `forummods`
--
DROP TABLE IF EXISTS `forummods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `forummods` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`forumid` smallint(5) unsigned NOT NULL,
`userid` mediumint(8) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `forumid` (`forumid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `forummods`
--
LOCK TABLES `forummods` WRITE;
/*!40000 ALTER TABLE `forummods` DISABLE KEYS */;
/*!40000 ALTER TABLE `forummods` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `forums`
--
DROP TABLE IF EXISTS `forums`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `forums` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`sort` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`name` varchar(60) NOT NULL,
`description` varchar(255) NOT NULL DEFAULT '' ,
`minclassread` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`minclasswrite` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`postcount` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`topiccount` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`minclasscreate` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`forid` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `forums`
--
LOCK TABLES `forums` WRITE;
/*!40000 ALTER TABLE `forums` DISABLE KEYS */;
/*!40000 ALTER TABLE `forums` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `friends`
--
DROP TABLE IF EXISTS `friends`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `friends` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL,
`friendid` mediumint(8) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `userfriend` (`userid`,`friendid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `friends`
--
LOCK TABLES `friends` WRITE;
/*!40000 ALTER TABLE `friends` DISABLE KEYS */;
/*!40000 ALTER TABLE `friends` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `fun`
--
DROP TABLE IF EXISTS `fun`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `fun` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`body` text,
`title` varchar(255) NOT NULL DEFAULT '' ,
`status` enum( ' normal ' , ' dull ' , ' notfunny ' , ' funny ' , ' veryfunny ' , ' banned ' ) NOT NULL DEFAULT ' normal ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `fun`
--
LOCK TABLES `fun` WRITE;
/*!40000 ALTER TABLE `fun` DISABLE KEYS */;
/*!40000 ALTER TABLE `fun` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `funds`
--
DROP TABLE IF EXISTS `funds`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `funds` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`usd` decimal(8,2) NOT NULL DEFAULT ' 0 . 00 ' ,
`cny` decimal(8,2) NOT NULL DEFAULT ' 0 . 00 ' ,
`user` mediumint(8) unsigned NOT NULL,
`added` datetime DEFAULT NULL,
`memo` varchar(255) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `funds`
--
LOCK TABLES `funds` WRITE;
/*!40000 ALTER TABLE `funds` DISABLE KEYS */;
/*!40000 ALTER TABLE `funds` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `funvotes`
--
DROP TABLE IF EXISTS `funvotes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `funvotes` (
`funid` mediumint(8) unsigned NOT NULL,
`userid` mediumint(8) unsigned NOT NULL,
`added` datetime DEFAULT NULL,
`vote` enum( ' fun ' , ' dull ' ) NOT NULL DEFAULT ' fun ' ,
PRIMARY KEY (`funid`,`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `funvotes`
--
LOCK TABLES `funvotes` WRITE;
/*!40000 ALTER TABLE `funvotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `funvotes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `invites`
--
DROP TABLE IF EXISTS `invites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `invites` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`inviter` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`invitee` varchar(80) NOT NULL DEFAULT '' ,
`hash` char(32) NOT NULL,
`time_invited` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `hash` (`hash`(3))
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `invites`
--
LOCK TABLES `invites` WRITE;
/*!40000 ALTER TABLE `invites` DISABLE KEYS */;
/*!40000 ALTER TABLE `invites` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iplog`
--
DROP TABLE IF EXISTS `iplog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iplog` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`ip` varchar(64) NOT NULL,
`userid` mediumint(8) unsigned NOT NULL,
`access` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `userid` (`userid`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iplog`
--
LOCK TABLES `iplog` WRITE;
/*!40000 ALTER TABLE `iplog` DISABLE KEYS */;
/*!40000 ALTER TABLE `iplog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `isp`
--
DROP TABLE IF EXISTS `isp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `isp` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `isp`
--
LOCK TABLES `isp` WRITE;
/*!40000 ALTER TABLE `isp` DISABLE KEYS */;
INSERT INTO `isp` VALUES (1, ' 中 国 电 信 ' ),(2, ' 中 国 网 通 ' ),(3, ' 中 国 铁 通 ' ),(4, ' 中 国 移 动 ' ),(5, ' 中 国 联 通 ' ),(6, ' 中 国 教 育 网 ' ),(20, ' Other ' );
/*!40000 ALTER TABLE `isp` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `language`
--
DROP TABLE IF EXISTS `language`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `language` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`lang_name` varchar(50) NOT NULL,
`flagpic` varchar(255) NOT NULL DEFAULT '' ,
`sub_lang` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
`rule_lang` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`site_lang` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`site_lang_folder` varchar(255) NOT NULL DEFAULT '' ,
`trans_state` enum( ' up - to - date ' , ' outdate ' , ' incomplete ' , ' need - new ' , ' unavailable ' ) NOT NULL DEFAULT ' unavailable ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `language`
--
LOCK TABLES `language` WRITE;
/*!40000 ALTER TABLE `language` DISABLE KEYS */;
INSERT INTO `language` VALUES (1, ' Bulgarian ' , ' bulgaria . gif ' ,1,0,0, '' , ' unavailable ' ),(2, ' Croatian ' , ' croatia . gif ' ,1,0,0, '' , ' unavailable ' ),(3, ' Czech ' , ' czechrep . gif ' ,1,0,0, '' , ' unavailable ' ),(4, ' Danish ' , ' denmark . gif ' ,1,0,0, '' , ' unavailable ' ),(5, ' Dutch ' , ' netherlands . gif ' ,1,0,0, '' , ' unavailable ' ),(6, ' English ' , ' uk . gif ' ,1,1,1, ' en ' , ' up - to - date ' ),(7, ' Estonian ' , ' estonia . gif ' ,1,0,0, '' , ' unavailable ' ),(8, ' Finnish ' , ' finland . gif ' ,1,0,0, '' , ' unavailable ' ),(9, ' French ' , ' france . gif ' ,1,0,0, '' , ' unavailable ' ),(10, ' German ' , ' germany . gif ' ,1,0,0, '' , ' unavailable ' ),(11, ' Greek ' , ' greece . gif ' ,1,0,0, '' , ' unavailable ' ),(12, ' Hebrew ' , ' israel . gif ' ,1,0,0, '' , ' unavailable ' ),(13, ' Hungarian ' , ' hungary . gif ' ,1,0,0, '' , ' unavailable ' ),(14, ' Italian ' , ' italy . gif ' ,1,0,0, '' , ' unavailable ' ),(15, ' 日 本 語 ' , ' japan . gif ' ,1,0,0, '' , ' unavailable ' ),(16, ' 한 국 어 ' , ' southkorea . gif ' ,1,0,0, ' ko ' , ' unavailable ' ),(17, ' Norwegian ' , ' norway . gif ' ,1,0,0, '' , ' unavailable ' ),(18, ' Other ' , ' jollyroger . gif ' ,1,0,0, '' , ' unavailable ' ),(19, ' Polish ' , ' poland . gif ' ,1,0,0, '' , ' unavailable ' ),(20, ' Portuguese ' , ' portugal . gif ' ,1,0,0, '' , ' unavailable ' ),(21, ' Romanian ' , ' romania . gif ' ,1,0,0, '' , ' unavailable ' ),(22, ' Russian ' , ' russia . gif ' ,1,0,0, '' , ' unavailable ' ),(23, ' Serbian ' , ' serbia . gif ' ,1,0,0, '' , ' unavailable ' ),(24, ' Slovak ' , ' slovakia . gif ' ,1,0,0, '' , ' unavailable ' ),(25, ' 简 体 中 文 ' , ' china . gif ' ,1,1,1, ' chs ' , ' up - to - date ' ),(26, ' Spanish ' , ' spain . gif ' ,1,0,0, '' , ' unavailable ' ),(27, ' Swedish ' , ' sweden . gif ' ,1,0,0, '' , ' unavailable ' ),(28, ' 繁 體 中 文 ' , ' hongkong . gif ' ,1,1,1, ' cht ' , ' up - to - date ' ),(29, ' Turkish ' , ' turkey . gif ' ,1,0,0, '' , ' unavailable ' ),(30, ' Slovenian ' , ' slovenia . gif ' ,1,0,0, '' , ' unavailable ' ),(31, ' Thai ' , ' thailand . gif ' ,1,0,0, ' th ' , ' unavailable ' );
/*!40000 ALTER TABLE `language` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `links`
--
DROP TABLE IF EXISTS `links`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `links` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`url` varchar(255) NOT NULL,
`title` varchar(50) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `links`
--
LOCK TABLES `links` WRITE;
/*!40000 ALTER TABLE `links` DISABLE KEYS */;
/*!40000 ALTER TABLE `links` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `locations`
--
DROP TABLE IF EXISTS `locations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `locations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`location_main` varchar(200) NOT NULL,
`location_sub` varchar(200) NOT NULL,
`flagpic` varchar(50) DEFAULT NULL,
`start_ip` varchar(20) NOT NULL,
`end_ip` varchar(20) NOT NULL,
`theory_upspeed` int(10) unsigned NOT NULL DEFAULT ' 10 ' ,
`practical_upspeed` int(10) unsigned NOT NULL DEFAULT ' 10 ' ,
`theory_downspeed` int(10) unsigned NOT NULL DEFAULT ' 10 ' ,
`practical_downspeed` int(10) unsigned NOT NULL DEFAULT ' 10 ' ,
`hit` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `locations`
--
LOCK TABLES `locations` WRITE;
/*!40000 ALTER TABLE `locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `locations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `loginattempts`
--
DROP TABLE IF EXISTS `loginattempts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `loginattempts` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ip` varchar(64) NOT NULL DEFAULT '' ,
`added` datetime DEFAULT NULL,
`banned` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`attempts` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`type` enum( ' login ' , ' recover ' ) NOT NULL DEFAULT ' login ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `loginattempts`
--
LOCK TABLES `loginattempts` WRITE;
/*!40000 ALTER TABLE `loginattempts` DISABLE KEYS */;
/*!40000 ALTER TABLE `loginattempts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `media`
--
DROP TABLE IF EXISTS `media`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`sort_index` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `media`
--
LOCK TABLES `media` WRITE;
/*!40000 ALTER TABLE `media` DISABLE KEYS */;
INSERT INTO `media` VALUES (1, ' Blu - ray ' ,0),(2, ' HD DVD ' ,1),(4, ' MiniBD ' ,4),(5, ' HDTV ' ,5),(6, ' DVDR ' ,6),(7, ' Encode ' ,3),(3, ' Remux ' ,2),(8, ' CD ' ,7),(9, ' Track ' ,9);
/*!40000 ALTER TABLE `media` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `messages`
--
DROP TABLE IF EXISTS `messages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `messages` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`sender` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`receiver` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`subject` varchar(128) NOT NULL DEFAULT '' ,
`msg` text,
`unread` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`location` smallint(6) NOT NULL DEFAULT ' 1 ' ,
`saved` enum( ' no ' , ' yes ' ) NOT NULL DEFAULT ' no ' ,
PRIMARY KEY (`id`),
KEY `receiver` (`receiver`),
KEY `sender` (`sender`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `messages`
--
LOCK TABLES `messages` WRITE;
/*!40000 ALTER TABLE `messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `messages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `modpanel`
--
DROP TABLE IF EXISTS `modpanel`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `modpanel` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '' ,
`url` varchar(255) NOT NULL DEFAULT '' ,
`info` varchar(255) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `modpanel`
--
LOCK TABLES `modpanel` WRITE;
/*!40000 ALTER TABLE `modpanel` DISABLE KEYS */;
INSERT INTO `modpanel` VALUES (1, ' Abnormal Upload Speed Detector ' , ' cheaters . php ' , ' See cheaters ' ),(2, ' Duplicate IP Check ' , ' ipcheck . php ' , ' Check for Duplicate IP Users ' ),(3, ' All Clients ( currently ) ' , ' allagents . php ' , ' Show All Clients ( currently downloading / uploading / seeding ) ' ),(4, ' Ad management ' , ' admanage . php ' , ' Manage ads at your site ' ),(5, ' Uploaders ' , ' uploaders . php ' , ' See uploaders stats ' ),(6, ' Stats ' , ' stats . php ' , ' Tracker Stats ' ),(7, ' IP Test ' , ' testip . php ' , ' Test if IP is banned ' ),(8, ' Add Bonus Points ' , ' amountbonus . php ' , ' Add Bonus Points to one or All Users . ' ),(9, ' Clear cache ' , ' clearcache . php ' , ' Clear cache of memcached ' );
/*!40000 ALTER TABLE `modpanel` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `news`
--
DROP TABLE IF EXISTS `news`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `news` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`body` text,
`title` varchar(255) NOT NULL DEFAULT '' ,
`notify` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
PRIMARY KEY (`id`),
KEY `added` (`added`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `news`
--
LOCK TABLES `news` WRITE;
/*!40000 ALTER TABLE `news` DISABLE KEYS */;
/*!40000 ALTER TABLE `news` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `offers`
--
DROP TABLE IF EXISTS `offers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `offers` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`name` varchar(225) NOT NULL,
`descr` text,
`added` datetime DEFAULT NULL,
`allowedtime` datetime DEFAULT NULL,
`yeah` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`against` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`category` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`comments` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`allowed` enum( ' allowed ' , ' pending ' , ' denied ' ) NOT NULL DEFAULT ' pending ' ,
PRIMARY KEY (`id`),
KEY `userid` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `offers`
--
LOCK TABLES `offers` WRITE;
/*!40000 ALTER TABLE `offers` DISABLE KEYS */;
/*!40000 ALTER TABLE `offers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `offervotes`
--
DROP TABLE IF EXISTS `offervotes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `offervotes` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`offerid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`vote` enum( ' yeah ' , ' against ' ) NOT NULL DEFAULT ' yeah ' ,
PRIMARY KEY (`id`),
KEY `userid` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `offervotes`
--
LOCK TABLES `offervotes` WRITE;
/*!40000 ALTER TABLE `offervotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `offervotes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `overforums`
--
DROP TABLE IF EXISTS `overforums`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `overforums` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(60) NOT NULL,
`description` varchar(255) NOT NULL DEFAULT '' ,
`minclassview` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`sort` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `overforums`
--
LOCK TABLES `overforums` WRITE;
/*!40000 ALTER TABLE `overforums` DISABLE KEYS */;
/*!40000 ALTER TABLE `overforums` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `peers`
--
DROP TABLE IF EXISTS `peers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peers` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`torrent` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`peer_id` binary(20) NOT NULL,
`ip` varchar(64) NOT NULL DEFAULT '' ,
`port` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`uploaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`downloaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`to_go` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`seeder` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`started` datetime DEFAULT NULL,
`last_action` datetime DEFAULT NULL,
`prev_action` datetime DEFAULT NULL,
`connectable` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`agent` varchar(60) NOT NULL DEFAULT '' ,
`finishedat` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`downloadoffset` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`uploadoffset` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`passkey` char(32) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`),
KEY `userid` (`userid`),
KEY `torrent` (`torrent`)
2021-01-29 18:13:50 +08:00
) ENGINE=MEMORY DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peers`
--
LOCK TABLES `peers` WRITE;
/*!40000 ALTER TABLE `peers` DISABLE KEYS */;
/*!40000 ALTER TABLE `peers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `pmboxes`
--
DROP TABLE IF EXISTS `pmboxes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pmboxes` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL,
`boxnumber` tinyint(3) unsigned NOT NULL DEFAULT ' 2 ' ,
`name` varchar(15) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `pmboxes`
--
LOCK TABLES `pmboxes` WRITE;
/*!40000 ALTER TABLE `pmboxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `pmboxes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `pollanswers`
--
DROP TABLE IF EXISTS `pollanswers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pollanswers` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pollid` mediumint(8) unsigned NOT NULL,
`userid` mediumint(8) unsigned NOT NULL,
`selection` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `pollid` (`pollid`),
KEY `selection` (`selection`),
KEY `userid` (`userid`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `pollanswers`
--
LOCK TABLES `pollanswers` WRITE;
/*!40000 ALTER TABLE `pollanswers` DISABLE KEYS */;
/*!40000 ALTER TABLE `pollanswers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `polls`
--
DROP TABLE IF EXISTS `polls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `polls` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`added` datetime DEFAULT NULL,
`question` varchar(255) NOT NULL DEFAULT '' ,
`option0` varchar(40) NOT NULL DEFAULT '' ,
`option1` varchar(40) NOT NULL DEFAULT '' ,
`option2` varchar(40) NOT NULL DEFAULT '' ,
`option3` varchar(40) NOT NULL DEFAULT '' ,
`option4` varchar(40) NOT NULL DEFAULT '' ,
`option5` varchar(40) NOT NULL DEFAULT '' ,
`option6` varchar(40) NOT NULL DEFAULT '' ,
`option7` varchar(40) NOT NULL DEFAULT '' ,
`option8` varchar(40) NOT NULL DEFAULT '' ,
`option9` varchar(40) NOT NULL DEFAULT '' ,
`option10` varchar(40) NOT NULL DEFAULT '' ,
`option11` varchar(40) NOT NULL DEFAULT '' ,
`option12` varchar(40) NOT NULL DEFAULT '' ,
`option13` varchar(40) NOT NULL DEFAULT '' ,
`option14` varchar(40) NOT NULL DEFAULT '' ,
`option15` varchar(40) NOT NULL DEFAULT '' ,
`option16` varchar(40) NOT NULL DEFAULT '' ,
`option17` varchar(40) NOT NULL DEFAULT '' ,
`option18` varchar(40) NOT NULL DEFAULT '' ,
`option19` varchar(40) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `polls`
--
LOCK TABLES `polls` WRITE;
/*!40000 ALTER TABLE `polls` DISABLE KEYS */;
/*!40000 ALTER TABLE `polls` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `posts`
--
DROP TABLE IF EXISTS `posts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `posts` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`topicid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`body` text,
`ori_body` text,
`editedby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`editdate` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `userid` (`userid`),
KEY `topicid_id` (`topicid`,`id`),
KEY `added` (`added`),
FULLTEXT KEY `body` (`body`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `posts`
--
LOCK TABLES `posts` WRITE;
/*!40000 ALTER TABLE `posts` DISABLE KEYS */;
/*!40000 ALTER TABLE `posts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `processings`
--
DROP TABLE IF EXISTS `processings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `processings` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`sort_index` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `processings`
--
LOCK TABLES `processings` WRITE;
/*!40000 ALTER TABLE `processings` DISABLE KEYS */;
INSERT INTO `processings` VALUES (1, ' Raw ' ,0),(2, ' Encode ' ,0);
/*!40000 ALTER TABLE `processings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `prolinkclicks`
--
DROP TABLE IF EXISTS `prolinkclicks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `prolinkclicks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`ip` varchar(64) NOT NULL DEFAULT '' ,
`added` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `prolinkclicks`
--
LOCK TABLES `prolinkclicks` WRITE;
/*!40000 ALTER TABLE `prolinkclicks` DISABLE KEYS */;
/*!40000 ALTER TABLE `prolinkclicks` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `readposts`
--
DROP TABLE IF EXISTS `readposts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `readposts` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`topicid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`lastpostread` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`),
KEY `topicid` (`topicid`),
KEY `userid` (`userid`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `readposts`
--
LOCK TABLES `readposts` WRITE;
/*!40000 ALTER TABLE `readposts` DISABLE KEYS */;
/*!40000 ALTER TABLE `readposts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `regimages`
--
DROP TABLE IF EXISTS `regimages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `regimages` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`imagehash` varchar(32) NOT NULL DEFAULT '' ,
`imagestring` varchar(8) NOT NULL DEFAULT '' ,
`dateline` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `regimages`
--
LOCK TABLES `regimages` WRITE;
/*!40000 ALTER TABLE `regimages` DISABLE KEYS */;
/*!40000 ALTER TABLE `regimages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `reports`
--
DROP TABLE IF EXISTS `reports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `reports` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`addedby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`reportid` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`type` enum( ' torrent ' , ' user ' , ' offer ' , ' request ' , ' post ' , ' comment ' , ' subtitle ' ) NOT NULL DEFAULT ' torrent ' ,
`reason` varchar(255) NOT NULL DEFAULT '' ,
`dealtby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`dealtwith` tinyint(1) NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `reports`
--
LOCK TABLES `reports` WRITE;
/*!40000 ALTER TABLE `reports` DISABLE KEYS */;
/*!40000 ALTER TABLE `reports` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `rules`
--
DROP TABLE IF EXISTS `rules`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rules` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`lang_id` smallint(5) unsigned NOT NULL DEFAULT ' 6 ' ,
`title` varchar(255) NOT NULL,
`text` text,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `rules`
--
LOCK TABLES `rules` WRITE;
/*!40000 ALTER TABLE `rules` DISABLE KEYS */;
INSERT INTO `rules` VALUES (1,25, ' 总 则 - < font class = striking > 不 遵 守 这 些 将 导 致 帐 号 被 封 ! < / font > ' , ' [ * ] 请 不 要 做 管 理 员 明 文 禁 止 的 事 情 。 \ r \ n [ * ] 不 允 许 发 送 垃 圾 信 息 。 \ r \ n [ * ] 账 号 保 留 规 则 : \ r \ n 1 . [ b ] Veteran User [ / b ] 及 以 上 等 级 用 户 会 永 远 保 留 ; \ r \ n 2 . [ b ] Elite User [ / b ] 及 以 上 等 级 用 户 封 存 账 号 ( 在 [ url = usercp . php ? action = personal ] 控 制 面 板 [ / url ] ) 后 不 会 被 删 除 帐 号 ; \ r \ n 3 . 封 存 账 号 的 用 户 连 续 400 天 不 登 录 将 被 删 除 帐 号 ; \ r \ n 4 . 未 封 存 账 号 的 用 户 连 续 150 天 不 登 录 将 被 删 除 帐 号 ; \ r \ n 5 . 没 有 流 量 的 用 户 ( 即 上 传 / 下 载 数 据 都 为 0 ) 连 续 100 天 不 登 录 将 被 删 除 帐 号 。 \ r \ n [ * ] 一 切 作 弊 的 帐 号 会 被 封 , 请 勿 心 存 侥 幸 。 \ r \ n [ * ] 注 册 多 个 [ site ] 账 号 的 用 户 将 被 禁 止 。 \ r \ n [ * ] 不 要 把 本 站 的 种 子 文 件 上 传 到 其 他 Tracker ! ( 具 体 请 看 [ url = faq . php # 38 ] [ b ] 常 见 问 题 [ / b ] [ / url ] ) \ r \ n [ * ] 第 一 次 在 论 坛 或 服 务 器 中 的 捣 乱 行 为 会 受 到 警 告 , 第 二 次 您 将 永 远 无 缘 [ site ] 。 ' ),(2,25, ' 下 载 规 则 - < font class = striking > 违 规 将 会 失 去 下 载 权 限 ! < / font > ' , ' [ * ] 过 低 的 分 享 率 会 导 致 严 重 的 后 果 , 包 括 禁 止 帐 号 。 详 见 [ url = faq . php # 22 ] 常 见 问 题 [ / url ] 。 \ r \ n [ * ] 种 子 促 销 规 则 : \ r \ n [ * ] 随 机 促 销 ( 种 子 上 传 后 系 统 自 动 随 机 设 为 促 销 ) : \ r \ n [ * ] 10 % 的 概 率 成 为 “ [ color = # 7 c7ff6 ] [ b ] 50 % 下 载 [ / b ] [ / color ] ” ; \ r \ n [ * ] 5 % 的 概 率 成 为 “ [ color = # f0cc00 ] [ b ] 免 费 [ / b ] [ / color ] ” ; \ r \ n [ * ] 5 % 的 概 率 成 为 “ [ color = # aaaaaa ] [ b ] 2 x上传 [ / b ] [ / color ] ” ; \ r \ n [ * ] 3 % 的 概 率 成 为 “ [ color = # 7 ad6ea ] [ b ] 50 % 下 载 & 2 x上传 [ / b ] [ / color ] ” ; \ r \ n [ * ] 1 % 的 概 率 成 为 “ [ color = # 99 cc66 ] [ b ] 免 费 & 2 x上传 [ / b ] [ / color ] ” 。 \ r \ n [ * ] 文 件 总 体 积 大 于 20 GB的种子将自动成为 “ [ color = # f0cc00 ] [ b ] 免 费 [ / b ] [ / color ] ” 。 \ r \ n [ * ] Blu - ray Disk , HD DVD原盘将成为 “ [ color = # f0cc00 ] [ b ] 免 费 [ / b ] [ / color ] ” 。 \ r \ n [ * ] 电 视 剧 等 每 季 的 第 一 集 将 成 为 “ [ color = # f0cc00 ] [ b ] 免 费 [ / b ] [ / color ] ” 。 \ r \ n [ * ] 关 注 度 高 的 种 子 将 被 设 置 为 促 销 ( 由 管 理 员 定 夺 ) 。 \ r \ n [ * ] 促 销 时 限 : \ r \ n [ * ] 除 了 “ [ color = # aaaaaa ] [ b ] 2 x上传 [ / b ] [ / color ] ” 以 外 , 其 余 类 型 的 促 销 限 时 7 天 ( 自 种 子 发 布 时 起 ) ; \ r \ n [ * ] “ [ color = # aaaaaa ] [ b ] 2 x上传 [ / b ] [ / color ] ” 无 时 限 。 \ r \ n [ * ] 所 有 种 子 在 发 布 1 个 月 后 将 自 动 永 久 成 为 “ [ color = # aaaaaa ] [ b ] 2 x上传 [ / b ] [ / color ] ” 。 \ r \ n [ * ] 我 们 也 将 不 定 期 开 启 全 站 [ color = # f0cc00 ] [ b ] 免 费 [ / b ] [ / color ] , 届 时 尽 情 狂 欢 吧 ~ : mml : : mml : : mml : \ r \ n [ * ] 你 只 能 使 用 允 许 的 BT客户端下载本站资源 。 详 见 [ url = faq . php # 29 ] 常 见 问 题 [ / url ] 。 ' ),(4,25, ' 论 坛 总 则 - < font class = striking > 请 遵 循 以 下 的 守 则 , 违 规 会 受 到 警 告 ! < / font > ' , ' [ * ] 禁 止 攻 击 、 挑 动 他 人 的 言 辞 。 \ r \ n [ * ] 禁 止 恶 意 灌 水 或 发 布 垃 圾 信 息 。 请 勿 在 论 坛 非 Water Jar版块发布无意义主题或回复 ( 如 纯 表 情 ) 等 。 \ r \ n [ * ] 不 要 为 了 获 取 魔 力 值 而 大 肆 灌 水 。 \ r \ n [ * ] 禁 止 在 标 题 或 正 文 使 用 脏 话 。 \ r \ n [ * ] 不 要 讨 论 禁 忌 、 政 治 敏 感 或 当 地 法 律 禁 止 的 话 题 。 \ r \ n [ * ] 禁 止 任 何 基 于 种 族 、 国 家 、 民 族 、 肤 色 、 宗 教 、 性 别 、 年 龄 、 性 取 向 、 身 体 或 精 神 障 碍 的 歧 视 性 言 辞 。 违 规 将 导 致 账 号 永 久 性 禁 用 。 \ r \ n [ * ] 禁 止 挖 坟 ( 所 有 挖 坟 帖 都 要 被 删 掉 ) 。 \ r \ n [ * ] 禁 止 重 复 发 帖 。 \ r \ n [ * ] 请 确 保 问 题 发 布 在 相 对 应 的 板 块 。 \ r \ n [ * ] 365 天 无 新 回 复 的 主 题 将 被 系 统 自 动 锁 定 . \ r \ n ' ),(6,25, ' 头 像 使 用 规 定 - < font class = striking > 请 尽 量 遵 守 以 下 规 则 < / font > ' , ' [ * ] 允 许 的 格 式 为 . gif , . jpg , 和 . png 。 \ r \ n [ * ] 图 片 大 小 不 能 超 过 150 KB , 为 了 统 一 , 系 统 会 调 整 头 像 宽 度 到 150 像 素 大 小 ( 浏 览 器 会 把 图 片 调 整 成 合 适 的 大 小 , 小 图 片 将 被 拉 伸 , 而 过 大 的 图 片 只 会 浪 费 带 宽 和 CPU ) 。 \ r \ n [ * ] 请 不 要 使 用 可 能 引 起 别 人 反 感 的
/* !40000 ALTER TABLE `rules` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `schools`
--
DROP TABLE IF EXISTS ` schools ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` schools ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 50 ) DEFAULT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `schools`
--
LOCK TABLES ` schools ` WRITE ;
/* !40000 ALTER TABLE `schools` DISABLE KEYS */ ;
INSERT INTO ` schools ` VALUES ( 1 , ' 南京农业大学 ' ) , ( 2 , ' 中山大学 ' ) , ( 3 , ' 中国石油大学 ' ) , ( 4 , ' 云南大学 ' ) , ( 5 , ' 河海大学 ' ) , ( 6 , ' 南开大学 ' ) , ( 7 , ' 兰州大学 ' ) , ( 8 , ' 合肥工业大学 ' ) , ( 9 , ' 上海大学 ' ) , ( 10 , ' 安徽大学 ' ) , ( 11 , ' 中国海洋大学 ' ) , ( 12 , ' 复旦大学 ' ) , ( 13 , ' 西北大学 ' ) , ( 14 , ' 郑州大学 ' ) , ( 15 , ' 四川大学 ' ) , ( 16 , ' 华中科技大学 ' ) , ( 17 , ' 天津大学 ' ) , ( 18 , ' 山东大学 ' ) , ( 19 , ' 中央民族大学 ' ) , ( 20 , ' 苏州大学 ' ) , ( 21 , ' 重庆大学 ' ) , ( 22 , ' 东北农业大学 ' ) , ( 23 , ' 北京工业大学 ' ) , ( 24 , ' 湖南师范大学 ' ) , ( 25 , ' 东北大学 ' ) , ( 26 , ' 电子科技大学 ' ) , ( 27 , ' 西安电子科技大学 ' ) , ( 28 , ' 北京化工大学 ' ) , ( 29 , ' 南京航空航天大学 ' ) , ( 30 , ' 南京理工大学 ' ) , ( 31 , ' 西北工业大学 ' ) , ( 32 , ' 天津医科大学 ' ) , ( 33 , ' 北京林业大学 ' ) , ( 34 , ' 华南师范大学 ' ) , ( 35 , ' 浙江大学 ' ) , ( 36 , ' 长安大学 ' ) , ( 37 , ' 武汉理工大学 ' ) , ( 38 , ' 河北工业大学 ' ) , ( 39 , ' 南京师范大学 ' ) , ( 40 , ' 中国农业大学 ' ) , ( 41 , ' 厦门大学 ' ) , ( 42 , ' 第二军医大学 ' ) , ( 43 , ' 北京理工大学 ' ) , ( 44 , ' 北京大学 ' ) , ( 45 , ' 上海外国语大学 ' ) , ( 46 , ' 北京科技大学 ' ) , ( 47 , ' 西北农林科技大学 ' ) , ( 48 , ' 中南大学 ' ) , ( 49 , ' 华南理工大学 ' ) , ( 50 , ' 武汉大学 ' ) , ( 51 , ' 福州大学 ' ) , ( 52 , ' 同济大学 ' ) , ( 53 , ' 中国传媒大学 ' ) , ( 54 , ' 湖南大学 ' ) , ( 55 , ' 上海财经大学 ' ) , ( 56 , ' 国防科学技术大学 ' ) , ( 57 , ' 吉林大学 ' ) , ( 58 , ' 大连理工大学 ' ) , ( 59 , ' 中国人民大学 ' ) , ( 60 , ' 上海交通大学 ' ) , ( 61 , ' 西安交通大学 ' ) , ( 62 , ' 江南大学 ' ) , ( 63 , ' 南京大学 ' ) , ( 64 , ' 南昌大学 ' ) , ( 65 , ' 太原理工大学 ' ) , ( 66 , ' 中国地质大学 ' ) , ( 67 , ' 清华大学 ' ) , ( 68 , ' 广西大学 ' ) , ( 69 , ' 中国矿业大学 ' ) , ( 70 , ' 四川农业大学 ' ) , ( 71 , ' 东北师范大学 ' ) , ( 72 , ' 哈尔滨工业大学 ' ) , ( 73 , ' 北京航空航天大学 ' ) , ( 74 , ' 北京交通大学 ' ) , ( 75 , ' 西南交通大学 ' ) , ( 76 , ' 中国科学技术大学 ' ) , ( 77 , ' 北京外国语大学 ' ) , ( 78 , ' 北京邮电大学 ' ) , ( 79 , ' 西安建筑科技大学 ' ) , ( 80 , ' 新疆大学 ' ) , ( 81 , ' 东南大学 ' ) , ( 82 , ' 对外经济贸易大学 ' ) , ( 83 , ' 北京中医药大学 ' ) , ( 84 , ' 暨南大学 ' ) , ( 85 , ' 北京语言大学 ' ) , ( 86 , ' 华中师范大学 ' ) , ( 87 , ' 北京师范大学 ' ) , ( 88 , ' 哈尔滨工程大学 ' ) , ( 89 , ' 内蒙古大学 ' ) , ( 90 , ' 东华大学 ' ) , ( 91 , ' 解放军信息工程大学 ' ) , ( 92 , ' 上海交通大学医学院 ' ) , ( 93 , ' 华东理工大学 ' ) , ( 94 , ' 第四军医大学 ' ) , ( 95 , ' 大连海事大学 ' ) , ( 96 , ' 华东师范大学 ' ) , ( 97 , ' 辽宁大学 ' ) , ( 98 , ' 深圳大学 ' ) , ( 99 , ' 中央音乐学院 ' ) , ( 100 , ' 中国协和医科大学 ' ) ;
/* !40000 ALTER TABLE `schools` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `searchbox`
--
DROP TABLE IF EXISTS ` searchbox ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` searchbox ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 30 ) DEFAULT NULL ,
` showsubcat ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showsource ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showmedium ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showcodec ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showstandard ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showprocessing ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showteam ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` showaudiocodec ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` catsperrow ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 7 ' ,
` catpadding ` smallint ( 5 ) unsigned NOT NULL DEFAULT ' 25 ' ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `searchbox`
--
LOCK TABLES ` searchbox ` WRITE ;
/* !40000 ALTER TABLE `searchbox` DISABLE KEYS */ ;
INSERT INTO ` searchbox ` VALUES ( 4 , ' chd ' , 1 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 10 , 7 ) ;
/* !40000 ALTER TABLE `searchbox` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `secondicons`
--
DROP TABLE IF EXISTS ` secondicons ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` secondicons ` (
` id ` smallint ( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
` source ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` medium ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` codec ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` standard ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` processing ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` team ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` audiocodec ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 30 ) NOT NULL ,
` class_name ` varchar ( 255 ) DEFAULT NULL ,
` image ` varchar ( 255 ) NOT NULL ,
PRIMARY KEY ( ` id ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `secondicons`
--
LOCK TABLES ` secondicons ` WRITE ;
/* !40000 ALTER TABLE `secondicons` DISABLE KEYS */ ;
INSERT INTO ` secondicons ` VALUES ( 1 , 0 , 1 , 1 , 0 , 0 , 0 , 0 , ' Blu-ray/H.264 ' , NULL , ' bdh264.png ' ) , ( 2 , 0 , 1 , 2 , 0 , 0 , 0 , 0 , ' Blu-ray/VC-1 ' , NULL , ' bdvc1.png ' ) , ( 3 , 0 , 1 , 4 , 0 , 0 , 0 , 0 , ' Blu-ray/MPEG-2 ' , NULL , ' bdmpeg2.png ' ) , ( 4 , 0 , 2 , 1 , 0 , 0 , 0 , 0 , ' HD DVD/H.264 ' , NULL , ' hddvdh264.png ' ) , ( 5 , 0 , 2 , 2 , 0 , 0 , 0 , 0 , ' HD DVD/VC-1 ' , NULL , ' hddvdvc1.png ' ) , ( 6 , 0 , 2 , 4 , 0 , 0 , 0 , 0 , ' HD DVD/MPEG-2 ' , NULL , ' hddvdmpeg2.png ' ) , ( 7 , 0 , 3 , 1 , 0 , 0 , 0 , 0 , ' Remux/H.264 ' , NULL , ' remuxh264.png ' ) , ( 8 , 0 , 3 , 2 , 0 , 0 , 0 , 0 , ' Remux/VC-1 ' , NULL , ' remuxvc1.png ' ) , ( 9 , 0 , 3 , 4 , 0 , 0 , 0 , 0 , ' Remux/MPEG-2 ' , NULL , ' remuxmpeg2.png ' ) , ( 10 , 0 , 4 , 0 , 0 , 0 , 0 , 0 , ' AVCHD ' , NULL , ' avchd.png ' ) , ( 11 , 0 , 5 , 1 , 0 , 0 , 0 , 0 , ' HDTV/H.264 ' , NULL , ' hdtvh264.png ' ) , ( 12 , 0 , 5 , 4 , 0 , 0 , 0 , 0 , ' HDTV/MPEG-2 ' , NULL , ' hdtvmpeg2.png ' ) , ( 13 , 0 , 6 , 0 , 0 , 0 , 0 , 0 , ' DVDR ' , NULL , ' dvdr.png ' ) , ( 14 , 0 , 7 , 1 , 0 , 0 , 0 , 0 , ' Rip/H.264 ' , NULL , ' riph264.png ' ) , ( 15 , 0 , 7 , 3 , 0 , 0 , 0 , 0 , ' Rip/Xvid ' , NULL , ' ripxvid.png ' ) , ( 16 , 0 , 8 , 5 , 0 , 0 , 0 , 0 , ' CD/FLAC ' , NULL , ' cdflac.png ' ) , ( 17 , 0 , 8 , 6 , 0 , 0 , 0 , 0 , ' CD/APE ' , NULL , ' cdape.png ' ) , ( 18 , 0 , 8 , 7 , 0 , 0 , 0 , 0 , ' CD/DTS ' , NULL , ' cddts.png ' ) , ( 19 , 0 , 8 , 9 , 0 , 0 , 0 , 0 , ' CD/Other ' , NULL , ' cdother.png ' ) , ( 20 , 0 , 9 , 5 , 0 , 0 , 0 , 0 , ' Extract/FLAC ' , NULL , ' extractflac.png ' ) , ( 21 , 0 , 9 , 7 , 0 , 0 , 0 , 0 , ' Extract/DTS ' , NULL , ' extractdts.png ' ) , ( 22 , 0 , 9 , 8 , 0 , 0 , 0 , 0 , ' Extract/AC-3 ' , NULL , ' extractac3.png ' ) ;
/* !40000 ALTER TABLE `secondicons` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `settings`
--
DROP TABLE IF EXISTS ` settings ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` settings ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 255 ) NOT NULL ,
` value ` mediumtext ,
` created_at ` datetime DEFAULT NULL ,
` updated_at ` datetime DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` uniqe_name ` ( ` name ` )
2021-01-29 18:13:50 +08:00
) ENGINE = MyISAM DEFAULT CHARSET = utf8 ;
2021-01-25 20:02:27 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `settings`
--
LOCK TABLES ` settings ` WRITE ;
/* !40000 ALTER TABLE `settings` DISABLE KEYS */ ;
2021-01-30 14:18:34 +08:00
INSERT INTO ` settings ` VALUES ( 1 , ' basic.SITENAME ' , ' NexusPHP ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 2 , ' main.site_online ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 3 , ' main.max_torrent_size ' , ' 1048576 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 4 , ' main.announce_interval ' , ' 1800 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 5 , ' main.annintertwoage ' , ' 7 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 6 , ' main.annintertwo ' , ' 2700 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 7 , ' main.anninterthreeage ' , ' 30 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 8 , ' main.anninterthree ' , ' 3600 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 9 , ' main.signup_timeout ' , ' 259200 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 10 , ' main.minoffervotes ' , ' 15 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 11 , ' main.offervotetimeout ' , ' 259200 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 12 , ' main.offeruptimeout ' , ' 86400 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 13 , ' main.maxsubsize ' , ' 3145728 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 14 , ' main.postsperpage ' , ' 10 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 15 , ' main.topicsperpage ' , ' 20 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 16 , ' main.torrentsperpage ' , ' 50 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 17 , ' main.maxnewsnum ' , ' 3 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 18 , ' main.max_dead_torrent_time ' , ' 21600 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 19 , ' main.maxusers ' , ' 50000 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 20 , ' main.torrent_dir ' , ' torrents ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 21 , ' main.iniupload ' , ' 0 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 22 , ' main.SITEEMAIL ' , ' nobody@gmail.com ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 23 , ' main.ACCOUNTANTID ' , ' 1 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 24 , ' main.ALIPAYACCOUNT ' , ' ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 25 , ' main.PAYPALACCOUNT ' , ' ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 26 , ' main.SLOGAN ' , ' The Ultimate File Sharing Experience ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 27 , ' main.icplicense ' , ' ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 28 , ' main.autoclean_interval_one ' , ' 900 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 29 , ' main.autoclean_interval_two ' , ' 1800 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 30 , ' main.autoclean_interval_three ' , ' 3600 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 31 , ' main.autoclean_interval_four ' , ' 43200 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 32 , ' main.autoclean_interval_five ' , ' 648000 ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 33 , ' main.reportemail ' , ' nobody@gmail.com ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 34 , ' main.invitesystem ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 35 , ' main.registration ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 36 , ' main.showhotmovies ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 37 , ' main.showclassicmovies ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 38 , ' main.showimdbinfo ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 39 , ' main.enablenfo ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 40 , ' main.enableschool ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 41 , ' main.restrictemail ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 42 , ' main.showpolls ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 43 , ' main.showstats ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 44 , ' main.showlastxtorrents ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 45 , ' main.showtrackerload ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 46 , ' main.showshoutbox ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 47 , ' main.showfunbox ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 48 , ' main.showoffer ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 49 , ' main.sptime ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 50 , ' main.showhelpbox ' , ' no ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 51 , ' main.enablebitbucket ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 52 , ' main.smalldescription ' , ' yes ' , ' 2021-01-29 10:17:23 ' , ' 2021-01-29 10:17:23 ' ) , ( 53 , ' main.altname ' , ' no ' , ' 2021-01-29 10:17
2021-01-25 20:02:27 +08:00
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `shoutbox`
--
DROP TABLE IF EXISTS `shoutbox`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shoutbox` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`date` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`text` text NOT NULL,
`type` enum( ' sb ' , ' hb ' ) NOT NULL DEFAULT ' sb ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `shoutbox`
--
LOCK TABLES `shoutbox` WRITE;
/*!40000 ALTER TABLE `shoutbox` DISABLE KEYS */;
/*!40000 ALTER TABLE `shoutbox` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sitelog`
--
DROP TABLE IF EXISTS `sitelog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sitelog` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`added` datetime DEFAULT NULL,
`txt` text NOT NULL,
`security_level` enum( ' normal ' , ' mod ' ) NOT NULL DEFAULT ' normal ' ,
PRIMARY KEY (`id`),
KEY `added` (`added`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sitelog`
--
LOCK TABLES `sitelog` WRITE;
/*!40000 ALTER TABLE `sitelog` DISABLE KEYS */;
/*!40000 ALTER TABLE `sitelog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `snatched`
--
DROP TABLE IF EXISTS `snatched`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `snatched` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`torrentid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`ip` varchar(64) NOT NULL DEFAULT '' ,
`port` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`uploaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`downloaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`to_go` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`seedtime` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`leechtime` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`last_action` datetime DEFAULT NULL,
`startdat` datetime DEFAULT NULL,
`completedat` datetime DEFAULT NULL,
`finished` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
PRIMARY KEY (`id`),
KEY `torrentid_userid` (`torrentid`,`userid`),
KEY `userid` (`userid`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `snatched`
--
LOCK TABLES `snatched` WRITE;
/*!40000 ALTER TABLE `snatched` DISABLE KEYS */;
/*!40000 ALTER TABLE `snatched` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sources`
--
DROP TABLE IF EXISTS `sources`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sources` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`sort_index` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sources`
--
LOCK TABLES `sources` WRITE;
/*!40000 ALTER TABLE `sources` DISABLE KEYS */;
INSERT INTO `sources` VALUES (1, ' Blu - ray ' ,0),(2, ' HD DVD ' ,0),(3, ' DVD ' ,0),(4, ' HDTV ' ,0),(5, ' TV ' ,0),(6, ' Other ' ,0);
/*!40000 ALTER TABLE `sources` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `staffmessages`
--
DROP TABLE IF EXISTS `staffmessages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `staffmessages` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`sender` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`msg` text,
`subject` varchar(128) NOT NULL DEFAULT '' ,
`answeredby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`answered` tinyint(1) NOT NULL DEFAULT ' 0 ' ,
`answer` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `staffmessages`
--
LOCK TABLES `staffmessages` WRITE;
/*!40000 ALTER TABLE `staffmessages` DISABLE KEYS */;
/*!40000 ALTER TABLE `staffmessages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `standards`
--
DROP TABLE IF EXISTS `standards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `standards` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`sort_index` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `standards`
--
LOCK TABLES `standards` WRITE;
/*!40000 ALTER TABLE `standards` DISABLE KEYS */;
INSERT INTO `standards` VALUES (1, ' 1080 p ' ,0),(2, ' 1080 i ' ,0),(3, ' 720 p ' ,0),(4, ' SD ' ,0);
/*!40000 ALTER TABLE `standards` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `stylesheets`
--
DROP TABLE IF EXISTS `stylesheets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `stylesheets` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(255) NOT NULL DEFAULT '' ,
`name` varchar(64) NOT NULL DEFAULT '' ,
`addicode` text,
`designer` varchar(50) NOT NULL DEFAULT '' ,
`comment` varchar(255) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `stylesheets`
--
LOCK TABLES `stylesheets` WRITE;
/*!40000 ALTER TABLE `stylesheets` DISABLE KEYS */;
INSERT INTO `stylesheets` VALUES (2, ' styles / BlueGene / ' , ' Blue Gene ' , '' , ' Zantetsu ' , ' HDBits clone ' ),(3, ' styles / BlasphemyOrange / ' , ' Blasphemy Orange ' , '' , ' Zantetsu ' , ' Bit - HDTV clone ' ),(4, ' styles / Classic / ' , ' Classic ' , '' , ' Zantetsu ' , ' TBSource original mod ' ),(6, ' styles / DarkPassion / ' , ' Dark Passion ' , '' , ' Zantetsu ' , '' ),(7, ' styles / BambooGreen / ' , ' Bamboo Green ' , '' , ' Xia Zuojie ' , ' Baidu Hi clone ' );
/*!40000 ALTER TABLE `stylesheets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `subs`
--
DROP TABLE IF EXISTS `subs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `subs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`torrent_id` mediumint(8) unsigned NOT NULL,
`lang_id` smallint(5) unsigned NOT NULL,
`title` varchar(255) NOT NULL DEFAULT '' ,
`filename` varchar(255) NOT NULL DEFAULT '' ,
`added` datetime DEFAULT NULL,
`size` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`uppedby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`anonymous` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`hits` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`ext` varchar(10) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`),
KEY `torrentid_langid` (`torrent_id`,`lang_id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `subs`
--
LOCK TABLES `subs` WRITE;
/*!40000 ALTER TABLE `subs` DISABLE KEYS */;
/*!40000 ALTER TABLE `subs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `suggest`
--
DROP TABLE IF EXISTS `suggest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `suggest` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`keywords` varchar(255) NOT NULL DEFAULT '' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`adddate` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `keywords` (`keywords`(4)),
KEY `adddate` (`adddate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `suggest`
--
LOCK TABLES `suggest` WRITE;
/*!40000 ALTER TABLE `suggest` DISABLE KEYS */;
/*!40000 ALTER TABLE `suggest` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sysoppanel`
--
DROP TABLE IF EXISTS `sysoppanel`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sysoppanel` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '' ,
`url` varchar(255) NOT NULL DEFAULT '' ,
`info` varchar(255) NOT NULL DEFAULT '' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sysoppanel`
--
LOCK TABLES `sysoppanel` WRITE;
/*!40000 ALTER TABLE `sysoppanel` DISABLE KEYS */;
INSERT INTO `sysoppanel` VALUES (1, ' Delete disabled users ' , ' deletedisabled . php ' , ' Delete all disabled users ' ),(2, ' Manage tracker forum ' , ' forummanage . php ' , ' Edit / Delete forum ' ),(3, ' MySQL Stats ' , ' mysql_stats . php ' , ' See MySql stats ' ),(4, ' Mass mailer ' , ' massmail . php ' , ' Send e - mail to all users on the tracker ' ),(5, ' Do cleanup ' , ' docleanup . php ' , ' Do cleanup functions ' ),(6, ' Ban System ' , ' bans . php ' , ' Ban / Unban IP ' ),(7, ' Failed Logins ' , ' maxlogin . php ' , ' Show Failed Login Attempts ' ),(8, ' Bitbucket ' , ' bitbucketlog . php ' , ' Bitbucket Log ' ),(9, ' Ban EMAIL address ' , ' bannedemails . php ' , ' Ban EMAILs stop registration . ' ),(10, ' Allow EMAIL address ' , ' allowedemails . php ' , ' Allow EMAIL registration . ' ),(11, ' Location ' , ' location . php ' , ' Manage location and location speed ' ),(12, ' Add Upload ' , ' amountupload . php ' , ' Add upload to certain classes ' );
/*!40000 ALTER TABLE `sysoppanel` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `teams`
--
DROP TABLE IF EXISTS `teams`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `teams` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`sort_index` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `teams`
--
LOCK TABLES `teams` WRITE;
/*!40000 ALTER TABLE `teams` DISABLE KEYS */;
INSERT INTO `teams` VALUES (1, ' HDS ' ,0),(2, ' CHD ' ,0),(3, ' MySiLU ' ,0),(4, ' WiKi ' ,0),(5, ' Other ' ,0);
/*!40000 ALTER TABLE `teams` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `thanks`
--
DROP TABLE IF EXISTS `thanks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `thanks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`torrentid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`),
UNIQUE KEY `torrentid_id` (`torrentid`,`id`),
KEY `torrentid_userid` (`torrentid`,`userid`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `thanks`
--
LOCK TABLES `thanks` WRITE;
/*!40000 ALTER TABLE `thanks` DISABLE KEYS */;
/*!40000 ALTER TABLE `thanks` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `topics`
--
DROP TABLE IF EXISTS `topics`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `topics` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`userid` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`subject` varchar(128) NOT NULL,
`locked` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`forumid` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`firstpost` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`lastpost` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`sticky` enum( ' no ' , ' yes ' ) NOT NULL DEFAULT ' no ' ,
`hlcolor` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`views` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY (`id`),
KEY `userid` (`userid`),
KEY `subject` (`subject`),
KEY `forumid_lastpost` (`forumid`,`lastpost`),
KEY `forumid_sticky_lastpost` (`forumid`,`sticky`,`lastpost`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `topics`
--
LOCK TABLES `topics` WRITE;
/*!40000 ALTER TABLE `topics` DISABLE KEYS */;
/*!40000 ALTER TABLE `topics` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `torrents`
--
DROP TABLE IF EXISTS `torrents`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `torrents` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`info_hash` binary(20) NOT NULL,
`name` varchar(255) NOT NULL DEFAULT '' ,
`filename` varchar(255) NOT NULL DEFAULT '' ,
`save_as` varchar(255) NOT NULL DEFAULT '' ,
`descr` text,
`small_descr` varchar(255) NOT NULL DEFAULT '' ,
`ori_descr` text,
`category` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`source` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`medium` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`codec` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`standard` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`processing` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`team` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`audiocodec` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`size` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`added` datetime DEFAULT NULL,
`type` enum( ' single ' , ' multi ' ) NOT NULL DEFAULT ' single ' ,
`numfiles` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`comments` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`views` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`hits` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`times_completed` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`leechers` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`seeders` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`last_action` datetime DEFAULT NULL,
`visible` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`banned` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`owner` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`nfo` blob,
`sp_state` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
`promotion_time_type` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`promotion_until` datetime DEFAULT NULL,
`anonymous` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`url` int(10) unsigned DEFAULT NULL,
`pos_state` enum( ' normal ' , ' sticky ' ) NOT NULL DEFAULT ' normal ' ,
`cache_stamp` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`picktype` enum( ' hot ' , ' classic ' , ' recommended ' , ' normal ' ) NOT NULL DEFAULT ' normal ' ,
`picktime` datetime DEFAULT NULL,
`last_reseed` datetime DEFAULT NULL,
`pt_gen` mediumtext,
PRIMARY KEY (`id`),
UNIQUE KEY `info_hash` (`info_hash`),
KEY `owner` (`owner`),
KEY `visible_pos_id` (`visible`,`pos_state`,`id`),
KEY `url` (`url`),
KEY `category_visible_banned` (`category`,`visible`,`banned`),
KEY `visible_banned_pos_id` (`visible`,`banned`,`pos_state`,`id`),
FULLTEXT KEY `name` (`name`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `torrents`
--
LOCK TABLES `torrents` WRITE;
/*!40000 ALTER TABLE `torrents` DISABLE KEYS */;
/*!40000 ALTER TABLE `torrents` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `torrents_state`
--
DROP TABLE IF EXISTS `torrents_state`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `torrents_state` (
`global_sp_state` tinyint(3) unsigned NOT NULL DEFAULT ' 1 '
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `torrents_state`
--
LOCK TABLES `torrents_state` WRITE;
/*!40000 ALTER TABLE `torrents_state` DISABLE KEYS */;
INSERT INTO `torrents_state` VALUES (1);
/*!40000 ALTER TABLE `torrents_state` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `uploadspeed`
--
DROP TABLE IF EXISTS `uploadspeed`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `uploadspeed` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `uploadspeed`
--
LOCK TABLES `uploadspeed` WRITE;
/*!40000 ALTER TABLE `uploadspeed` DISABLE KEYS */;
INSERT INTO `uploadspeed` VALUES (1, ' 64 kbps ' ),(2, ' 128 kbps ' ),(3, ' 256 kbps ' ),(4, ' 512 kbps ' ),(5, ' 768 kbps ' ),(6, ' 1 Mbps ' ),(7, ' 1 . 5 Mbps ' ),(8, ' 2 Mbps ' ),(9, ' 3 Mbps ' ),(10, ' 4 Mbps ' ),(11, ' 5 Mbps ' ),(12, ' 6 Mbps ' ),(13, ' 7 Mbps ' ),(14, ' 8 Mbps ' ),(15, ' 9 Mbps ' ),(16, ' 10 Mbps ' ),(17, ' 48 Mbps ' ),(18, ' 100 Mbit ' );
/*!40000 ALTER TABLE `uploadspeed` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(40) NOT NULL DEFAULT '' ,
`passhash` varchar(32) NOT NULL DEFAULT '' ,
`secret` varbinary(20) NOT NULL,
`email` varchar(80) NOT NULL DEFAULT '' ,
`status` enum( ' pending ' , ' confirmed ' ) NOT NULL DEFAULT ' pending ' ,
`added` datetime DEFAULT NULL,
`last_login` datetime DEFAULT NULL,
`last_access` datetime DEFAULT NULL,
`last_home` datetime DEFAULT NULL,
`last_offer` datetime DEFAULT NULL,
`forum_access` datetime DEFAULT NULL,
`last_staffmsg` datetime DEFAULT NULL,
`last_pm` datetime DEFAULT NULL,
`last_comment` datetime DEFAULT NULL,
`last_post` datetime DEFAULT NULL,
`last_browse` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`last_music` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`last_catchup` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`editsecret` varbinary(20) NOT NULL,
`privacy` enum( ' strong ' , ' normal ' , ' low ' ) NOT NULL DEFAULT ' normal ' ,
`stylesheet` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
`caticon` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
`fontsize` enum( ' small ' , ' medium ' , ' large ' ) NOT NULL DEFAULT ' medium ' ,
`info` text,
`acceptpms` enum( ' yes ' , ' friends ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`commentpm` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`ip` varchar(64) NOT NULL DEFAULT '' ,
`class` tinyint(3) unsigned NOT NULL DEFAULT ' 1 ' ,
`max_class_once` tinyint(3) NOT NULL DEFAULT ' 1 ' ,
`avatar` varchar(255) NOT NULL DEFAULT '' ,
`uploaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`downloaded` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`seedtime` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`leechtime` bigint(20) unsigned NOT NULL DEFAULT ' 0 ' ,
`title` varchar(30) NOT NULL DEFAULT '' ,
`country` smallint(5) unsigned NOT NULL DEFAULT ' 107 ' ,
`notifs` varchar(500) DEFAULT NULL,
`modcomment` text,
`enabled` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`avatars` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`donor` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`donated` decimal(8,2) NOT NULL DEFAULT ' 0 . 00 ' ,
`donated_cny` decimal(8,2) NOT NULL DEFAULT ' 0 . 00 ' ,
`donoruntil` datetime DEFAULT NULL,
`warned` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`warneduntil` datetime DEFAULT NULL,
`noad` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`noaduntil` datetime DEFAULT NULL,
`torrentsperpage` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`topicsperpage` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`postsperpage` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`clicktopic` enum( ' firstpage ' , ' lastpage ' ) NOT NULL DEFAULT ' firstpage ' ,
`deletepms` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`savepms` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`showhot` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`showclassic` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`support` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`picker` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`stafffor` varchar(255) NOT NULL,
`supportfor` varchar(255) NOT NULL,
`pickfor` varchar(255) NOT NULL,
`supportlang` varchar(50) NOT NULL,
`passkey` varchar(32) NOT NULL DEFAULT '' ,
`promotion_link` varchar(32) DEFAULT NULL,
`uploadpos` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`forumpost` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`downloadpos` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`clientselect` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`signatures` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`signature` varchar(800) NOT NULL DEFAULT '' ,
`lang` smallint(5) unsigned NOT NULL DEFAULT ' 6 ' ,
`cheat` smallint(6) NOT NULL DEFAULT ' 0 ' ,
`download` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`upload` int(10) unsigned NOT NULL DEFAULT ' 0 ' ,
`isp` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`invites` smallint(5) unsigned NOT NULL DEFAULT ' 0 ' ,
`invited_by` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`gender` enum( ' Male ' , ' Female ' , ' N / A ' ) NOT NULL DEFAULT ' N / A ' ,
`vip_added` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`vip_until` datetime DEFAULT NULL,
`seedbonus` decimal(10,1) NOT NULL DEFAULT ' 0 . 0 ' ,
`charity` decimal(10,1) NOT NULL DEFAULT ' 0 . 0 ' ,
`bonuscomment` text,
`parked` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`leechwarn` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`leechwarnuntil` datetime DEFAULT NULL,
`lastwarned` datetime DEFAULT NULL,
`timeswarned` tinyint(3) unsigned NOT NULL DEFAULT ' 0 ' ,
`warnedby` mediumint(8) unsigned NOT NULL DEFAULT ' 0 ' ,
`sbnum` smallint(5) unsigned NOT NULL DEFAULT ' 70 ' ,
`sbrefresh` smallint(5) unsigned NOT NULL DEFAULT ' 120 ' ,
`hidehb` enum( ' yes ' , ' no ' ) DEFAULT ' no ' ,
`showimdb` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`showdescription` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`showcomment` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`showclienterror` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`showdlnotice` tinyint(1) NOT NULL DEFAULT ' 1 ' ,
`tooltip` enum( ' minorimdb ' , ' medianimdb ' , ' off ' ) NOT NULL DEFAULT ' off ' ,
`shownfo` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`timetype` enum( ' timeadded ' , ' timealive ' ) DEFAULT ' timealive ' ,
`appendsticky` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`appendnew` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`appendpromotion` enum( ' highlight ' , ' word ' , ' icon ' , ' off ' ) DEFAULT ' icon ' ,
`appendpicked` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`dlicon` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`bmicon` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`showsmalldescr` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`showcomnum` enum( ' yes ' , ' no ' ) DEFAULT ' yes ' ,
`showlastcom` enum( ' yes ' , ' no ' ) DEFAULT ' no ' ,
`showlastpost` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' no ' ,
`pmnum` tinyint(3) unsigned NOT NULL DEFAULT ' 10 ' ,
`school` smallint(5) unsigned NOT NULL DEFAULT ' 35 ' ,
`showfb` enum( ' yes ' , ' no ' ) NOT NULL DEFAULT ' yes ' ,
`page` varchar(255) DEFAULT '' ,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`),
KEY `status_added` (`status`,`added`),
KEY `ip` (`ip`),
KEY `uploaded` (`uploaded`),
KEY `downloaded` (`downloaded`),
KEY `country` (`country`),
KEY `last_access` (`last_access`),
KEY `enabled` (`enabled`),
KEY `warned` (`warned`),
KEY `cheat` (`cheat`),
KEY `class` (`class`),
KEY `passkey` (`passkey`(8))
2021-01-29 18:13:50 +08:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2021-01-25 20:02:27 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2021-01-30 14:18:34 +08:00
-- Dump completed on 2021-01-30 14:14:07