C:\xampp2_not used\htdocs\kptv\ro\footertest.tpl.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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
                        <td valign="top" style="border-right: 1px solid #5D5C5C" bgcolor="#252525" width="193">

                                        <table cellpadding="0" cellspacing="0" border="0" summary="" width="193">

                                            <!--tr>

                                                <td bgcolor="#252525" height="23" class="adr">CAUTARE</td>

                                            </tr-->
                                            <?php
                                            
if ($_GET['pg'] == "articole") {
                                            
?>
                                            <tr>

                                                <td style="background:url(images/cautare_back.gif); background-repeat: no-repeat;border-bottom: 1px solid #5D5C5C;" width="193" height="62">
                                                    <form name="catsearch" method="POST" action="index.php?pg=rezultate">
                                                    <table cellpadding="0" cellspacing="0" border="0" summary="" align="center">
                                                        <tr>
                                                            <td style="padding-right:8px;"><input type="text" name="term" size="17" class="textBox"></td>
                                                            <td height="1"><input type="image" src="images/cautare.gif" name="submit" /></a></td>
                                                        </tr>
                                                    </table>
                                                    </form>

                                                </td>

                                            </tr>
                                            
                                            <?php
                                            
}
                                            
?>
                                            
                                            <tr>

                                                <td bgcolor="#252525" height="23" class="adr" width="193">SOCIALIZARE</td>

                                            </tr>

                                            <tr>

                                                <td bgcolor="#171717" class="adr" align="center" style="border-bottom: 1px solid #5D5C5C;" width="193" height="30"><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4c99f048778c8d0b" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c99f048778c8d0b"></script>
<script language="JavaScript">
    var mouseE = true; //marquee is running, mouse event
    
    function function1(){
        document.all.myMarquee.stop();
        if (mouseE == true){
            setTimeout("function2()",10000);
        }    
    }
    function function2(){
        document.all.myMarquee.start();
        if (mouseE == true){
            setTimeout("function1()",1000);
        }
    }
    function function3(){
        document.all.myMarquee.stop();
        mouseE = false;
        //setTimeout("function2()",10000);
    }
    function function4(){
        mouseE = true;
        function2();    
        //setTimeout("function1()",3000);
    }
    
    setTimeout("function1()",3000);
    
</script>
<!-- AddThis Button END --> 
</td>
                                            </tr>                                        
                                                    
                                                    <?php
                                                    
require_once("../conf_/siteconf_.php");
                                                    require_once(
$LIBPATH "utilfunc.php");    
                                                    require_once(
"../admin/dbconn.php");
                                                    if(
$dbConn) {
                                                        
                                                            
                                                            
$day date("j");
                                                            
$month date("n");
                                                                
                                                            
                                                        
                                                                
                                                            
$sql "SELECT * FROM today WHERE DayRO = ".$day." AND MonthRO = ".$month." ORDER BY YearRO";    
                                                        
                                                                
                                                        
$result = @mysql_query($sql);    
                                                        
$numnow_rows mysql_num_rows($result);
                                                        
                                                    
$news "";
                                                    if (
$numnow_rows !== 0)    {
                                                                
                                                        while (
$row mysql_fetch_array($resultMYSQL_ASSOC)) {        
                                                            
$astazi '<tr>

                                                                <td bgcolor="#252525" height="23" class="adr" width="193">ASTAZI IN MUZICA</td>
            
                                                                </tr>
            
                                                                <tr>
            
                                                                    <td bgcolor="#171717" class="adr" width="193">
                                                                        <marquee id="myMarquee" scrollamount="12" scrolldelay="7" direction="up" width="180" height="250" style="font-family: Verdana; font-size: 8pt; font-weight:normal!important" onmouseover="function3();" onmouseout="function4();" >'
.$row['ContentRO'].'
                                                                        </marquee><br><br>
                                                                        <a href="index.php?pg=astazi" class="detali">Pentru mai multe click aici</a><br>
                                                                    </td>
            
                                                                </tr>'
;
                                                           }       
                                                                    
                                                        
$pattern '/(\d+){4} -/i';
                                                        
$replacement '<strong class="yearN">${0}</strong>';
                                                        echo 
preg_replace($pattern$replacement$astazi);    
                                                          
                                                    }
                                                            }
?>
                                                    
                                                    

                                            <!--tr>
                                                <td><input type="button" value="Start" onClick="function2();">
