<table class="petab" >
<colgroup>
	<col width="50pt">
	<col width="60pt">
	<col width="30pt">
	<col width="50pt">
	<col width="50pt">
	<col width="50pt">
	<col width="80pt">
	<col width="400pt">
	<col width="50pt">
 	<col width="60pt" span="4" />
</colgroup>
<thead><tr>
	<th >Name</th>
	<th >Client</th>
	<th >Req</th>
	<th >{user_key_Pieces}</th>
	<th >I</th>
	<th >choked</th>
	<th >{user_key_Progress}</th>
	<th >{user_key_Parts}</th>
	<th >%</th>
	<th >{user_key_ulrate}</th>	
	<th >{user_key_dlrate}</th>
	<th >{user_key_uploaded}</th>
	<th >{user_key_downloaded}</th>
</tr></thead>
<tbody> 
{iterator_torrents_peer_template}
</tbody> 		

##
## next table shows the relevant total value for each torrent of all peers
##

<tfoot><tr>
	<td >Total</td>
	<td >&nbsp;</td>
	<td >{peers_total_pieces_requested}</td>
	<td title="{user_key_tooltip_torrents_peers_ptpa}" >{peers_total_pieces_available_by_image}</td>
 	<td >&nbsp;</td>
 	<td >&nbsp;</td>
 	<td >
		<table class="pbar" cellspacing="0"  width="{peers_total_progressbar_size}%"><tr>
			<td><div >&nbsp;</div></td></tr>
		</table></td>
	<td title="{user_key_tooltip_torrents_peers_pBar}" ><img class="picbar" width="100%" height="10" src="?themes={user_key_theme_name}&image=3&metainfohash={peers_torrent_InfoHash}&width=326"/></td>
	<td title="{user_key_tooltip_torrents_peers_ptpap}" >{peers_total_pieces_available_percent_by_image} %</td>
	<td >{peers_total_ulrate}</td>	
	<td >{peers_total_dlrate}</td>
	<td >{peers_total_ultotal}</td>
	<td >{peers_total_dltotal}</td>
</tr></tfoot>	
</table>

<table class="petab" >
<colgroup>
	<col width="100pt">
	<col width="60pt">
	<col width="60pt">
	<col width="60pt">
	<col width="100%">
</colgroup>
<thead><tr>
	<th >Superseed:</th>
	<th >&nbsp;</th>
	<th >&nbsp;</th>
	<th >&nbsp;</th>
	<th >&nbsp;</th>	
</tr></thead>
<tbody> 
<tr>
	<td >&nbsp;{peers_superseed_value}&nbsp;</td>
	<td ><div class="supsed" >
		<form method="POST" action="?themes={user_key_theme_name}&p={peers_torrent_InfoHash}">
			<input type="hidden" name="suptor" value="{peers_torrent_InfoHash}">
			<input type="hidden" name="supseed" value="{peers_superseed_inverse_value}">
			<input type="submit" class="supsedB" name="" value="switch {peers_superseed_inverse_value}">
		</form>
		</div></td>
	<td class="supsed"><div class="supsed" >
		<form method="POST" action="?themes={user_key_theme_name}&p={peers_torrent_InfoHash}">
			<input type="hidden" name="suptor" value="{peers_torrent_InfoHash}">
			<input type="hidden" name="supref" value="true">
			<input type="submit" class="supsedB" name="" value="reset">
		</form>
		</div></td>
	<td class="supsed"><div class="supsed" >
		<form method="POST" action="?themes={user_key_theme_name}&p={peers_torrent_InfoHash}">
			<input type="hidden" name="suptor" value="{peers_torrent_InfoHash}">
			<input type="hidden" name="supav" value="true">
			<input type="submit" class="supsedB" name="" value="reset AV">
		</form>
		</div></td>
##	<td >&nbsp;</td>
</tr>
<tr>
	<td >Blocked: </td>
	<td  colspan="4"><img class="picbar" width="100%" height="10" src="?themes={user_key_theme_name}&image=5&metainfohash={peers_torrent_InfoHash}&width=326"/></td>
##	<td > </td>
##	<td > </td>
</tr>
	<td >Visible: </td>
	<td colspan="4"><img class="picbar" width="100%" height="10" src="?themes={user_key_theme_name}&image=6&metainfohash={peers_torrent_InfoHash}&width=326"/></td>
##	<td > </td>
##	<td > </td>
</tr>
</tbody> 
</table>