<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>
	<tr> 
    <td align="right" class='story'>
    <?php if(!empty($conf['theme_selector'])){ ?>
    <?php echo $BL->props->lang['change_theme']; ?>
    <select name="theme" id="theme" size="1" class='accountlabInput' onchange="javascript:changeTheme('<?php echo $page; ?>',this.options[this.selectedIndex].value);">
    <?php foreach ($BL->theme_list as $theme){ ?>
    <option value='<?php echo $theme; ?>' <?php echo (THEMEDIR == $theme)?"selected":""; ?>><?php echo ucfirst(str_replace("_", " ",$theme)); ?></option>
    <?php } ?>
    </select>
    <?php } ?>
    <?php if(!empty($conf['lang_selector'])){ ?>
    <?php echo $BL->props->lang['change_lang']; ?>
    <select name="lang" id="lang" size="1" class='accountlabInput' onchange="javascript:changeLang('<?php echo $page; ?>',this.options[this.selectedIndex].value);">
    <?php foreach ($BL->lang_array as $language) { ?>
    <option value='<?php echo $language; ?>' <?php echo ($language == LANGUAGE)?"selected":""; ?>><?php echo ucfirst($language); ?></option>
    <?php } ?>
    </select> 
    <?php } ?> 
    </td>
	</tr>
</table>