RewriteEngine on
RewriteBase /fgames/
RewriteRule ^index.html$ index.php [NC,L]
RewriteRule ^newgame.html$ index.php?act=newgames [NC,L]
RewriteRule ^rating.html$ index.php?act=rating [NC,L]
RewriteRule ^myflash.html$ index.php?act=myflash [NC,L]
RewriteRule ^catalog/([^/]*)/([^/]*)$ index.php?act=cat&id=$1&names=$2 [NC,L]
#Сортировка
RewriteRule ^catalogt/([^/]*)/([^/]*)/([^/]*)$ index.php?act=cat&id=$1&names=$2&cat=$3 [NC,L]
RewriteRule ^catalogr/([^/]*)/([^/]*)/([^/]*)$ index.php?act=cat&id=$1&names=$2&ratcat=$3 [NC,L]
RewriteRule ^catalogc/([^/]*)/([^/]*)/([^/]*)$ index.php?act=cat&id=$1&names=$2&count=$3 [NC,L]

RewriteRule ^game/([^/]*)/([^/]*)/([^/]*)$ index.php?act=game&nam=$1&idm=$2&id=$3 [NC,L]
RewriteRule ^kom_([^/]*)_([^/]*)_([^/]*)$ index.php?act=koms&id=$1&name=$2&idm=$3 [NC,L]
#Рейтинг
RewriteRule ^plus_([^/]*)_([^/]*)_([^/]*)_([^/]*)_([^/]*)_([^/]*)$ index.php?act=rat&id=$1&plus=$2&user=$3&fail=$4&nam=$5&idm=$6 [NC,L]
RewriteRule ^minus_([^/]*)_([^/]*)_([^/]*)_([^/]*)_([^/]*)_([^/]*)$ index.php?act=rat&id=$1&minus=$2&user=$3&fail=$4&nam=$5&idm=$6 [NC,L]

RewriteRule ^myok_([^/]*)_([^/]*)_([^/]*)$ index.php?act=onflash&id=$1&nam=$2&idm=$3 [NC,L]

AddType image/png .png
AddType image/jpeg .jpg
AddType image/jpeg .jpe
AddType image/jpeg .jpeg
AddType image/gif .gif
AddType application/x-shockwave-flash .swf
