Exemple #1
0
for ($i = 0, $n = count($this->item->torrent_files); $i < $n; $i++) {
    $this->torrent_file =& $this->item->torrent_files[$i];
    ?>
					<tr class="<?php 
    echo "torrent_file" . $k;
    ?>
">
						<td width="90%"><?php 
    echo htmlspecialchars($this->torrent_file->filename);
    ?>
</td>
						<?php 
    if ($params->get('enable_filetypes') == 1) {
        ?>
						<td nowrap align="center">&nbsp;<?php 
        TrackerHelper::getFileImage($this->torrent_file->filename);
        ?>
&nbsp;</td>
						<?php 
    }
    ?>
						<td nowrap align="right">&nbsp;<?php 
    echo TrackerHelper::make_size($this->torrent_file->size);
    ?>
&nbsp;</td>
					</tr>
					<?php 
    $k = 1 - $k;
}
?>
				</table>