inside torrents-details.php
if ($curuser['class'] == number_of_vip_group) {
echo "link_for_download";
} else {
echo "You can't download this torrent".
}
This is for all torrents, if you want to have for specific torrents, you have to create a new sql field in torrents and then set checkbox into torrents-edit.php which will set yes/no for vip torrents then just get from sql something like:
if ($row['vip_torrent'] == 'yes') {
echo 'link';
} else {
echo 'you can't download this torrent.';
}
This should give you an idea how to do it.