Server script for xshop.

All script except config.php.