Commit | Line | Data |
---|---|---|
e586807d H |
1 | {include file="modules/header.tpl"} |
2 | {if $user_id eq false} | |
3 | {include file="modules/loginbox.tpl"} | |
4 | {/if} | |
5 | {if $permissions.w eq true} | |
6 | <table border="0" width="100%"> <tr><td valign="top" align="center" width="150px"> | |
7 | {include file="modules/node_settings.tpl"} | |
8 | {include file="modules/get_poll_box.tpl"} | |
9 | {include file="modules/get_bookmark_statistics_box.tpl"} | |
10 | </td><td valign="top"> | |
11 | {include file="modules/node_content.tpl"} | |
12 | <table border="0px" width="666px" cellpadding="0px" cellspacing="0px" class="bordered"><tr><td> | |
13 | {php} | |
14 | if ($f = fopen("https://www.hysteria.sk/~w/90_list","r")) { | |
15 | echo "<small>H-K</small><br>"; | |
16 | } elseif ($f = fopen("https://www.x86.sk/~w/90_list","r")) { | |
17 | echo "<small>X</small><br>"; | |
18 | } elseif ($f = fopen("http://www.gamca.sk/~kewo/90_list","r")) { | |
19 | echo "<small>S</small><br>"; | |
20 | } | |
21 | if ($f) { | |
22 | echo " <table border='0px' cellpadding='2px' cellspacing='5px'> <tr><th>Artist</th><th>Single</th><th>Download</th><th>Provided by:</th></tr>"; | |
23 | while (($str = fgetcsv($f,4096,"|")) !== FALSE) { | |
24 | if (count($str)>3) { | |
25 | 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>"; | |
26 | } | |
27 | } | |
28 | fclose($f); | |
29 | echo " </table>"; | |
30 | } else { | |
31 | echo "<span style='color: red;'>Houston, Houston, We've got a problem! - no soundlisting available</span>"; | |
32 | } | |
33 | {/php} | |
34 | </td></tr></table> | |
35 | <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}'method='post' name='formular'> | |
36 | {include file="modules/addnode.tpl"} | |
37 | {include file="modules/get_threaded_children.tpl" children_type=4} | |
38 | </form> | |
39 | </td></tr></table> | |
40 | {include file="modules/footer.tpl"} | |
41 | {/if} | |
42 | <author>tpl by frr && w</author> |