-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewmoviefull.tpl
executable file
·242 lines (240 loc) · 10.4 KB
/
viewmoviefull.tpl
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<div class="header">
<h2>View > <strong>Movie</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ View Movie
</ol>
</div>
</div>
{if $results|@count > 0}
<div class="box-body">
{foreach $results as $result}
{if !empty($result->id)}
<div class="well well-sm">
<div id="moviefull" style="min-height:340px;">
{if $result->cover == 1}
<img class="pull-right" style="margin-right:50px; max-height:278px;"
alt="{$result->title|escape:"htmlall"} Logo"
src="{$smarty.const.WWW_TOP}/covers/movies/{$result->imdbid}-cover.jpg"/>
{else}
<img class="pull-right" style="margin-right:50px; max-height:278px;"
alt="{$result->title|escape:"htmlall"} Logo"
src="{$smarty.const.WWW_ASSETS}/images/nomoviecover.jpg"/>
{/if}
<span class="h1" style="display:inline;">{$result->title|escape:"htmlall"} ({$result->year})</span>
<a class="btn btn-transparent btn-primary" target="_blank"
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result->imdbid}/"
name="imdb{$result->imdbid}" title="View IMDB page">IMDB</a>
<a class="btn btn-transparent btn-primary" target="_blank"
href="{$site->dereferrer_link}http://trakt.tv/search/imdb/tt{$result->imdbid}/"
name="trakt{$result->imdbid}" title="View Trakt page" rel="trakt">TRAKT</a>
<h4>{if $result->genre != ''}{$result->genre|replace:"|":" / "}{/if}</h4>
{if $result->tagline != ''}
<p class="lead" style="margin-right:300px;">"{$result->tagline|escape:"htmlall"}"</p>
{/if}
<dl style="margin-right:300px;">
{if $result->plot != ''}
<dt>Plot</dt>
<dd>{$result->plot|escape:"htmlall"}</dd>
{/if}
{if $result->rating != ''}
<dt>Rating</dt>
<dd>{$result->rating}
/10 {if isset($result->ratingcount) && $result->ratingcount != ''}({$result->ratingcount|number_format} votes)</dd>{/if}
{/if}
{if $result->director != ''}
<dt>Director</dt>
<dd>{$result->director|replace:"|":", "}</dd>
{/if}
{if $result->actors != ''}
<dt>Actors</dt>
<dd>{$result->actors|replace:"|":", "}</dd>
{/if}
</dl>
</div>
</div>
<form id="nzb_multi_operations_form" action="get">
<div class="well well-sm">
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<button type="button"
class="nzb_multi_operations_download btn btn-sm btn-success"
data-toggle="tooltip" data-placement="top" title
data-original-title="Download NZBs">
<i class="fa fa-cloud-download"></i></button>
<button type="button"
class="nzb_multi_operations_cart btn btn-sm btn-info"
data-toggle="tooltip" data-placement="top" title
data-original-title="Send to my Download Basket">
<i class="fa fa-shopping-basket"></i></button>
{if isset($sabintegrated) && $sabintegrated !=""}
<button type="button"
class="nzb_multi_operations_sab btn btn-sm btn-primary"
data-toggle="tooltip" data-placement="top" title
data-original-title="Send to Queue">
<i class="fa fa-share"></i></button>
{/if}
{if isset($isadmin)}
<input type="button"
class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button"
class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
{/if}
</div>
</div>
<div class="row">
<div class="col-lg-12 col-sm-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-body pagination2">
<table style="width:100%;"
class="data table table-striped responsive-utilities jambo-table">
<tr>
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
<th>Name</th>
<th>Category</th>
<th>Posted</th>
<th>Size</th>
<th>Action</th>
</tr>
{assign var="msplits" value=","|explode:$result->grp_release_id}
{assign var="mguid" value=","|explode:$result->grp_release_guid}
{assign var="mnfo" value=","|explode:$result->grp_release_nfoid}
{assign var="mgrp" value=","|explode:$result->grp_release_grpname}
{assign var="mname" value="#"|explode:$result->grp_release_name}
{assign var="mpostdate" value=","|explode:$result->grp_release_postdate}
{assign var="msize" value=","|explode:$result->grp_release_size}
{assign var="mtotalparts" value=","|explode:$result->grp_release_totalparts}
{assign var="mcomments" value=","|explode:$result->grp_release_comments}
{assign var="mgrabs" value=","|explode:$result->grp_release_grabs}
{assign var="mpass" value=","|explode:$result->grp_release_password}
{assign var="minnerfiles" value=","|explode:$result->grp_rarinnerfilecount}
{assign var="mhaspreview" value=","|explode:$result->grp_haspreview}
{assign var="mcatname" value=","|explode:$result->grp_release_catname}
{foreach $msplits as $m}
<tr class="{cycle values=",alt"}" id="guid{$mguid[$m@index]}">
<td><input id="guid{$mguid[$m@index]}"
type="checkbox"
class="flat"
value="{$mguid[$m@index]}"/></td>
<td class="item">
<a title="View details"
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}">{$mname[$m@index]|escape:"htmlall"|replace:".":" "}</a>
<br/>
<span class="label label-primary">{$mgrabs[$m@index]}
grab{if $mgrabs[$m@index] != 1}s{/if}</span>
{if isset($mnfo[$m@index]) && $mnfo[$m@index] > 0}<span><a
href="{$smarty.const.WWW_TOP}/nfo/{$mguid[$m@index]}"
class="modal_nfo label label-primary text-muted">NFO</a>
</span>{/if}
{if $mpass[$m@index] == 2}
<i class="fa fa-icon-lock"></i>
{elseif $mpass[$m@index] == 1}
<i class="fa fa-icon-lock"></i>
{/if}
</td>
<td class="less"><span
class="label label-primary">{$mcatname[$m@index]}</span>
</td>
<td class="less mid"
title="{$mpostdate[$m@index]}">{$mpostdate[$m@index]|timeago}</td>
<td class="less right">{$msize[$m@index]|filesize}</td>
<td>
<a href="{$smarty.const.WWW_TOP}/getnzb/{$mguid[$m@index]}"
class="icon_nzb text-muted"><i
class="fa fa-cloud-download text-muted"
data-toggle="tooltip" data-placement="top" title
data-original-title="Download NZB"></i></a>
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/#comments"><i
class="fa fa-comments-o text-muted"
data-toggle="tooltip" data-placement="top" title
data-original-title="Comments"></i></a>
<a href="#"><i
id="guid{$mguid[$m@index]}"
class="icon_cart text-muted fa fa-shopping-basket"
data-toggle="tooltip"
data-placement="top" title
data-original-title="Send to my download basket"></i></a>
{if isset($sabintegrated) && $sabintegrated !=""}
<a href="#">
<i id="guid{$mguid[$m@index]}"
class="icon_sab text-muted fa fa-share"
data-toggle="tooltip"
data-placement="top" title
data-original-title="Send to my Queue">
</i>
</a>
{/if}
{if $weHasVortex}
<a href="#" class="icon_vortex text-muted"><i
class="fa fa-share" data-toggle="tooltip"
data-placement="top"
title
data-original-title="Send to NZBVortex"></i></a>
{/if}
</td>
</tr>
{/foreach}
</table>
<hr>
{if $results|@count > 10}
<div class="row">
<div class="col-md-8">
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<button type="button"
class="nzb_multi_operations_download btn btn-sm btn-success"
data-toggle="tooltip" data-placement="top" title
data-original-title="Download NZBs">
<i class="fa fa-cloud-download"></i></button>
<button type="button"
class="nzb_multi_operations_cart btn btn-sm btn-info"
data-toggle="tooltip" data-placement="top" title
data-original-title="Send to my Download Basket">
<i class="fa fa-shopping-basket"></i></button>
{if isset($sabintegrated) && $sabintegrated !=""}
<button type="button"
class="nzb_multi_operations_sab btn btn-sm btn-primary"
data-toggle="tooltip" data-placement="top" title
data-original-title="Send to Queue">
<i class="fa fa-share"></i></button>
{/if}
{if isset($isadmin)}
<input type="button"
class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button"
class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
{/if}
</div>
</div>
</div>
<div class="col-md-4">
{$pager}
</div>
</div>
{/if}
</div>
</div>
</form>
{/if}
{/foreach}
</div>
{/if}