-/** get theme from GET */
-if (sqgetGlobalVar('themeid',$themeid,SQ_GET) &&
- file_exists(SM_PATH . 'themes/'.basename($themeid,'.php').'.php')) {
- include_once(SM_PATH . 'themes/'.basename($themeid,'.php').'.php');
-} elseif (file_exists($theme[$theme_default]['PATH'])) {
- include_once($theme[$theme_default]['PATH']);
-}
-
-/**
- * Get text direction
- */
-if (sqgetGlobalVar('dir',$text_direction,SQ_GET) &&
- $text_direction == 'rtl') {
- $align = array('left' => 'right', 'right' => 'left');
-} else {
- $align = array('left' => 'left', 'right' => 'right');
-}
-
-/**/
-$oTemplate->assign('color', $color);
-