C:\xampp\htdocs\kptv\backup_ro\now_player.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
<?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="Connection Refused!"; }

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>songname</title>

<style type="text/css">

body {

background-color: #343434;

margin-top: 0px;

margin-left: 0px;

}



INPUT {

background-color: #343434;

color: white;

font-family: verdana, ms sans serif;

font-weight: bold;

font-size: 9px;

border-width:0px;

}



</style>



</head>

<body bgcolor="#343434">

<FORM NAME="songname" action="">

<INPUT NAME="text" SIZE=39 VALUE=" <?php echo $text;?> |">

</FORM>

<SCRIPT type="text/javascript">

//<!--

/*Text box marquee by Dave Methvin,

Windows Magazine

May be used/modified if credit line is

retained*/

ScrollSpeed = 800

ScrollChars = 1

function ScrollMarquee() {

window.setTimeout('ScrollMarquee()',ScrollSpeed);



var msg = document.songname.text.value;

document.songname.text.value = msg.substring(ScrollChars) + msg.substring(0,ScrollChars);

}

ScrollMarquee()

//-->

</SCRIPT>

</body>

</html>
x

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