What's new

-Acc records.php pod gesior acc tfs 0.2 !

Status
Not open for further replies.

RoyPL

Advanced User
Joined
Apr 29, 2010
Messages
313
Reaction score
20
Wi?c tak jak w temacie. Nie dzia?a mi records.php pod tfs 0.2 ( 8.1 ) .
Nie wiem czy jest to brak jakich? kolwiek kod?w w bazie danych czy po prostu skrypt si? nie zgadza z wersj? tfsa .

Wi?c tutaj pisze ... podam m?j skrypt i chcia?bym si? dowiedzie? co z nim nie tak .. Znaczy na klientach w zwy? pono? dzia?a ten skrypt, a na moim acc pokazuje tylko tabelke tutaj jest pokazany efekt tego co mi ten skrypt daje :



A tu umieszczam skrypt :
Code:
<?PHP
$main_content = '<center><h3>Players online records on '.$config['server']['serverName'].'</h3></center><table border="0" cellspacing="1" cellpadding="4" width="100%"><tr bgcolor="'.$config['site']['vdarkborder'].'"><td class="white" align="center"><b>Players</b></td><td class="white" align="center"><b>Date</b></td></tr>'; $i=0;
foreach($SQL->query('SELECT timestamp,record FROM server_record WHERE record!=0 ORDER BY record DESC LIMIT 25') as $k) {
	$i++;
	$main_content .= '<tr bgcolor="'.$config['site'][is_int($i/2) ? 'lightborder' : 'darkborder'].'"><td align="center">'.$k['record'].'</td><td align="center">'.date('d/m/Y, G:i:s', $k['timestamp']).'</td></tr>';
}
$main_content .= '</table>';
?>
 

RoyPL

Advanced User
Joined
Apr 29, 2010
Messages
313
Reaction score
20
Odp: records.php pod gesior acc tfs 0.2 !

Refresh​
 
Status
Not open for further replies.
Top