function PreviewThemeIframe($theme, $theme_info)
 {
     global $langmessage, $config, $page;
     admin_tools::$show_toolbar = false;
     $theme_id = dirname($theme);
     $template = $theme_info['folder'];
     $color = $theme_info['color'];
     $display = htmlspecialchars($theme_info['name'] . ' / ' . $theme_info['color']);
     $display = str_replace('_', ' ', $display);
     $this->LoremIpsum();
     $page->gpLayout = false;
     $page->theme_name = $template;
     $page->theme_color = $color;
     $page->theme_dir = $theme_info['full_dir'];
     $page->theme_rel = $theme_info['rel'] . '/' . $color;
     if (isset($theme_info['id'])) {
         $page->theme_addon_id = $theme_info['id'];
     }
     $page->theme_path = common::GetDir($theme_info['rel'] . '/' . $color);
     $page->show_admin_content = false;
 }