I think if you changed line 617 in your postlist.php script from this:
code:
SELECT t1.B_Number,t1.B_Parent,t1.B_Username,t1.B_Posted,t1.B_Last_Post,t1.B_Subject,t1.B_Main,t1.B_Status,t1.B_Approved,t1.B_Icon,t1.B_Reged,t1.B_Counter,t1.B_Sticky,t1.B_Replies,t1.B_Rating,t1.B_Rates,t1.B_RealRating,t2.U_Color,t2.U_Status
to this:
code:
SELECT t1.B_File,t1.B_Number,t1.B_Parent,t1.B_Username,t1.B_Posted,t1.B_Last_Post,t1.B_Subject,t1.B_Main,t1.B_Status,t1.B_Approved,t1.B_Icon,t1.B_Reged,t1.B_Counter,t1.B_Sticky,t1.B_Replies,t1.B_Rating,t1.B_Rates,t1.B_RealRating,t2.U_Color,t2.U_Status
and then changed line 690 from this:
code:
list($Number,$Parent,$Username,$Posted,$Last_Post,$Subject,$Main,$Open,$Approved,$icon,$Reged,$Counter,$Sticky,$Replies,$Rating,$Rates,$stars,$Color,$PostStatus) = $dbh -> fetch_array($sth);
to this:
code:
list($File,$Number,$Parent,$Username,$Posted,$Last_Post,$Subject,$Main,$Open,$Approved,$icon,$Reged,$Counter,$Sticky,$Replies,$Rating,$Rates,$stars,$Color,$PostStatus) = $dbh -> fetch_array($sth);
and then just above this on line 873:
code:
// Setup the postrow array
add this:
code:
if ($File) {
$Subject = "<img src="{$config['images'}/disk.gif" border="0" alt="$File" /> $Subject";
}
and that should do the trick.
You could also turn the disk.gif into a link to the file too.
Example:
code:
$Subject = "<a href="{$config['fileurl']}/$File"><img src="{$config['images'}/disk.gif" border="0" alt="$File" /></a> $Subject";
(ps. I haven't actually done this so it may not work... please let me know if it does... lol)