лично у меня инклуд в строке выдал ошибку
Warning: include(test1.php </h1>) [function.include]: failed to open stream: Invalid argument in W:\home\testsimple\www\test\index.php on line 37
Warning: include() [function.include]: Failed opening 'test1.php </h1>' for inclusion (include_path='.;/usr/local/php5/PEAR') in W:\home\testsimple\www\test\index.php on line 37
отсюда считаю, что целесообразней использовать file_get_contents();
вот так
if($set_user['skin'] == 'default'){
$a ='1';
}elseif($set_user['skin'] == 'oz'){
$a = '2';
}else{
$a = false;
}
if ($a)
echo '<div class="topmenu2"> ' . file_get_contents('http://site.ru/dir/page' . $a . '.php') . ' </div>';