problem after formating the server

Hi

I have a website that I programmed by my self,
It was o.k. with no problem at all, but I recently format my server and installed every thing again, and after that this error came to the site

The problem is there is the category page of my articles section don’t view the articles

But the articles it self can be viewed!!!

I didn’t touch any thing in my code
Just format my server and the problem observe

Server information: http://www.racing4e.com/info.php

Page problem page: http://www.racing4e.com/articles_category5.html

Part of the PHP source file:
PHP Code:
include("config.php");
if(isset(
$topic)){
$query=mysql_query("SELECT * FROM topics WHERE $topic=id");
while(
$result=mysql_fetch_array($query)){
$articles_category .= "
<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" border=\"0\" bgcolor=\"#f2f2f2\">
<tbody valign=\"top\">
<tr>
<td bgcolor=\"#cecece\">
<img height=\"3\" src=\"http://www.racing4e.com/templates/racing4e/images/spacer.gif\" alt=\"www.racing4e.com\" width=\"1\" /></td>
</tr>
<tr>
<td height=\"1\">&nbsp;</td>
</tr>
<tr>
<td>
<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#f2f2f2\">
<tbody valign=\"top\">
<tr>
<td align=\"center\">
$result[name]
</td>
<td align=\"center\">
$result[description]
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height=\"1\">&nbsp;</td>
</tr>
<tr>
<td bgcolor=\"#cecece\">
<img height=\"3\" src=\"http://www.racing4e.com/templates/racing4e/images/spacer.gif\" alt=\"www.racing4e.com\" width=\"1\" /></td>
</tr>
</tbody>
</table>"
;
}

$site_template->register_vars("articles_category"$articles_category);
unset(
$articles_category); 
The PHP code above is compiled by the html template in my html template engine
It’s the same template engine that 4images used

The .htaccess source for the file above
Code:
RewriteRule ^articles_category([0-9]+)\.html$ articles_category.php?topic=$1&%{QUERY_STRING}
That is the problem exactly?
Is it something I done in the system software?



I hope that someone can help me here problem after formating the server

 

 

 

 

Top