PHP Code:
ALTER TABLE `torrents` ADD `double` enum('yes','no') DEFAULT 'no';
find
PHP Code:
$res = mysql_query
add
find
PHP Code:
$free = $torrent["free"];
above add
PHP Code:
$double = $torrent["double"];
find
PHP Code:
if ($free == 'yes') $downthis = 0;
above add
PHP Code:
if ($double == 'yes') $downthis = 2;
new to bittorrant
add
PHP Code:
$thisisdouble = ($row[double]=="yes" ? "<img src='pic/double.png' align='left' />" : "");
browse.php
add
PHP Code:
torrents.double,
not tested