
MYSQL
ALTER TABLE `torrents` ADD `description` varchar(120) NOT NULL default '';
Now open torrents-upload.php
Search for
print ("<TR><TD align=right>" . TNAME . ": </td><td align=right><input type=text name=name size=60 value=" . $_POST['name'] . ">....................
add after
print ("<TR><TD align=right>Small Description: </td><td align=right><input type=text name=description size=60 value=" . $_POST['description'] . "></td></tr>");
Search for
$langid = (0 + $_POST["lang"]);
add after
$smalldescr = $_POST["description"];
now search for
$ret = mysql_query("INSERT INTO torrents (filename, owner, name, descr,................
And insert
description,
after
descr,
and now in the same query search for
".sqlesc($descr).",
and after that add this
".sqlesc($smalldescr).",
go to backent/functions.php
search for
$dispname = "<b>".$smallname."</b>";
add after
$descrs = $row["description"];
search for
<a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$id&hit=1\">$dispname</a>
replace with
<a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$id&hit=1\">$dispname</a><br>$$descrs
open index.php
search for
$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name
.................
add after torrents.name
torrents.description,
open torrents.php
search for
$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name,..........
add after torrents.name
torrents.description,
