When I using:

www.mysite.com/chevereto

Everything looks good.

But when i using subdomain:

www.chevereto.mysite.com

I see this view:

http://img502.imageshack.us/img502/6060/beztytuuwb.jpg

Why? Plz help me sad sad sad

OK I find out, in index.php replece:

<input tabindex="2" value="[url=<?=$URLvim?>][img]<?=$URLthm?>[/img][/url]" onclick="this.focus();this.select();"

>>>>

<input tabindex="2" value="[url=<?=$URLimg?>][img]<?=$URLthm?>[/img][/url]" onclick="this.focus();this.select();"

No viewer - no problem tongue

AuthName "Restricted Area" 
AuthType Basic 
AuthUserFile /home/full/path/to/thepasswordfile/.htpasswd 
AuthGroupFile /dev/null 
<Files *.php>
require valid-user
</Files>
<Files *.js>
require valid-user
</Files>

it's cool, I can see the uploaded direct images but...
When I click on thumbnails a can't see viewer (it's restricted area). How to fix it?
plz help sad