אני מאמין שיש לך כמה באגים באתר
רק ליתר ביטחון תשים את הקוד הזה את השורות האלה
PHP קוד:
include ("config.php");
$query = mysql_query("SELECT * FROM server ORDER BY id DESC");
while ($row = mysql_fetch_array($query))
{
$active = $row['active'];
$clanpub = $row['cp'];
if ($active == 'פעיל')
if ($clanpub == 'public' OR $clanpub == 'clan')
{{
echo <<<html
<tr>
<td align=center>{$row['id']}</td>
<td align=center>{$row['name']}</td>
<td align=center>{$row['ip']}</td>
<td align=center>{$row['cp']}</td>
<td align=center>{$row['nop']}</td>
</tr>
html;
}}
}
אני מקווה ששמת גם HTMLSPECIALCHARS על שאר המשתנים
אורי.