Oh, to the comment Mário Gamito a tip … so your webserver shows not up php error … but there are some in the code … you have to use always ‘ instead of ’
for example here:
$this_dir = dirname(__FILE__).’/’; <<< wrong
$this_dir = dirname(__FILE__).’/’; <<< right
define(’WP_USE_THEMES’, true); <<< wrong
define(‘WP_USE_THEMES’, true); <<< right
require(’./wp/wp-blog-header.php’); <<< wrong
require(‘./wp/wp-blog-header.php’); <<< right
if wordpress is on root:
require(‘./wp-blog-header.php’);
Try it out. Hope it helps.