1. can't call variable inside include
2. for your work, I suggest you do

if (index){
$themedir = '/theme/default';
}else{
$themedir = ' '/theme/default2';
}

load $themedir


hope this will help you guy