/
in2.php
382 lines (314 loc) · 11.6 KB
/
in2.php
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta name="Description" content="Radio internetowe. Polskie radio online w super jakoœci. Kilkadziesiat radiowych kana³ów za darmo. ">
<meta name="Keywords" content="radio, radio internetowe, radio online, rozg³oœnie radiowe, rmf, eska, zet, polskie radio, radiostacja, radio z³ote przeboje, radio disco polo">
<meta name="revisit-after" content="1 days" >
<META NAME="GOOGLEBOT" CONTENT="INDEX,FOLLOW">
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<META NAME="MSNBOT" CONTENT="INDEX,FOLLOW">
<meta name="Language" content="pl" >
<META NAME="distribution" CONTENT="global" >
<meta name="copyright" content="radio internetowe radioldn.net" >
<meta name="rating" content="general" >
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="Author" content="www.RadioLDN.net" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate" />
<meta http-equiv="Cache-Control" content="post-check=0, pre-check=0" />
<meta http-equiv="Pragma" content="no-cache" />
<title>RADIO LDN - www.radioldn.net - polskie radio w internecie</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity,GeobytesRegion,GeobytesLatitude,GeobytesLongitude"></script>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAYzSP7GSind444GDqiXk5KhQ4Lzkt8cF0oNmx-Qb3JggZl0zLqxSAlzmv7wWfVyuCMVd3sVNHYWx9Aw" type="text/javascript"></script>
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=ABQIAAAAYzSP7GSind444GDqiXk5KhQ4Lzkt8cF0oNmx-Qb3JggZl0zLqxSAlzmv7wWfVyuCMVd3sVNHYWx9Aw" type="text/javascript"></script>
<script src="http://www.google.com/uds/solutions/localsearch/gmlocalsearch.js" type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
@import url("http://www.google.com/uds/solutions/localsearch/gmlocalsearch.css");
#map {
border : 1px solid #979797;
width : 500px;
height : 400px;
}
</style>
<script type="text/javascript">
//<![CDATA[
function load()
{
if (GBrowserIsCompatible())
{
var map = new GMap2(document.getElementById("map"));
var center = new GLatLng(sGeobytesLatitude, sGeobytesLongitude);
map.addControl(new GSmallMapControl());
//map.addControl(new GLargeMapControl());
//map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.enableContinuousZoom();
map.setCenter(center, 13);
map.setMapType(G_NORMAL_MAP);
var marker = new GMarker(center, {draggable: true});
var html = "You ar here";
GEvent.addListener(marker, 'click', function() { marker.openInfoWindowHtml(html); });
GEvent.addListener(marker, "dragstart", function() {
map.closeInfoWindow();
});
map.addOverlay(marker);
map.addControl(new google.maps.LocalSearch(), new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,10)));
//map.addOverlay(new GLayer("com.panoramio.all"));
//map.addOverlay(new GLayer("org.wikipedia.en"));
}
}
function GUnload()
{
if (window.GUnloadApi)
{
GUnloadApi();
}
}
//]]>
</script>
<!-- <script src="http://www.google.com/jsapi?key=ABQIAAAAYzSP7GSind444GDqiXk5KhSdLWloOB-jxCG45pdxPUgeLv5LtBSm6U7uvB4cC97WG6kvdt-ms4erSw" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
//<![CDATA[
google.load("maps", "2");
function OnLoad() {
// Create a search control
var searchControl = new google.search.SearchControl();
// Add in a full set of searchers
var localSearch = new google.search.LocalSearch();
searchControl.addSearcher(localSearch);
searchControl.addSearcher(new google.search.WebSearch());
searchControl.addSearcher(new google.search.VideoSearch());
searchControl.addSearcher(new google.search.BlogSearch());
// Set the Local Search center point
localSearch.setCenterPoint("New York, NY");
// Tell the searcher to draw itself and tell it where to attach
searchControl.draw(document.getElementById("searchcontrol"));
// Execute an inital search
searchControl.execute("Google");
}
google.setOnLoadCallback(OnLoad);
//]]>
</script>
-->
</head>
<body onload="load()" onunload="GUnload()">
<a href="index.php"><div id="top">
</div></a>
<div id="top-shade">
<div id="top-before">
<div id="top-menu-shade">
<div id="top-menu-back">
<div id="top-menu">
<script type="text/javascript">
<!--
function playLDN() {
window.open("http://citiradio.ovh.org/rl/panel/panel200b.html","WindowLDN","menubar=no,width=260,height=410,toolbar=no");
}
//-->
</script>
<?php
$menu = array(
'index.php' => 'strona główna',
'?page=news&sub=1' => 'newsy',
'?page=video' => 'video',
'?page=music' => 'music',
'?page=listen' => 'jak słuchać?',
'?page=promo' => 'poleć nas innym',
'?page=whoweare' => 'kim jesteśmy',
'javascript:playLDN()" return true;" title="Poluchaj Radio LDN' => 'webplayer',
// NIE ZMIENIAC OSTATNIEJ POZYCJI W MENU!
'?page=contact' => 'kontakt'
);
$licz = count($menu);
foreach($menu as $key => $value) {
if ($value == 'kontakt') {
echo '<a href="' . $key . '">' . $value . '</a>';
} else {
echo '<a href="' . $key . '">' . $value . '</a> / ';
}
}
?>
</div>
</div>
<div id="main">
<div id="no-ticker"></div>
<div id="main-left">
<?php
require_once('news.php');
$news = new News();
?>
<?php
echo '<div id="title" style="width: 98%;">LDN Shoutcast Messenger</div>';
$news->sayHiForm(5);
?>
<div id="sluchaj-w-n">
<img src="img/n_logo.gif">
<b>Uwaga!</b> Możecie nas słuchać także w cyfrowej jakości na platformie <b>n</b> w pakiecie <b>Polskie Stacje Internetowe</b>.
</div>
<!--
<?php
echo '<div id="title" style="width: 98%;">Nasz partner</div>';
?>
<div id="nolink"><a href="http://www.kwupr.pl/" target="_blank"><img src="img/upr1.jpg" style="border: 0px;"></a></div>
-->
<?php
echo '<div id="title" style="width: 98%;">Co nowego w LDN?</div><br />';
$news->displayNewsSimple(1);
echo '<div id="title" style="width: 98%;">Szukaj miejsca</div><br />';
echo '<div id="map" style="overflow: hidden; width: 290px; height: 400px; position: relative;"></div>';
?>
</div>
<div id="main-right">
<?php
require_once('staty.php');
require('functions.php');
$obj = new Functions();
$dir = 'img/chan/';
$allimg = array_slice(scandir($dir), 2);
$lopo = $obj->openFile();
$pages = array('contact','listen','promo','history','desc','whoweare','news','video','music','chillout','discopolo','polska','disco','ukcharts','trance','live','rock','dnb','electro');
$pagesdb = 'db/pages/';
if (isset($_GET['page'])) {
$page = $_GET['page'];
}
if (isset($_GET['detail'])) {
$detail = $_GET['detail'];
}
if (in_array(@$page,$pages)) {
if (in_array(@$detail,$pages) && $detail == 'history') {
for ($j = 0; $j < count($allimg); $j++) {
$lop = explode(", ", $lopo[$j]);
if ($lop[2] == $page) {
$obj->getServerInfo($lopo[$j]);
echo '<span class="big-red">Kanał ' . $lop[3] . ' - historia utworów</span>';
echo '<div id="hr"></div>';
echo '<br />';
echo '<span style="float: left; width: 190px; height: 250px;">';
echo '<a href="?page=' . $obj->chan . '&detail=desc"><span class="channel-img" style="background: transparent url(' . $dir . $allimg[$j] . ') repeat;"></span></a></span>';
echo '<span style="float: left;">' . winstat($obj->ip,$obj->port) . '</span>';
}
}
} else if (in_array(@$detail,$pages)) {
for ($j = 0; $j < count($allimg); $j++) {
$lop = explode(", ", $lopo[$j]);
if ($lop[2] == $page) {
echo '<span class="big-red">Kanał ' . $lop[3] . ' - taki tu gramy rodzaj muzyki</span>';
if (file_exists($pagesdb . $page . '.txt')) {
echo '<span style="float: left;">' . $obj->convert2HTML($pagesdb . $page . '.txt') . '</span>';
} else {
echo '<div id="hr"></div>';
echo '<br />Wkrotce uzupelnimy...';
}
}
}
} else if ($page == 'news') {
echo '<span class="big-red">Newsy</span>';
echo '<div id="hr"></div>';
echo '<br />';
@ $news->displayNews(7);
} else if ($page == 'video') {
echo '<span class="big-red">Video</span>';
echo '<div id="hr"></div>';
echo '<br />';
$news->allVideo(32);
} else if ($page == 'music') {
echo '<span class="big-red">Music</span>';
echo '<div id="hr"></div>';
echo '<br />';
$news->allMusic(20);
} else {
$obj->convert2HTML($pagesdb . $page . '.txt');
}
} else {
$banner = true;
if ($banner) {
if (isset($page) && ($page == 'addvid')) {
echo '<div id="title">Dodaj video</div>';
//echo '<br />';
//echo 'tu dodajemy video';
$news->addVid();
}
$news->displayVideo();
?>
<!--
<a href="http://osnews.pl/">
<img src="http://linuxnews.pl/stuff/banners/wiki/wikibanner02.png" style="padding-left: 40px; margin-bottom: 30px; border: 0px;"
alt="OSnews.pl: obywatelski serwis IT"
title="OSnews.pl: IT news"/>
</a>
-->
<div style="height: 14px;"></div>
<?php
echo '<div id="title">Kanaly Radio LDN</div>';
echo '<br />';
}
for ($i = 0; $i < count($allimg); $i++) {
$obj->getServerInfo($lopo[$i]);
?>
<span class="channel">
<a href="?page=<?php echo $obj->chan; ?>&detail=desc"><span class="channel-img" style="background: transparent url('<?php echo $dir . $allimg[$i] ?>') repeat;">
</span></a>
<span class="channel-link">
<a href="play/<?php echo $obj->chan; ?>.m3u" title="play <?php echo $obj->chan; ?>">Winamp</a> |
<a href="play/<?php echo $obj->chan; ?>.asx" title="play <?php echo $obj->chan; ?>">WMP</a> |
<a href="play/<?php echo $obj->chan; ?>.ram" title="play <?php echo $obj->chan; ?>">Real Player</a>
</span>
<span class="channel-gramy">
<b>Teraz gramy:</b>
<br />
<?php echo $obj->song; ?>
</span>
<span class="channel-history">
<a href="?page=<?php echo $obj->chan; ?>&detail=history">zobacz historię utworów</a>
</span>
</span>
<?php
}
}
?>
</div>
<div id="footer">
<script>
var adr = 'www.radioldn.net';
var tit = 'RadioLDN.net';
var note = '';
var url = 'http://elefanta.pl/member/bookmarkNewPage.action?url=' + adr + '&title=' + tit + '&bookmarkVO.notes=' + note;
function openElefanta() {
window.open(url,'_blank');
}
</script>
<b>Partnerzy: </b>
<?php
$partners = array(
'http://www.pokojwustroniu.pl/' => 'Pokoj w Ustroniu',
'http://www.swansea.com.pl/' => 'Polacy w Swansea',
'http://komuna.org' => 'Komuna',
'http://www.apsik.co.uk/' => 'APSIK.CO.UK',
'http://www.forumpolonii.co.uk/' => 'Forum Polonii',
'http://www.gbritain.net/' => 'GBritain.net',
'http://www.cafepl.com/' => 'Cafe PL'
);
foreach($partners as $key => $value) {
echo '<a href="' . $key . '" target="_blank" title="' . $value . '">' . $value . '</a>, ';
}
?>
</div>
</div>
<div id="top-menu-back">
<div id="top-menu" style="color: #c0c0c0; background: transparent url('img/stat24b.png') no-repeat 96% 50%; background-color: #000000;">
Radio LDN 2008-2009. All Rights Reserved.
</div>
</div>
</div>
</div>
</div>
<!-- (C) stat24 / Strona glowna -->
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s4.hit.stat24.com/_'+(new Date()).getTime()+'/script.js?id=ncCQzXdtd1leRFfUE5SOXpdQHUcIviLoEqZEZQT89k..h7/l=11"></'+'scr'+'ipt>');
//-->
</script>
</body>
</html>