C:\xampp\htdocs\kptv2\backup_ro\lastfive.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
<html>
<head>
<link href="../style/style.css" rel="stylesheet" type="text/css">
<META HTTP-EQUIV="refresh" CONTENT="50">
</head>
<body bgcolor="#171717">
<?php

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

$la mysql_query("SELECT * FROM lastfive ORDER BY date DESC LIMIT 5");
echo 
'<table cellpadding="5" cellspacing="0" border="0" summary="" style="padding:5px;" align="center">';
$i "1";
while(
$myrow mysql_fetch_array($la)){
    echo 
'<tr>
        <td><span class="title5">'
.$i.'</span></td>
        <td><img src="images/icon.gif" alt=""></td>
        <td class="tit5"><span class="title5">'
.substr($myrow['0'], 020).'</span><span class="author5"><br>'.substr($myrow['1'], 020).'</span></td>
    </tr>'
;
    
$i++;
}
echo 
'</table>';
?>
</body>
</html>
x

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