Try
Plugin:
PHP Code:
include('./status.config.php');
//$gi = $db->query_read("SELECT * FROM gameinfo");
$gameinfo = $db->query_first("SELECT * FROM gameinfo");
eval('$gameinfo_template = "' . fetch_template('gameinfo_template') . '";');
gameinfo_template
HTML Code:
<table class='sborder' cellpadding='4' cellspacing='0' width='965px'>
<tbody>
<tr>
<td height='20px' width='750px'></td>
<td height='20px' width='5px'></td>
<td height='20px' width='180px'></td>
<td height='20px' width='20px'></td>
</tr>
<tr>
<td class='statusspacer' width='750px'></td>
<td class='maplineleft' width='5px'></td>
<td class='mapline' width='180px'>Map: $gameinfo[map]</td>
<td class='maplineright' width='20px'></td>
</tr>
<tr>
<td height='5px' width='750px'></td>
<td height='5px' width='5px'></td>
<td height='5px' width='180px'></td>
<td height='5px' width='20px'></td>
</tr>
<tr>
<td class='statusspacer' width='750px'></td>
<td class='gdilineleft' width='5px'></td>
<td class='gdiline' width='180px'><a href='#'>GDI: $gameinfo[gdi] - $gameinfo[gdiscore] points</a></td>
<td class='gdilineright' width='20px'></td>
</tr>
<tr>
<td height='5px' width='750px'></td>
<td height='5px' width='5px'></td>
<td height='5px' width='180px'></td>
<td height='5px' width='20px'></td>
</tr>
<tr>
<td class='statusspacer' width='750px'></td>
<td class='nodlineleft' width='5px'></td>
<td class='nodline' width='180px'><a href='#'>Nod: $gameinfo[nod] - $gameinfo[nodscore] points</a></td>
<td class='nodlineright' width='20px'></td>
</tr>
<tr>
<td height='5px' width='750px'></td>
<td height='5px' width='5px'></td>
<td height='5px' width='180px'></td>
<td height='5px' width='20px'></td>
</tr>
<tr>
<td class='statusspacer' width='750px'></td>
<td class='infolineleft' width='5px'></td>
<td class='infoline' width='180px'>Time: $gameinfo[timeleft] SFPS: $gameinfo[sfps]</td>
<td class='infolineright' width='20px'></td>
</tr>
</tbody>
</table>