2
you can take a look at modules/mydownloads/blocks/mydownloads_top.php
$result = $xoopsDB->query("SELECT lid, cid, title, [color=ff0000]version,[/color] date, hits FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE status>0 ORDER BY ".$options[0]." DESC",$options[1],0);
.
.
.
.
[color=ff0000]$download['version'] = $myrow['version'];[/color]
then you can put the <{$download.version}> in your template...
hope that make sense..