Here is a file you have downloaded but not rated: ';
var_dump($file);
}
else echo ' There are no files you have downloaded and not rated';
if ($ratedfiles) foreach ($ratedfiles as $file) {
echo ' Here is a file you have downloaded and rated: ';
var_dump($file);
}
else echo ' There are no files you have downloaded and rated';
}
function listFile ($file, $rate) {
$infolink = $this->repository->RemositoryFunctionURL('fileinfo',$file->id);
if ($file->icon == '') $infolink .= $this->repository->RemositoryImageURL('stuff1.gif');
else $infolink .= $this->repository->RemositoryImageURL('file_icons/'.$file->icon);
$infolink .= $file->filetitle.'';
if ($rate) {
echo <<
$infolink
You downloaded this item on $downdate. Please rate this item for us and maybe
you could leave a comment for the benefit of other users?