/
info.html
106 lines (95 loc) · 3.5 KB
/
info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{% extends 'layout.html' %}
{% block title %}{{info.name}} Magnet Downloads - CiLiBaBa{% endblock %}
{% block metas %}
{{block.super}}
<meta name="keywords" content="{{keywords|join:','}},磁力链接,CiLiBaBa,Magnet Downloads" />
<meta name="description" content="{{info.name}} magnet links and torrent files." />
{% endblock %}
{% block content %}
<div class="container">
<div class="div-ads" style="margin-top: -10px; ">
</div>
<h4>{{info.name}}</h4>
<table>
<tr>
<th class="col-lg-2">Creation Time</th>
<td>{{info.create_time}}</td>
</tr>
<tr>
<th class="col-lg-2">Last Access Time</th>
<td>{{info.last_seen}}</td>
</tr>
<tr>
<th class="col-lg-2">File Size</th>
<td>{{info.length | filesizeformat}}</td>
</tr>
<tr>
<th class="col-lg-2">Keywords</th>
<td>
{% for kw in keywords %}
<a alt="{{kw}} 磁力搜索" href="/search/{{kw|urlencode}}/">{{kw}}</a>
{% endfor %}
</td>
</tr>
<tr>
<th class="col-lg-2">Total Requests</th>
<td>{{info.requests}}</td>
</tr>
<tr>
<th class="col-lg-2">Total Files</th>
<td>{{info.files|length}}</td>
</tr>
<tr>
<th class="col-lg-2">Magnet Link</th>
<td>
{% if info.extra.blacklist %}
<p style="color:red;">
Sorry! The related magnet link for this resource is deleted.
</p>
{% else %}
<a target="_blank" rel="nofollow" href="{{magnet_url}}">magnet:?xt=urn:btih:{{info.info_hash}}</a>
<a target="_blank" ref="nofollow" href="{{magnet_url}}"><span class="glyphicon glyphicon-download-alt"></span> Download (磁力链接)</a>
<a class="title x-play" rel="nofollow"
href="http://pan.baidu.com/disk/home?ssbc_magnet={{info.info_hash}}"
data-url="http://pan.baidu.com/disk/home?ssbc_magnet={{info.info_hash}}"
target="_blank">
<span class="glyphicon glyphicon-play"></span> Play (在线观看)</a>
{% endif %}
</td>
</tr>
</table>
<!--
<a alt="download 2345" href="http://download.2345.cn/silence/2345Explorer_333561_silence.exe"><img src="/static/gaoqing.png"></a>
-->
<h4>File List</h4>
<div class="files">
<ul>
{% if info.files %}
{% for y in info.files %}
<li>{{y.path}} {{y.length|filesizeformat}}</li>
{% endfor %}
{% else %}
<li>{{info.name}} {{info.length|filesizeformat}}</li>
{% endif %}
</ul>
</div>
<h4>Download Torrent</h4>
<div>
If you want to get the torrent file or original data of {{info.name}}, please use uTorrent, BitTorrent or Thunder.<br/>
<a rel="nofollow" href="{{download_url}}" alt="Get {{info.name}}" target="_blank">Click here to locate the torrent file of {{info.name}}</a>
</div>
<h4>Copyright Infringement</h4>
<div>
If the content above is not authorized, please contact us via contact[AT]cilibaba.com.
</div>
</div>
{% include 'foot.html' %}
{% endblock %}
{% block scripts %}
{{block.super}}
<script>
$.get("{% url 'top_log'%}?type=hash&hash={{info.id}}");
</script>
{% endblock %}