-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
55 lines (36 loc) · 1.5 KB
/
index.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
<?php
/*
* Created on 14.02.2010
* file index.php
* part of phpMpReloaded
*
* by tswaehn (http://sourceforge.net/users/tswaehn/)
*/
// here is some bootstrap code
include('./config/config.php');
include('./lib/header.php');
include ('./lib/NewsReader.php');
include ('./lib/ClientHandler.php');
//import_request_variables ( 'gp', 'url_' );
// ATTENTION !!! final PREFIX will be "url_TEST" instead of "urlTEST" !!!!!
extract($_GET, EXTR_PREFIX_ALL, 'url');
extract($_POST, EXTR_PREFIX_ALL, 'url');
$clientHandler = new ClientHandler;
$news = new NewsReader;
echo '<div id="client_selector">';
echo '<h3>::phpMpReloaded:: The Webclient for mpd</h3>';
echo '<div id="main">';
$clientHandler->execute();
echo '</div>';
echo '<div id="credit">';
echo "phpmpreloaded version ".__VERSION__."<br>";
// recive news from news server
echo $news->readNews('http://phpmpreloaded.sourceforge.net/NewsProvider/?version='.__VERSION__);
// support links
echo 'Support <a href="http://sourceforge.net/projects/phpmpreloaded/">us</a> and visit<br>';
echo '<a href="http://sourceforge.net/projects/phpmpreloaded"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=304529&type=9" width="80" height="15" alt="Get ::phpMpReloaded:: The webclient for mpd at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>';
echo '</div>';
echo '</div>';
include('./lib/footer.php');
//
?>