C:\xampp\htdocs\kptv\ro\nowplaying.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
<?php

//$open = fsockopen("s8.viastreaming.net","7660");

/*$open = fsockopen("87.117.228.94","7222");

if ($open) {

fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");

$read = fread($open,1000);

$text = explode(",",$read);

//$text = substr($text[6], 0, -12);

$text = substr($text[6],0,-14);

} else { $text="Nu pot afisa titlul piesei!"; }
*/
$text '<a id="cc_strinfo_song_kptv" class="cc_streaminfo">&nbsp;</a>
                            <script language="javascript" type="text/javascript" src="http://sc4.streamingpulse.net:2199/system/streaminfo.js"></script>
                            '
;

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>songname</title>
        <meta http-equiv="refresh" content="10" />
        <style type="text/css">
            :root {
                font-size: calc(1em + 1vw);
            }

            body {
                margin: 0;
            }

            div {
                display: flex;
                align-items: center;
                height: 100%;
                color: white;
                font-family: verdana, ms sans serif;
                font-weight: bold;
                font-size: 0.55rem;
                border-width: 0px;
            }
        </style>
    </head>

    <body>
        <div><?php echo $text;?></div>
    </body>
</html>



x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586