</tr><tr class="TableSMenuRow3">
<td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=enablesthemes",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Enable SQLThemes</a></td>
<?php } ?>
-</tr><tr class="TableSMenuRow3">
+</tr><!--<tr class="TableSMenuRow3">
<td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=themelist",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Download Themes</a></td>
<?php if($Settings['SQLThemes']=="on") { ?>
-</tr><tr class="TableSMenuRow3">
+</tr>--><tr class="TableSMenuRow3">
<td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=resyncthemes",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Resync Themes</a></td>
-<?php } ?>
+<?php } if($Settings['SQLThemes']=="on") { ?>
</tr><tr class="TableSMenuRow3">
+<?php } if($Settings['SQLThemes']=="off") { ?>
+</tr>--><tr class="TableSMenuRow3">
+<?php } ?>
<td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=optimize",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Optimize Tables</a></td>
<?php } ?>
</tr><tr class="TableSMenuRow3">