Ok now how do I implement that into my file?
Do I use this:
Code:
$query = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "download AS download
LEFT JOIN " . TABLE_PREFIX . "download_screenshots AS screenshots ON (screenshots.file_id = download.id)");
while ($dl = $db->fetch_array($query))
{
$id = $dl['id'];
$version = $dl['version'];
$name = $dl['name'];
$size = $dl['size'];
$description = $dl['description'];
$username = $dl['username'];
$userid = $dl['userid'];
$sid = $dl['sid'];
$screenshot = $dl['sdata'];
$this->vbmksize($size);
eval('$display_shots .= "' . fetch_template('bfc_download_screenshot_display') . '";');
eval('$display_bit .= "' . fetch_template('bfc_download_bit') . '";');
}
Notice the bold red code. Is that how it gets used? vBulletin functions are still new to me, sorry.