mirror of
https://github.com/torrentpier/torrentpier.git
synced 2024-12-15 00:21:17 -08:00
f584cf5d29
* Minor improvements * Updated * Update functions.php * Updated * Update .gitignore * Updated * Update CHANGELOG.md
269 lines
9.9 KiB
Smarty
269 lines
9.9 KiB
Smarty
<table class="forumline dl_list">
|
|
|
|
<col class="row1">
|
|
<col class="row1">
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$('table.tablesorter').tablesorter({
|
|
sortList: [[4,1]]
|
|
});
|
|
});
|
|
|
|
// callseed
|
|
ajax.callseed = function (topic_id) {
|
|
ajax.exec({
|
|
action: 'callseed',
|
|
topic_id: topic_id,
|
|
});
|
|
};
|
|
ajax.callback.callseed = function (data) {
|
|
alert(data.response);
|
|
};
|
|
</script>
|
|
|
|
<tr>
|
|
<td colspan="2" class="catTitle"><a href="{DL_LIST_HREF}">
|
|
{L_DL_LIST_AND_TORRENT_ACTIVITY}
|
|
</a></td>
|
|
</tr>
|
|
|
|
<!-- BEGIN dl_users -->
|
|
<!-- BEGIN users_row -->
|
|
<tr>
|
|
<td width="5%" class="nowrap"><span title="{dl_users.users_row.DL_OPTION_NAME}: {dl_users.users_row.DL_COUNT}"><b>{dl_users.users_row.DL_OPTION_NAME}</b></span></td>
|
|
<td width="95%" class="tLeft med pad_4"><div style="{dl_users.users_row.DL_USERS_DIV_STYLE}"><b>{dl_users.users_row.DL_OPTION_USERS}</b></div></td>
|
|
</tr>
|
|
<!-- END users_row -->
|
|
<!-- END dl_users -->
|
|
|
|
<!-- BEGIN dl_counts -->
|
|
<tr>
|
|
<td colspan="2">
|
|
<table class="borderless bCenter mrg_4">
|
|
<!-- BEGIN count_row -->
|
|
<tr>
|
|
<td><b>{dl_counts.count_row.DL_OPTION_NAME}:</b></td>
|
|
<td>[ <b>{dl_counts.count_row.DL_OPTION_USERS}</b> ]</td>
|
|
</tr>
|
|
<!-- END count_row -->
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- END dl_counts -->
|
|
|
|
<!-- IF SHOW_DL_LIST_TOR_INFO -->
|
|
<tr>
|
|
<td colspan="2" class="borderless bCenter pad_8">
|
|
{L_SIZE}: <b>{TOR_SIZE}</b> |
|
|
{L_IS_REGISTERED}: <b>{TOR_LONGEVITY}</b> |
|
|
{L_DOWNLOADED}: <b title="{L_COMPLETED}: {TOR_COMPLETED}">{TOR_DOWNLOAD_COUNT}</b>
|
|
</td>
|
|
</tr>
|
|
<!-- ENDIF / SHOW_DL_LIST_TOR_INFO -->
|
|
|
|
<!-- IF SHOW_DL_LIST && SHOW_TOR_ACT -->
|
|
<!-- BEGIN dl_list_none -->
|
|
<tr>
|
|
<td colspan="2" class="pad_6">{L_SHOW_DL_LIST}: {L_NONE}</td>
|
|
</tr>
|
|
<!-- END dl_list_none -->
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF SHOW_TOR_ACT -->
|
|
<!-- IF S_MODE_COUNT -->
|
|
<tr>
|
|
<td colspan="2" class="<!-- IF SHOW_DL_LIST -->row2<!-- ELSE -->row1<!-- ENDIF --> pad_2">
|
|
<!-- IF not SEED_COUNT -->
|
|
<p class="mrg_10">{SEEDER_LAST_SEEN} {SEEDER_USERNAME}</p>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF PEER_EXIST -->
|
|
<div class="mrg_4 pad_4">
|
|
<!-- IF SEED_COUNT || LEECH_COUNT -->
|
|
<!-- IF SEED_COUNT -->
|
|
<span class="seed">{L_SEEDERS}: <b>{SEED_COUNT}</b> [ {TOR_SPEED_UP} ]</span>
|
|
<!-- ENDIF -->
|
|
<!-- IF LEECH_COUNT -->
|
|
<span class="leech">{L_LEECHERS}: <b>{LEECH_COUNT}</b> [ {TOR_SPEED_DOWN} ]</span>
|
|
<!-- ENDIF -->
|
|
<!-- ENDIF / SEED_COUNT || LEECH_COUNT -->
|
|
|
|
<!-- IF PEERS_FULL_LINK -->
|
|
<a href="{SPMODE_FULL_HREF}" class="gen">{L_SPMODE_FULL}</a>
|
|
<!-- ENDIF -->
|
|
</div>
|
|
<!-- ENDIF -->
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- ELSEIF S_MODE_NAMES -->
|
|
|
|
<!-- IF SEED_LIST -->
|
|
<tr>
|
|
<td width="5%" class="seed"><b>{L_SEEDERS}</b><img width="116" class="spacer" src="{SPACER}" alt="" /></td>
|
|
<td width="95%" class="seedsmall tLeft">{SEED_LIST}</td>
|
|
</tr>
|
|
<!-- ELSE -->
|
|
<tr>
|
|
<td colspan="2" class="row2 pad_4">
|
|
<p class="mrg_10">{SEEDER_LAST_SEEN} {SEEDER_USERNAME}</p>
|
|
</td>
|
|
</tr>
|
|
<!-- ENDIF -->
|
|
<!-- IF LEECH_LIST -->
|
|
<tr>
|
|
<td width="5%" class="leech"><b>{L_LEECHERS}</b><img width="116" class="spacer" src="{SPACER}" alt="" /></td>
|
|
<td width="95%" class="leechsmall tLeft">{LEECH_LIST}</td>
|
|
</tr>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- ELSEIF S_MODE_FULL -->
|
|
|
|
<tr>
|
|
<td colspan="2">
|
|
|
|
<!-- IF SEEDER_LAST_SEEN -->
|
|
<div id="last_seed_info" class="row5 w60 mrg_4 bCenter">
|
|
<p class="mrg_10">{SEEDER_LAST_SEEN} {SEEDER_USERNAME}</p>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF PEER_EXIST -->
|
|
<div id="full_details" class="bCenter" style="width: 97%;{PEERS_DIV_STYLE}">
|
|
|
|
<!-- BEGIN sfull -->
|
|
<a name="seeders"></a>
|
|
<table class="borderless w60 bCenter">
|
|
<tr>
|
|
<td><p class="floatL" style="margin-top: 4px;"><b class="seed">{L_SEEDERS}</b>:</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="pad_0">
|
|
|
|
<table cellpadding="0" class="peers w100 med tablesorter" id="seeders-tbl">
|
|
<thead>
|
|
<tr>
|
|
<th class="{sorter: 'text'}"><b class="tbs-text">{L_DL_USER}</b><img width="130" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}" title="{L_DL_FORMULA}"><b class="tbs-text">{L_DL_ULR}</b><img width="40" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_UL}</b><img width="70" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_DL}</b><img width="70" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_UL_SPEED}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_DL_SPEED}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- BEGIN iphead -->
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_IP_ADDRESS}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- END iphead -->
|
|
<!-- BEGIN porthead -->
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_PORT}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- END porthead -->
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_DL_CLIENT}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_COUNTRY}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
</tr>
|
|
</thead>
|
|
<!-- BEGIN srow -->
|
|
<tr{sfull.srow.ROW_BGR}>
|
|
<td class="tLeft" title="{sfull.srow.UPD_EXP_TIME}"><b>{sfull.srow.NAME}</b></td>
|
|
<td>{sfull.srow.COMPL_PRC}</td>
|
|
<td><u>{sfull.srow.UP_TOTAL_RAW}</u>{sfull.srow.UP_TOTAL}</td>
|
|
<td><u>{sfull.srow.DOWN_TOTAL_RAW}</u>{sfull.srow.DOWN_TOTAL}</td>
|
|
<td class="seedmed"><u>{sfull.srow.SPEED_UP_RAW}</u>{sfull.srow.SPEED_UP}</td>
|
|
<td class="leechmed"><u>{sfull.srow.SPEED_DOWN_RAW}</u>{sfull.srow.SPEED_DOWN}</td>
|
|
<!-- BEGIN ip -->
|
|
<td>{sfull.srow.ip.IP}</td>
|
|
<!-- END ip -->
|
|
<!-- BEGIN port -->
|
|
<td>{sfull.srow.port.PORT}</td>
|
|
<!-- END port -->
|
|
<td>{sfull.srow.PEER_ID}</td>
|
|
<td>{sfull.srow.COUNTRY}</td>
|
|
</tr>
|
|
<!-- END srow -->
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- END sfull -->
|
|
|
|
<!-- BEGIN lfull -->
|
|
<a name="leechers"></a>
|
|
<table class="borderless w60 bCenter">
|
|
<tr>
|
|
<td><p class="floatL" style="margin-top: 4px;"><b class="leech">{L_LEECHERS}</b>:</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="pad_0">
|
|
|
|
<table cellpadding="0" class="peers w100 med tablesorter" id="leechers-tbl">
|
|
<thead>
|
|
<tr>
|
|
<th class="{sorter: 'text'}"><b class="tbs-text">{L_DL_USER}</b><img width="130" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}" title="{L_DL_PERCENT}"><b class="tbs-text">%</b><img width="40" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_UL}</b><img width="70" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_DL}</b><img width="70" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_UL_SPEED}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_DL_SPEED}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- BEGIN iphead -->
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_IP_ADDRESS}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- END iphead -->
|
|
<!-- BEGIN porthead -->
|
|
<th class="{sorter: 'digit'}"><b class="tbs-text">{L_DL_PORT}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<!-- END porthead -->
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_DL_CLIENT}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
<th class="{sorter: false}"><b class="tbs-text">{L_COUNTRY}</b><img width="75" class="spacer" src="{SPACER}" alt="" /></th>
|
|
</tr>
|
|
</thead>
|
|
<!-- BEGIN lrow -->
|
|
<tr{lfull.lrow.ROW_BGR}>
|
|
<td class="tLeft" title="{lfull.lrow.UPD_EXP_TIME}"><b>{lfull.lrow.NAME}</b></td>
|
|
<td title="{lfull.lrow.TOR_RATIO}">{lfull.lrow.COMPL_PRC}</td>
|
|
<td><u>{lfull.lrow.UP_TOTAL_RAW}</u>{lfull.lrow.UP_TOTAL}</td>
|
|
<td><u>{lfull.lrow.DOWN_TOTAL_RAW}</u>{lfull.lrow.DOWN_TOTAL}</td>
|
|
<td class="seedmed"><u>{lfull.lrow.SPEED_UP_RAW}</u>{lfull.lrow.SPEED_UP}</td>
|
|
<td class="leechmed"><u>{lfull.lrow.SPEED_DOWN_RAW}</u>{lfull.lrow.SPEED_DOWN}</td>
|
|
<!-- BEGIN ip -->
|
|
<td>{lfull.lrow.ip.IP}</td>
|
|
<!-- END ip -->
|
|
<!-- BEGIN port -->
|
|
<td>{lfull.lrow.port.PORT}</td>
|
|
<!-- END port -->
|
|
<td>{lfull.lrow.PEER_ID}</td>
|
|
<td>{lfull.lrow.COUNTRY}</td>
|
|
</tr>
|
|
<!-- END lrow -->
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- END lfull -->
|
|
|
|
<div class="med tCenter mrg_4 warnColor1">{L_DL_INFO}</div>
|
|
|
|
</div><!--/full_details-->
|
|
<!-- ENDIF / PEER_EXIST -->
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- ENDIF / S_MODE_FULL -->
|
|
<!-- ENDIF / SHOW_TOR_ACT -->
|
|
|
|
<!-- IF LOGGED_IN -->
|
|
<tr>
|
|
<td colspan="2" class="row3 pad_4">
|
|
<!-- IF DL_BUTTONS -->
|
|
<form method="POST" action="{S_DL_ACTION}">{DL_HIDDEN_FIELDS}
|
|
<!-- IF DL_BUT_WILL --><input type="submit" name="dl_set_will" value="{L_DLWILL}" class="liteoption" /> <!-- ENDIF -->
|
|
<!-- IF DL_BUT_DOWN --><input type="submit" name="dl_set_down" value="{L_DLDOWN}" class="liteoption" /> <!-- ENDIF -->
|
|
<!-- IF DL_BUT_COMPL --><input type="submit" name="dl_set_complete" value="{L_DLCOMPLETE}" class="liteoption" /> <!-- ENDIF -->
|
|
<!-- IF DL_BUT_CANCEL --><input type="submit" name="dl_set_cancel" value="{L_DLCANCEL}" class="liteoption" /><!-- ENDIF -->
|
|
</form>
|
|
<!-- ENDIF -->
|
|
<!-- IF CALL_SEED --><input onclick="ajax.callseed({TOPIC_ID}); return false;" type="button" value="{L_CALLSEED}" class="liteoption"/> <!-- ENDIF -->
|
|
</td>
|
|
</tr>
|
|
<!-- ENDIF -->
|
|
|
|
</table>
|
|
<div class="spacer_6"></div>
|