1 |
{include file="main.header.tpl"} |
2 |
|
3 |
<table cellspacing="30" width="100%"> |
4 |
<tr> |
5 |
<td valign="top" width="1%"> |
6 |
<p align="center"> |
7 |
<img src="gfx/topic.browse.gif" alt=""> |
8 |
</p> |
9 |
|
10 |
<br> |
11 |
|
12 |
<p> |
13 |
<b>Browse</b> |
14 |
</p> |
15 |
|
16 |
<p class="nowrap"> |
17 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> |
18 |
<a href="browse.php?sid={$sid}">Artists</a> |
19 |
</p> |
20 |
|
21 |
<p class="nowrap"> |
22 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> |
23 |
<a href="browse.php?mode=tracks&sid={$sid}">Tracks</a> |
24 |
</p> |
25 |
|
26 |
<p class="nowrap"> |
27 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> |
28 |
<a href="browse.php?mode=albums&sid={$sid}">Albums</a> |
29 |
</p> |
30 |
</td> |
31 |
<td valign="top"> |
32 |
<h2>{$ptitle}</h2> |
33 |
|
34 |
<p> |
35 |
{$ptext} |
36 |
</p> |
37 |
|
38 |
<br> |
39 |
|
40 |
{if $mode == "tracks"} |
41 |
{* tracks *} |
42 |
|
43 |
<table width="100%" align="center"> |
44 |
<tr> |
45 |
<td> |
46 |
<b>Tracks</b><br> |
47 |
|
48 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> jump to |
49 |
{section name=i loop=$alphabet} |
50 |
{if $alphabet[i] == $init}{$alphabet[i].big} |
51 |
{else}<a href="browse.php?mode={$mode}&jump={$alphabet[i].small}&orderby={$orderby}&direction={$direction}&sid={$sid}">{$alphabet[i].big}</a> {/if} |
52 |
{/section} |
53 |
</td> |
54 |
<td align="right"> |
55 |
{include file="main.pages.tpl" format="browse.php?mode=`$mode`&page=%s&orderby=`$orderby`&direction=`$direction`&sid=`$sid`"} |
56 |
</td> |
57 |
</tr> |
58 |
<tr> |
59 |
<td colspan="2"> |
60 |
{include file="main.tracklist.tpl" isbrowse=true} |
61 |
</td> |
62 |
</tr> |
63 |
<tr> |
64 |
<td> |
65 |
<table> |
66 |
<tr> |
67 |
<td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom"> |
68 |
<td valign="bottom"> |
69 |
<a href="#" onclick="setCheckboxes('tracks','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the file/s above.')" onmouseout="hideTip()">Select all</a> / |
70 |
<a href="#" onclick="setCheckboxesBetween('tracks','id[]',true); return false;" onmouseover="showTip(this,event,'Select all file/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> / |
71 |
<a href="#" onclick="setCheckboxes('tracks','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the file/s above.')" onmouseout="hideTip()">Deselect all</a> |
72 |
</td> |
73 |
</tr> |
74 |
<tr> |
75 |
<td></td> |
76 |
<td> |
77 |
Selected: |
78 |
|
79 |
<img src="gfx/icon.edit.gif" alt="" class="menu-img"> |
80 |
<a href="#" onclick="goTrackMultiEdit('tracks','id[]')" onmouseover="showTip(this,event,'Edit the selected file/s<br>in a special multi-edit mode.')" onmouseout="hideTip()">Edit</a> |
81 |
|
82 |
<img src="gfx/icon.delete.file.gif" alt="" class="menu-img"> |
83 |
<a href="#" onclick="goTrackMultiDelete('tracks','id[]')" onmouseover="showTip(this,event,'Delete the selected file/s from the filesystem,<br> database and all playlists.')" onmouseout="hideTip()">Delete</a> |
84 |
|
85 |
<img src="gfx/icon.add.gif" alt="" class="menu-img"> |
86 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackMultiAdd('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Add the selected files to the<br>active playlist.')" onmouseout="hideTip()">Add to Playlist</a> |
87 |
|
88 |
<img src="gfx/icon.download.gif" alt="" class="menu-img"> |
89 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackdownload_multidownload('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Download the selected files as tar.gz-archive.<br><b>Info:</b> Be careful. Don\'t select too many files!')" onmouseout="hideTip()">Download</a> |
90 |
|
91 |
<img src="gfx/icon.play.gif" alt="" class="menu-img"> |
92 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackMultiPlay('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the selected files.')" onmouseout="hideTip()">Play</a> |
93 |
</td> |
94 |
</tr> |
95 |
</table> |
96 |
</td> |
97 |
<td align="right" valign="top"> |
98 |
{include file="main.pages.tpl" format="browse.php?mode=`$mode`&page=%s&orderby=`$orderby`&direction=`$direction`&sid=`$sid`"} |
99 |
</td> |
100 |
</tr> |
101 |
</table> |
102 |
{elseif $mode == "albums"} |
103 |
{if isset($id)} |
104 |
{* albums by title, album with cddbid $id selected *} |
105 |
|
106 |
|
107 |
<!-- <table> |
108 |
<tr> |
109 |
<td width="110"> |
110 |
{if !empty($album.coverimg)} |
111 |
<p align="center"> |
112 |
<img src="{$album.coverimg}" alt="" width="100" height="100"> |
113 |
</p> |
114 |
{else} |
115 |
<table width="100" align="center" style="height: 100px; border: 1px solid #000000"> |
116 |
<tr><td align="center" valign="middle"><img src="gfx/icon.mid.empty.gif" alt=""><br>no image</td></tr> |
117 |
</table> |
118 |
{/if} |
119 |
</td> |
120 |
<td> |
121 |
{flag lang=$album.lang} |
122 |
<b>{$album.artist} - {$album.title}</b><br> |
123 |
{$album.files} file/s, {length seconds=$album.length show_description=true} |
124 |
</td> |
125 |
</tr> |
126 |
</table>--> |
127 |
|
128 |
|
129 |
<table width="100%" align="center"> |
130 |
<tr> |
131 |
<td valign="top"> |
132 |
{flag lang=$album.lang} |
133 |
<b>{$album.artist} - {$album.title}</b><br> |
134 |
{$album.files} file/s, {length seconds=$album.length show_description=true} |
135 |
</td> |
136 |
<td valign="top" align="right"> |
137 |
<b>Album Actions:</b><br> |
138 |
|
139 |
<img src="gfx/icon.edit.gif" alt="" class="menu-img"> |
140 |
<a href="#" onclick="goAlbumSingleEdit('{$album.cddbid}','{$sid}')" onmouseover="showTip(this,event,'Edit Album-Details')" onmouseout="hideTip()">Edit</a> |
141 |
|
142 |
<img src="gfx/icon.delete.file.gif" alt="" class="menu-img"> |
143 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumSingleDelete('{$album.cddbid}','{$sid}'){/if}" onmouseover="showTip(this,event,'Delete Album and Files from System')" onmouseout="hideTip()">Delete</a> |
144 |
|
145 |
<img src="gfx/icon.play.gif" alt="" class="menu-img"> |
146 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumSinglePlay('{$album.cddbid}','{$sid}'){/if}" onmouseover="showTip(this,event,'Play')" onmouseout="hideTip()">Play</a> |
147 |
</td> |
148 |
</tr> |
149 |
<tr> |
150 |
<td colspan="2"> |
151 |
{include file="main.tracklist.tpl" showtracknumber=true hidealbum=true} |
152 |
</td> |
153 |
</tr> |
154 |
<tr> |
155 |
<td> |
156 |
<table> |
157 |
<tr> |
158 |
<td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom"> |
159 |
<td valign="bottom"> |
160 |
<a href="#" onclick="setCheckboxes('tracks','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the file/s above.')" onmouseout="hideTip()">Select all</a> / |
161 |
<a href="#" onclick="setCheckboxesBetween('tracks','id[]',true); return false;" onmouseover="showTip(this,event,'Select all file/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> / |
162 |
<a href="#" onclick="setCheckboxes('tracks','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the file/s above.')" onmouseout="hideTip()">Deselect all</a> |
163 |
</td> |
164 |
</tr> |
165 |
<tr> |
166 |
<td></td> |
167 |
<td> |
168 |
Selected: |
169 |
|
170 |
<img src="gfx/icon.edit.gif" alt="" class="menu-img"> |
171 |
<a href="#" onclick="goTrackMultiEdit('tracks','id[]')" onmouseover="showTip(this,event,'Edit the selected file/s<br>in a special multi-edit mode.')" onmouseout="hideTip()">Edit</a> |
172 |
|
173 |
<img src="gfx/icon.delete.file.gif" alt="" class="menu-img"> |
174 |
<a href="#" onclick="goTrackMultiDelete('tracks','id[]')" onmouseover="showTip(this,event,'Delete the selected file/s from the filesystem,<br> database and all playlists.')" onmouseout="hideTip()">Delete</a> |
175 |
|
176 |
<img src="gfx/icon.add.gif" alt="" class="menu-img"> |
177 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackMultiAdd('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Add the selected files to the<br>active playlist.')" onmouseout="hideTip()">Add to Playlist</a> |
178 |
|
179 |
<img src="gfx/icon.download.gif" alt="" class="menu-img"> |
180 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackdownload_multidownload('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Download the selected files as tar.gz-archive.<br><b>Info:</b> Be careful. Don\'t select too many files!')" onmouseout="hideTip()">Download</a> |
181 |
|
182 |
<img src="gfx/icon.play.gif" alt="" class="menu-img"> |
183 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goTrackMultiPlay('tracks','id[]'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the selected files.')" onmouseout="hideTip()">Play</a> |
184 |
</td> |
185 |
</tr> |
186 |
</table> |
187 |
</td> |
188 |
<td align="right"> |
189 |
|
190 |
</td> |
191 |
|
192 |
</tr> |
193 |
</table> |
194 |
{else} |
195 |
{* albums, no album selected *} |
196 |
|
197 |
<table width="100%" align="center"> |
198 |
<tr> |
199 |
<td> |
200 |
<b>Albums</b><br> |
201 |
|
202 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> jump to |
203 |
{section name=i loop=$alphabet} |
204 |
{if $alphabet[i] == $init}{$alphabet[i].big} |
205 |
{else}<a href="browse.php?mode=albums&jump={$alphabet[i].small}&sid={$sid}">{$alphabet[i].big}</a> {/if} |
206 |
{/section} |
207 |
</td> |
208 |
<td align="right"> |
209 |
{include file="main.pages.tpl" format="browse.php?mode=albums&page=%s&sid=`$sid`"} |
210 |
</td> |
211 |
</tr> |
212 |
<tr> |
213 |
<td colspan="2"> |
214 |
{include file="main.albumlist.tpl" isbrowse=true} |
215 |
</td> |
216 |
</tr> |
217 |
<tr> |
218 |
<td> |
219 |
<table> |
220 |
<tr> |
221 |
<td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom"> |
222 |
<td valign="bottom"> |
223 |
<a href="#" onclick="setCheckboxes('albums','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Select all</a> / |
224 |
<a href="#" onclick="setCheckboxesBetween('albums','id[]',true); return false;" onmouseover="showTip(this,event,'Select all album/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> / |
225 |
<a href="#" onclick="setCheckboxes('albums','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Deselect all</a> |
226 |
</td> |
227 |
</tr> |
228 |
<tr> |
229 |
<td></td> |
230 |
<td> |
231 |
Selected: |
232 |
|
233 |
<img src="gfx/icon.delete.file.gif" alt="" class="menu-img"> |
234 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiDelete('albums','id[]'){/if}" onmouseover="showTip(this,event,'Delete the selected albums/s from the<br>filesystem, database and all playlists.<br><b>Warning:</b> You cannot undo!')" onmouseout="hideTip()">Delete</a> |
235 |
|
236 |
<img src="gfx/icon.add.gif" alt="" class="menu-img"> |
237 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiAdd('albums','id[]'){/if}" onmouseover="showTip(this,event,'Add the selected albums to the<br>active playlist.')" onmouseout="hideTip()">Add to Playlist</a> |
238 |
|
239 |
<img src="gfx/icon.download.gif" alt="" class="menu-img"> |
240 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiDownload('albums','id[]'){/if}" onmouseover="showTip(this,event,'Download the selected albums as tar.gz-archive.<br><b>Info:</b> Be careful. Don\'t select too many!')" onmouseout="hideTip()">Download</a> |
241 |
|
242 |
<img src="gfx/icon.play.gif" alt="" class="menu-img"> |
243 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiPlay('albums','id[]'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the selected albums.')" onmouseout="hideTip()">Play</a> |
244 |
</td> |
245 |
</tr> |
246 |
</table> |
247 |
</td> |
248 |
<td align="right" valign="top"> |
249 |
{include file="main.pages.tpl" format="browse.php?mode=albums&page=%s&sid=`$sid`"} |
250 |
</td> |
251 |
</tr> |
252 |
</table> |
253 |
{/if} |
254 |
{else} |
255 |
{if isset($artist)} |
256 |
{* tracks by artist, artist $artist selected *} |
257 |
|
258 |
<table width="100%"> |
259 |
<tr> |
260 |
<td> |
261 |
<b>Artist: {$artist}</b><br> |
262 |
|
263 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> |
264 |
{$artist}, {$count} track/s |
265 |
</td> |
266 |
<td align="right"> |
267 |
{assign var="artistenc" value=$artist|urlencode} |
268 |
{include file="main.pages.tpl" format="browse.php?artist=`$artistenc`&page=%s&sid=`$sid`"} |
269 |
</td> |
270 |
</tr> |
271 |
</table> |
272 |
|
273 |
{include file="main.tracklist.tpl"} |
274 |
{else} |
275 |
{* default: tracks by artist, no artist selected *} |
276 |
|
277 |
<table width="100%" align="center"> |
278 |
<tr> |
279 |
<td> |
280 |
<b>Artists</b><br> |
281 |
|
282 |
<img src="gfx/icon.arrow.gif" alt="" class="menu-img"> jump to |
283 |
{section name=i loop=$alphabet} |
284 |
{if $alphabet[i] == $init}{$alphabet[i].big} |
285 |
{else}<a href="browse.php?jump={$alphabet[i].small}&sid={$sid}">{$alphabet[i].big}</a> {/if} |
286 |
{/section} |
287 |
</td> |
288 |
<td align="right"> |
289 |
{include file="main.pages.tpl" format="browse.php?page=%s&sid=`$sid`"} |
290 |
</td> |
291 |
</tr> |
292 |
<tr> |
293 |
<td colspan="2"> |
294 |
{include file="main.artistlist.tpl"} |
295 |
</td> |
296 |
</tr> |
297 |
<tr> |
298 |
<td> |
299 |
<table> |
300 |
<tr> |
301 |
<td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom"> |
302 |
<td valign="bottom"> |
303 |
<a href="#" onclick="setCheckboxes('artists','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Select all</a> / |
304 |
<a href="#" onclick="setCheckboxesBetween('artists','id[]',true); return false;" onmouseover="showTip(this,event,'Select all album/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> / |
305 |
<a href="#" onclick="setCheckboxes('artists','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Deselect all</a> |
306 |
</td> |
307 |
</tr> |
308 |
<tr> |
309 |
<td></td> |
310 |
<td> |
311 |
Selected: |
312 |
|
313 |
<img src="gfx/icon.delete.file.gif" alt="" class="menu-img"> |
314 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goArtistMultiDelete('artists','id[]','{$sid}'){/if}" onmouseover="showTip(this,event,'Delete the tracks of the selected artist/s<br>fron the filesystem, database and all playlists.<br><b>Warning:</b> You cannot undo!')" onmouseout="hideTip()">Delete</a> |
315 |
|
316 |
<img src="gfx/icon.add.gif" alt="" class="menu-img"> |
317 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goArtistMultiAdd('artists','id[]','{$sid}'){/if}" onmouseover="showTip(this,event,'Add the tracks of the selected artists<br>to the active playlist.')" onmouseout="hideTip()">Add to Playlist</a> |
318 |
|
319 |
<img src="gfx/icon.play.gif" alt="" class="menu-img"> |
320 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goArtistMultiPlay('artists','id[]',0,'{$sid}'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the tracks of the selected artist/s.')" onmouseout="hideTip()">Play</a> |
321 |
|
322 |
<img src="gfx/icon.shuffle.gif" alt="" class="menu-img"> |
323 |
<a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goArtistMultiPlay('artists','id[]',1,'{$sid}'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the tracks of the selected artist/s in random order.')" onmouseout="hideTip()">Play shuffled</a> |
324 |
</td> |
325 |
</tr> |
326 |
</table> |
327 |
</td> |
328 |
<td align="right" valign="top"> |
329 |
{include file="main.pages.tpl" format="browse.php?page=%s&sid=`$sid`"} |
330 |
</td> |
331 |
</tr> |
332 |
</table> |
333 |
{/if} |
334 |
{/if} |
335 |
</td> |
336 |
</tr> |
337 |
</table> |
338 |
{include file="main.footer.tpl"} |