<IfModule mod_rewrite.c>

RewriteEngine on
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^show([1-9]+[0-9]*).html$ show.php?id=$1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([1-9]+[0-9]*)$ ?page=$1

</IfModule>