C:\xampp\htdocs\kptv2\backup_ro\radio_webcam.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
<?php

require_once("../admin/dbconn.php");

$result mysql_query("SELECT * FROM banners");

if (!
$result) {
    echo 
'Could not run query: ' mysql_error();
    exit;
}
$ban = array();

while (
$row mysql_fetch_assoc($result)) {
    
$ban[$row['ID']] = $row['Banner'];
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Radio</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">

<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAuYE1N3O5Gk1qRi7gg8KI2BTTiq2Y_22pQfc99Pc9J8a-RsYFMhS9en6CCG4tBKIEFRv8q1v4PHefjA"></script>
<script type="text/javascript" src="../js/gfeedfetcher.js"></script>

<script type="text/javascript" src="../js/gajaxscroller.js">

/***********************************************
* gAjax RSS Pausing Scroller- (c) Dynamic Drive (www.dynamicdrive.com)
* Requires "gfeedfetcher.js" class
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<style type="text/css">

td {
font-family: Verdana, Arial;
font-size:12px;
color:#FFFFFF;
}

.titlefield{ /*CSS for RSS title link in general*/
text-decoration: none;
font-size:11px;
font-family:Verdana, Arial;
color: #FFC000;
}

.labelfield{ /*CSS for label field in general*/
color:#FFFFFF;
font-size:10px;
font-family:Verdana, Arial;
}

.datefield{ /*CSS for date field in general*/
color:#8C8C8C;
font-size:10px;
font-family:Verdana, Arial;
}


#example2{ /*Demo 2 main container*/
text-align:left;
width: 730px;
height: 100px;
/*border: 1px dashed black;
padding: 4px;
background-color: #EEEEEE;*/
}

#example2 div ul{ /*Demo 2 UL container*/
margin: 0;
padding-left: 5px;
}

#example2 div ul li{ /*Demo 2 LI that surrounds each entry*/
margin-bottom: 3px;
}

code{ /*CSS for insructions*/
color: red;
}

</style>
</head>
<body background="images/background.gif" style="margin:0px;">
    <table border="0" width="950" cellspacing="1" cellpadding="1" align="center" border="0">        
        <tr>
            <td colspan="2" height="150" align="center"><?= $ban[1]; ?></td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</td>
        </tr>
        <!--tr>
            <td colspan="2" align="center"><?php //echo $ban[2]; ?></td>
        </tr-->
        <tr>
            <td colspan="2" height="326" valign="top">
                <table border="0" width="736" height="326" cellspacing="0" cellpadding="0" align="center" style="background:url('images/background2.gif');background-repeat:no-repeat;">        
                    <tr>
                        <td align="left" valign="top" style="padding-top:3px;padding-left:3px;">
                        
                        <!--iframe src="//www.ustream.tv/embed/413577?wmode=direct" style="border: 0 none transparent;" frameborder="no" width="367" height="295"></iframe-->
                        <iframe width="560" height="315" src="https://www.youtube.com/embed/C5N3WFgX9MM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
                        <br />
                        
                        <div style="float:left;text-align:center;width:367px;height:20px;"><a style="font-size:10px;color:#000;" 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>
                            </div>
                        </td>                                                                   
                        <td align="left" valign="top" style="padding-top:3px;padding-right:5px;"><div style="width:367px"><!-- Begin http://chatwing.com chatbox -->
<iframe src="//www.ustream.tv/socialstream/413577" style="border: 0 none transparent;" frameborder="no" width="363" height="295"></iframe><br /><!-- End http://chatwing.com chatbox --></div>
                        <div style="float:right;position:relative;text-align:right;padding-right:5px;padding-top:3px;"><font style="line-height:5px;"></font><!--
Skype 'My status' button
http://www.skype.com/go/skypebuttons
-->
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<a href="skype:kptv_fm?call"><img src="http://mystatus.skype.com/smallclassic/kptv_fm" style="border: none;" width="90" height="18" alt="Suna" /></a>

</div>
                        </td>
                    </tr>
                </table>                
            </td>
        </tr>        
        <tr>
            <td colspan="2" align="center">
                <script type="text/javascript">

                var socialfeed=new gfeedpausescroller("example2", "example2class", 6000, "_blank")                
                socialfeed.addFeed("Deutsche Welle Romania", "http://rss.dw-world.de/xml/rss-rom-rom") //Specify "label" plus URL to RSS feed
                //socialfeed.addFeed("RFI Romania Politica", "http://www.rfi.ro/rss/politica.rss") //Specify "label" plus URL to RSS feed
                //socialfeed.addFeed("RFI Romania Politica", "http://www.rfi.ro/taxonomy/term/7/all/feed.xml") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Politica", "http://rss.dw-world.de/xml/rss-rom-pol") //Specify "label" plus URL to RSS feed
                //socialfeed.addFeed("RFI Romania Cultural", "http://www.rfi.ro/rss/cultural.rss") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Europa", "http://rss.dw-world.de/xml/rss-rom-eu") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Societate", "http://rss.dw-world.de/xml/rss-rom-societate") //Specify "label" plus URL to RSS feed
                //socialfeed.addFeed("RFI Romania Sport", "http://www.rfi.ro/rss/sport.rss") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Economie", "http://rss.dw-world.de/xml/rss-rom-eco") //Specify "label" plus URL to RSS feed
                //socialfeed.addFeed("RFI Romania Social-Economic", "http://www.rfi.ro/rss/social-economic.rss") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Revista Presei", "http://rss.dw-world.de/xml/rss-rom-press") //Specify "label" plus URL to RSS feed
                socialfeed.addFeed("Deutsche Welle Cultura", "http://rss.dw-world.de/xml/rss-rom-cul") //Specify "label" plus URL to RSS feed                
                socialfeed.displayoptions("label") //show the specified additional fields
                socialfeed.setentrycontainer("li") //Display each entry as a DIV
                socialfeed.filterfeed(10, "label") //Show 10 entries, sort by label
                socialfeed.entries_per_page(5)
                socialfeed.init() //Always call this last
                
                </script>
            </td>
        </tr>
        <tr>
          <td align="right"><?= $ban[3]; ?></td>
            <td align="left"><?= $ban[4]; ?></td>
        </tr>
    </table>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20594419-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>
<?php
mysql_free_result
($result);
?>
x

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