Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / own_templates / 1728653.tpl
1 <!--
2 This program is free software. It comes without any warranty, to
3 the extent permitted by applicable law. You can redistribute it
4 and/or modify it under the terms of the Do What The Fuck You Want
5 To Public License, Version 2, as published by Sam Hocevar. See
6 http://sam.zoy.org/wtfpl/COPYING for more details.
7 -->
8
9 {include file="modules/header.tpl"}
10 {if $user_id eq false}
11 {include file="modules/loginbox.tpl"}
12 {/if}
13 {if $permissions.w eq true}
14 <table border="0" width="100%"> <tr><td valign="top" align="center" width="150px">
15 {include file="modules/node_settings.tpl"}
16 {include file="modules/get_poll_box.tpl"}
17 {include file="modules/get_bookmark_statistics_box.tpl"}
18 </td><td valign="top">
19 {include file="modules/node_content.tpl"}
20 <table border="0px" width="666px" cellpadding="0px" cellspacing="0px" class="bordered"><tr><td>
21 {php}
22 if ($f = fopen("https://www.hysteria.sk/~w/90_list","r")) {
23 echo "<small>H-K</small><br>";
24 } elseif ($f = fopen("https://www.x86.sk/~w/90_list","r")) {
25 echo "<small>X</small><br>";
26 } elseif ($f = fopen("http://www.gamca.sk/~kewo/90_list","r")) {
27 echo "<small>S</small><br>";
28 }
29 if ($f) {
30 echo " <table border='0px' cellpadding='2px' cellspacing='5px'> <tr><th>Artist</th><th>Single</th><th>Download</th><th>Provided by:</th></tr>";
31 while (($str = fgetcsv($f,4096,"|")) !== FALSE) {
32 if (count($str)>3) {
33 echo " <tr><td>" . $str[0] . "</td><td>" . $str[1] . "</td><th><a href='" . $str[2] . "' title='" . $str[0] . " - " . $str[1] . "'>Click!</a></th><td>" . $str[3] . "</td></tr>";
34 }
35 }
36 fclose($f);
37 echo " </table>";
38 } else {
39 echo "<span style='color: red;'>Houston, Houston, We've got a problem! - no soundlisting available</span>";
40 }
41 {/php}
42 </td></tr></table>
43 <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}'method='post' name='formular'>
44 {include file="modules/addnode.tpl"}
45 {include file="modules/get_threaded_children.tpl" children_type=4}
46 </form>
47 </td></tr></table>
48 {include file="modules/footer.tpl"}
49 {/if}
50 <author>tpl by frr && w</author>
This page took 0.281972 seconds and 4 git commands to generate.