<input type="button" value="Stop" onClick="function1();"></td>
                                            </tr-->
                                            <tr>

                                                <td bgcolor="#252525" height="23" class="adr" width="193">VREMEA IN TIRGU MURES</td>

                                            </tr>

                                            <tr>

                                                <td bgcolor="#171717" class="adr" align="center" style="border-bottom: 1px solid #5D5C5C;" width="193">

                                                    <table cellpadding="0" cellspacing="0" border="0" summary="" align="center" width="193">

                                                        <tr>

                                                            <td class="wea" align="center">

                                                            <!--a href="http://www.wunderground.com/global/stations/15145.html?bannertypeclick=infobox"><img src="http://banners.wunderground.com/weathersticker/infobox_metric/language/www/global/stations/15145.gif" border=0 alt="Click for Targu Mures, Romania Forecast" height=108 width=144></a-->

                                                            <!-- START COD VREME INFOPORTAL -->

                                                            <SCRIPT language='JavaScript' type='text/javascript'>

                                                            <!--

                                                            infop_color_title = '171717';

                                                            infop_color_border = '171717';

                                                            infop_color_bg_title = '171717';

                                                            infop_border_width = '0';

                                                            infop_color_bg = '171717';

                                                            infop_color_link = '626378';

                                                            infop_color_text = 'FFFFFF';

                                                            infop_font_family = 'Verdana';

                                                            infop_font_size = '10';

                                                            -->

                                                            </script>

                                                            <!--NOSCRIPT><a href="http://vremea.infoportal.ro">vremea</a></NOSCRIPT-->

                                                            <!--SCRIPT language='JavaScript' type='text/javascript' src='http://www.infoportal.ro/get_data~tip-vreme~oras-21~model-thin.html'></SCRIPT-->

                                                            <!-- SFARSIT COD VREME INFOPORTAL -->
                                                            <br>
                                                            <!--span style="font-size:12px;color:#FFFFFF;"><a style="color:#FFCC00;" href="http://www.meteovremea.com">Meteo in Tirgu Mures </a><span id="weather_single" style="color:#FFFFFF;"></span><a href="http://www.travelro.ro">Hoteluri</a><script type="text/javascript" src="http://www.meteovremea.com/forecast/getforecast/71/1/2/1"></script></span-->
                                                            <!-- Inceput cod www.vremea-meteo.com vremea prognoza meteo starea vremii weather forecast romania -->
                                                            <table border=0 cellspacing=0 cellpadding=0 width=150 height=250><tr><td>
                                                            <iframe src="http://www.vremea-meteo.com/prognoza/coduri/cod1a.asp?url=RO028|TIRGU MURES" width=150 height=250 frameborder=0 scrolling=no></iframe>
                                                            <center><a href=http://www.vremea-meteo.com target=blank><font face=Verdana size=1 color=AAAAAA>vremea-meteo.com</font></a></center>
                                                            </td></tr></table>
                                                            <!-- Sfarsit cod www.vremea-meteo.com vremea prognoza meteo starea vremii weather forecast romania -->
                                                            <br><br>
                                                            </td>

                                                        </tr>

                                                    </table>

                                                </td>

                                            </tr>

                                            <tr>

                                                <td bgcolor="#252525" height="23" class="adr" width="193">CURSUL VALUTAR</td>

                                            </tr>

                                            <tr>

                                                <td bgcolor="#171717" class="adr" width="193">

                                                    <table cellpadding="0" cellspacing="0" border="0" summary="" align="center" width="193">

                                                        <tr>

                                                            <td align="center"><img src="images/money.gif" alt=""></td>

                                                        </tr>

                                                        <tr>

                                                            <td align="center" class="tit5" width="100%">

                                                                <!-- START COD CURS VALUTAR INFOPORTAL -->

                                                                <SCRIPT language='JavaScript' type='text/javascript'>

                                                                <!--

                                                                infop_color_title = '171717';

                                                                infop_color_border = '5D5C5C';

                                                                infop_color_bg_title = '171717';

                                                                infop_border_width = '0';

                                                                infop_color_bg = '171717';

                                                                infop_color_link = 'FFCB00';

                                                                infop_color_text = 'FFFFFF';

                                                                infop_font_family = 'Verdana';

                                                                infop_font_size = '10';

                                                                -->

                                                                </script>

                                                                <NOSCRIPT><a href="http://cursvalutar.infoportal.ro">curs valutar</a></NOSCRIPT>

                                                                <SCRIPT language='JavaScript' type='text/javascript' src='http://www.infoportal.ro/get_data~tip-cursvalutar~display-featured.html'></SCRIPT>

                                                                <!-- SFARSIT COD CURS VALUTAR INFOPORTAL -->

                                                            </td>

                                                        </tr>                                                    

                                                    </table>

                                                </td>

                                            </tr>

                                            <tr>

                                                <td bgcolor="#171717" style="border-top: 1px solid #5D5C5C;border-bottom: 1px solid #5D5C5C;padding-top:30px;padding-bottom:30px;" align="center" width="193"><?= $ban[9]; ?></td>

                                            </tr>
                                            
                                            <tr>

                                                <td bgcolor="#252525" height="23" class="adr" width="193">PARTENERI</td>

                                            </tr>                                                                                
                                            
                                            
                                            <tr>

                                                <td bgcolor="#171717" width="193"><?= $ban[10]; ?></td>

                                            </tr>
                                            <tr>

                                                <td bgcolor="#171717" align="center" width="193">
                                                    <!-- START COD PROGRAM TV -->
                                                    <SCRIPT language='JavaScript'>
                                                    // <![CDATA[
                                                    bascalie_box_width = '160';
                                                    bascalie_box_height = 'auto';
                                                    bascalie_box_title = 'Program TV';
                                                    bascalie_color_title = 'FFCC00';
                                                    bascalie_color_border = '5A5C5C';
                                                    bascalie_color_bg_title = '5A5C5C';
                                                    bascalie_border_width = '0';
                                                    bascalie_color_bg = '171717';
                                                    bascalie_color_link = 'FFCC00';
                                                    bascalie_color_text = '5C5C5C';
                                                    bascalie_font_family = 'Verdana';
                                                    bascalie_font_size = '11';
                                                    // ]]>
                                                    </script>
                                                    <script language='JavaScript' src='http://www.filmoteca.ro/get_data?cmd=tv_v1'></script>
                                                    <noscript><a href="http://www.filmoteca.ro/program_tv" target="_blank">Program TV</a></noscript>
                                                    <!-- SFARSIT COD PROGRAM TV -->

                                                    <br>
                                                    <!--/ GTop.ro - cel mai complex monitor de statistici (begin) v0.1/--> 

                                                    <script type="text/javascript" language="javascript"> 
                                                    var site_id = 17700; 
                                                    </script><script type="text/javascript" language="javascript" src="http://fx.gtop.ro/js/gTOP.js">
                                                    </script>
                                                    <noscript><a href="http://www.gtop.ro/">GTop.ro - tu unde te pozitionezi ? </a></noscript>

                                                    <!--/ GTop.ro - cel mai complex monitor de statistici (end) v0.1/-->

                                                    </td>

                                            </tr>

                                        </table>

                                    </td>

                                </tr>

                            </table>

                        </td>

                    </tr>

                </table>

            </td>

            <td style="background:url(images/shadow_right.gif); background-repeat: repeat-y;" width="25" height="100%">&nbsp;</td>

        </tr>

        <tr>

            <td style="background:url(images/shadow_left.gif); background-repeat: repeat-y;" width="25" height="100%">&nbsp;</td>

            <td bgcolor="#252525" align="center" style="border-left: 1px solid #5D5C5C;border-right: 1px solid #5D5C5C">

                <table cellpadding="0" cellspacing="0" border="0" align="center" style="border-left: 1px solid #B4B9BC;border-right: 1px solid #B4B9BC" width="100%">

                    <tr>

                        <td colspan="3" bgcolor="#150F0F" align="center">

                            <table cellpadding="0" cellspacing="0" border="0" summary="" align="center">

                                <tr>

                                    <td><a href="index.php?pg=articole"><img src="images/menu/legende.gif" alt="" border="0"></a></td>

                                    <td><a href="index.php?pg=page&amp;id=<?= $interviu_pgID ?>"><img src="images/menu/inter.gif" alt="" border="0"></a></td>

                                    <td><a href="index.php?pg=foto"><img src="images/menu/album.gif" alt="" border="0"></a></td>

                                    <td><a href="http://forum.kptv.ro" target="_blank"><img src="images/menu/forum.gif" alt="" border="0"></a></td>

                                    <td><a href="index.php?pg=page&amp;id=<?= $contactUs_pgID ?>"><img src="images/menu/contact.gif" alt="" border="0"></a></td>

                                </tr>

                            </table>

                        </td>

                    </tr>

                </table>

            </td>

            <td style="background:url(images/shadow_right.gif); background-repeat: repeat-y;" width="25" height="100%">&nbsp;</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>
x

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