<Files *.tpl>
Order Allow,Deny    
Deny from all
</Files>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^index\.html$ index.php/index/index/ [L,NC]
RewriteRule ^help\.html$ index.php/others/help/ [L,NC]
RewriteRule ^hotellist-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.*?)-([0-9]+)-([0-9]+)-(.*?)$ $9cid/$1/rid/$2/address/$3/star/$4/chain/$5/keyword/$6/page/$7/sort/$8 [C,NC]
RewriteRule ^([0-9]+)-([0-9]+)-(.*?)\.html(.*?)$ index.php/hotel/hotellist/$4/lowprice/$1/highprice/$2/pos/$3/ [QSA,L,NC]
RewriteRule ^hotelview-([0-9]+)\.html$ index.php/hotel/hotelview/hid/$1/ [L,NC]
RewriteRule ^hotelcomment-([0-9]+)\.html$ index.php/hotel/hotelcomment/hid/$1/ [L,NC]
RewriteRule ^hotelpicture-([0-9]+)\.html$ index.php/hotel/hotelpicture/hid/$1/ [L,NC]
RewriteRule ^hoteltransport-([0-9]+)\.html$ index.php/hotel/hoteltransport/hid/$1/ [L,NC]
RewriteRule ^hotelarounds-([0-9]+)\.html$ index.php/hotel/hotelarounds/hid/$1/ [L,NC]
RewriteRule ^hotelaround-([0-9]+)-([0-9]+)\.html$ index.php/hotel/hotelaround/hid/$1/tid/$2/ [L,NC]
RewriteRule ^hotelquestion-([0-9]+)\.html$ index.php/hotel/hotelquestion/hid/$1/ [L,NC]
RewriteRule ^hotelvideo-([0-9]+)\.html$ index.php/hotel/hotelvideo/hid/$1/ [L,NC]
RewriteRule ^chain-([0-9]+)\.html$ index.php/special/chain/chainid/$1/ [L,NC]
RewriteRule ^chains\.html$ index.php/special/chains/ [L,NC]
RewriteRule ^cities\.html$ index.php/special/cities/ [L,NC]
RewriteRule ^special\.html$ index.php/special/special/ [L,NC]
RewriteRule ^metro\.html$ index.php/special/metro/ [L,NC]
RewriteRule ^station\.html$ index.php/special/station/ [L,NC]
RewriteRule ^airport\.html$ index.php/special/airport/ [L,NC]
RewriteRule ^schools\.html$ index.php/special/schools/ [L,NC]
RewriteRule ^school-([0-9]+)\.html$ index.php/special/school/cid/$1/ [L,NC]