1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00
php-e107/e107_themes/bootstrap/admin_theme.php
2013-03-03 20:54:08 -08:00

677 lines
19 KiB
PHP

<?php
if ( ! defined('e107_INIT')) { exit(); }
define('STANDARDS_MODE', TRUE);
// define("VIEWPORT","width=device-width, initial-scale=1.0");
define("VIEWPORT","width=1080");
define("SEP"," <i class='icon-play e-breadcrumb'></i> ");
e107::lan('theme');
e107::js('core','bootstrap/js/bootstrap.min.js');
e107::css('core','bootstrap/css/bootstrap.min.css');
e107::css('core','bootstrap/css/bootstrap-responsive.min.css');
e107::css('core','bootstrap/css/jquery-ui.custom.css');
//e107::css('core','bootstrap/css/demo.css');
e107::css('theme','ie_all.css',null,'all',"<!--[if IE]>","<![endif]-->");
/*
$drop = "
$(function() {
$('.navbar .dropdown').hover(function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown()
}, function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideUp('fast')
});
});
";
e107::js("inline",$drop);
*/
// e107::js("inline","$('.dropdown-toggle').toggle('slow');");
if(defined('TEXTDIRECTION') && file_exists(THEME.'/menu/menu_'.strtolower(TEXTDIRECTION).'.css'))
{
// e107::css('theme','menu/menu_'.strtolower(TEXTDIRECTION).'.css');
}
else
{
// e107::css('theme','menu/menu.css');
}
// $register_sc[]='FS_ADMIN_ALT_NAV';
$no_core_css = TRUE;
if (!defined('E_32_ADMIN')) {
define('E_32_ADMIN', "<i class='S32 e-admins-32'></i>");
}
if (!defined('E_32_ADPASS')) {
define('E_32_ADPASS', "<i class='S32 e-adminpass-32'></i>");
}
if (!defined('E_32_BANLIST')) {
define('E_32_BANLIST', "<i class='S32 e-banlist-32'></i>");
}
if (!defined('E_32_CACHE')) {
define('E_32_CACHE', "<i class='S32 e-cache-32'></i> ");
}
if (!defined('E_32_CREDITS')) {
define('E_32_CREDITS', "<i class='S32 e-e107_icon-32.png'></i>");
}
if (!defined('E_32_CRON')) {
define('E_32_CRON', "<i class='S32 e-cron-32'></i> ");
}
if (!defined('E_32_CUST')) {
define('E_32_CUST', "<i class='S32 e-custom-32'></i> ");
}
//if (!defined('E_32_CUSTOMFIELD')) {
// define('E_32_CUSTOMFIELD', "<img class='icon S16' src='".e_IMAGE."admin_images/custom_field_32.png' alt='' />");
//}
if (!defined('E_32_DATAB')) {
define('E_32_DATAB', "<i class='S32 e-database-32'></i> ");
}
if (!defined('E_32_DOCS')) {
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
}
if (!defined('E_32_EMOTE')) {
define('E_32_EMOTE', "<i class='S32 e-emoticons-32'></i> ");
}
if (!defined('E_32_FILE')) {
define('E_32_FILE', "<i class='S32 e-filemanager-32'></i> ");
}
if (!defined('E_32_FORUM')) {
define('E_32_FORUM', "<i class='S32 e-forums-32'></i> ");
}
if (!defined('E_32_FRONT')) {
define('E_32_FRONT', "<i class='S32 e-frontpage-32'></i> ");
}
if (!defined('E_32_IMAGES')) {
define('E_32_IMAGES', "<i class='S32 e-images-32'></i> ");
}
if (!defined('E_32_INSPECT')) {
define('E_32_INSPECT', "<i class='S32 e-fileinspector-32'></i> ");
}
if (!defined('E_32_LINKS')) {
define('E_32_LINKS', "<i class='S32 e-links-32'></i> ");
}
if (!defined('E_32_WELCOME')) {
define('E_32_WELCOME', "<i class='S32 e-welcome-32'></i> ");
}
if (!defined('E_32_MAIL')) {
define('E_32_MAIL', "<i class='S32 e-mail-32'></i> ");
}
if (!defined('E_32_MAINTAIN')) {
define('E_32_MAINTAIN', "<i class='S32 e-maintain-32'></i> ");
}
if (!defined('E_32_MENUS')) {
define('E_32_MENUS', "<i class='S32 e-menus-32'></i> ");
}
if (!defined('E_32_META')) {
define('E_32_META', "<i class='S32 e-meta-32'></i> ");
}
if (!defined('E_32_NEWS')) {
define('E_32_NEWS', "<i class='S32 e-news-32'></i> ");
}
if (!defined('E_32_NEWSFEED')) {
define('E_32_NEWSFEED', "<i class='S32 e-newsfeeds-32'></i> ");
}
if (!defined('E_32_NOTIFY')) {
define('E_32_NOTIFY', "<i class='S32 e-notify-32'></i> ");
}
if (!defined('E_32_PHP')) {
define('E_32_PHP', "<i class='S32 e-phpinfo-32'></i> ");
}
if (!defined('E_32_POLLS')) {
define('E_32_POLLS', "<i class='S32 e-polls-32'></i> ");
}
if (!defined('E_32_PREFS')) {
define('E_32_PREFS', "<i class='S32 e-prefs-32'></i> ");
}
if (!defined('E_32_SEARCH')) {
define('E_32_SEARCH', "<i class='S32 e-search-32'></i> ");
}
if (!defined('E_32_UPLOADS')) {
define('E_32_UPLOADS', "<i class='S32 e-uploads-32'></i> ");
}
if (!defined('E_32_EURL')) {
define('E_32_EURL', "<i class='S32 e-eurl-32'></i> ");
}
if (!defined('E_32_USER')) {
define('E_32_USER', "<i class='S32 e-users-32'></i> ");
}
if (!defined('E_32_USER_EXTENDED')) {
define('E_32_USER_EXTENDED', "<i class='S32 e-extended-32'></i> ");
}
if (!defined('E_32_USERCLASS')) {
define('E_32_USERCLASS', "<i class='S32 e-userclass-32'></i> ");
}
if (!defined('E_32_LANGUAGE')) {
define('E_32_LANGUAGE', "<i class='S32 e-language-32'></i> ");
}
// Large Admin Other Link Images
if (!defined('E_32_PLUGIN')) {
define('E_32_PLUGIN', "<i class='S32 e-plugins-32'></i> ");
}
if (!defined('E_32_PLUGMANAGER')) {
define('E_32_PLUGMANAGER', "<i class='S32 e-plugmanager-32'></i> ");
}
if (!defined('E_32_DOCS')) {
define('E_32_DOCS', "<i class='S32 e-docs-32'></i> ");
}
if (!defined('E_32_MAIN')) {
define('E_32_MAIN', "<i class='S32 e-main-32'></i> ");
}
if (!defined('E_32_THEMEMANAGER')) {
define('E_32_THEMEMANAGER', "<i class='S32 e-themes-32'></i> ");
}
// Large Admin Other Images
if (!defined('E_32_COMMENT')) {
define('E_32_COMMENT', "<i class='S32 e-comments-32'></i> ");
}
if (!defined('E_32_ADMINLOG')) {
define('E_32_ADMINLOG', "<i class='S32 e-adminlogs-32'></i> ");
}
if (!defined('E_32_LOGOUT')) {
define('E_32_LOGOUT', "<i class='S32 e-logout-32'></i> ");
}
if (!defined('E_32_MANAGE')) {
define('E_32_MANAGE', "<i class='S32 e-manage-32'></i> ");
}
if (!defined('E_32_CREATE')) {
define('E_32_CREATE', "<i class='S32 e-add-32'></i> ");
}
if (!defined('E_32_SETTINGS')) {
define('E_32_SETTINGS', "<i class='S32 e-settings-32'></i> ");
}
if (!defined('E_32_SYSINFO')) {
define('E_32_SYSINFO', "<i class='S32 e-sysinfo-32'></i> ");
}
// Small Category Images
if (!defined('E_16_CAT_SETT')) {
define('E_16_CAT_SETT', e_IMAGE.'admin_images/cat_settings_16.png');
}
if (!defined('E_16_CAT_USER')) {
define('E_16_CAT_USER', e_IMAGE.'admin_images/cat_users_16.png');
}
if (!defined('E_16_CAT_CONT')) {
define('E_16_CAT_CONT', e_IMAGE.'admin_images/cat_content_16.png');
}
if (!defined('E_16_CAT_FILE')) {
define('E_16_CAT_FILE', e_IMAGE.'admin_images/cat_files_16.png');
}
if (!defined('E_16_CAT_TOOL')) {
define('E_16_CAT_TOOL', e_IMAGE.'admin_images/cat_tools_16.png');
}
if (!defined('E_16_CAT_PLUG')) {
define('E_16_CAT_PLUG', e_IMAGE.'admin_images/cat_plugins_16.png');
}
if (!defined('E_16_CAT_MANAGE')) {
define('E_16_CAT_MANAGE', e_IMAGE.'admin_images/manage_16.png');
}
if (!defined('E_16_CAT_MISC')) {
define('E_16_CAT_MISC', e_IMAGE.'admin_images/settings_16.png');
}
if (!defined('E_16_CAT_ABOUT')) {
define('E_16_CAT_ABOUT', e_IMAGE.'admin_images/info_16.png');
}
// Large Category Images
if (!defined('E_32_CAT_SETT')) {
define('E_32_CAT_SETT', "<i class='S32 e-cat_settings-32'></i> ");
}
if (!defined('E_32_CAT_USER')) {
define('E_32_CAT_USER', "<i class='S32 e-cat_users-32'></i> ");
}
if (!defined('E_32_CAT_CONT')) {
define('E_32_CAT_CONT', "<i class='S32 e-cat_content-32'></i> ");
}
if (!defined('E_32_CAT_FILE')) {
define('E_32_CAT_FILE', "<i class='S32 e-cat_files-32'></i> ");
}
if (!defined('E_32_CAT_TOOL')) {
define('E_32_CAT_TOOL', "<i class='S32 e-cat_tools-32'></i> ");
}
if (!defined('E_32_CAT_PLUG')) {
define('E_32_CAT_PLUG', "<i class='S32 e-cat_plugins-32'></i> ");
}
if (!defined('E_32_CAT_MANAGE')) {
define('E_32_CAT_MANAGE', "<i class='S32 e-manage-32'></i> ");
}
if (!defined('E_32_CAT_MISC')) {
define('E_32_CAT_MISC', "<i class='S32 e-settings-32'></i> ");
}
if (!defined('E_32_CAT_ABOUT')) {
define('E_32_CAT_ABOUT', "<i class='S32 e-info-32'></i> ");
}
// Small Nav Images
if (!defined('E_16_NAV_MAIN')) {
define('E_16_NAV_MAIN', e_IMAGE.'admin_images/main_16.png');
}
// if (!defined('E_16_NAV_DOCS')) {
// define('E_16_NAV_DOCS', e_IMAGE.'admin_images/docs_16.png');
// }
if (!defined('E_16_NAV_LEAV')) {
define('E_16_NAV_LEAV', e_IMAGE.'admin_images/leave_16.png');
}
if (!defined('E_16_NAV_LGOT')) {
define('E_16_NAV_LGOT', e_IMAGE.'admin_images/logout_16.png');
}
if (!defined('E_16_NAV_ARROW')) {
define('E_16_NAV_ARROW', e_IMAGE.'admin_images/arrow_16.png');
}
if (!defined('E_16_NAV_ARROW_OVER')) {
define('E_16_NAV_ARROW_OVER', e_IMAGE.'admin_images/arrow_over_16.png');
}
// Large Nav Images
if (!defined('E_32_NAV_MAIN')) {
define('E_32_NAV_MAIN', "<i class='S32 e-main-32'></i> ");
}
if (!defined('E_32_NAV_DOCS')) {
define('E_32_NAV_DOCS', "<i class='S32 e-docs-32'></i> ");
}
if (!defined('E_32_NAV_LEAV')) {
define('E_32_NAV_LEAV', "<i class='S32 e-leave-32'></i> ");
}
if (!defined('E_32_NAV_LGOT')) {
define('E_32_NAV_LGOT', "<i class='S32 e-logout-32'></i> ");
}
if (!defined('E_32_NAV_ARROW')) {
define('E_32_NAV_ARROW', "<i class='S32 e-arrow-32'></i> ");
}
if (!defined('E_32_NAV_ARROW_OVER')) {
define('E_32_NAV_ARROW_OVER', "<i class='S32 e-arrow_over-32'></i> ");
}
// Small Admin Main Link Images
if (!defined('E_16_ADMIN')) {
define('E_16_ADMIN', "<i class='S16 e-admins-16'></i>");
}
if (!defined('E_16_ADPASS')) {
define('E_16_ADPASS', "<i class='S16 e-adminpass-16'></i>");
}
if (!defined('E_16_BANLIST')) {
define('E_16_BANLIST', "<i class='S16 e-banlist-16'></i>");
}
if (!defined('E_16_CACHE')) {
define('E_16_CACHE', "<i class='S16 e-cache-16'></i>");
}
if (!defined('E_16_COMMENT')) {
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
}
if (!defined('E_16_CREDITS')) {
define('E_16_CREDITS', "<i class='S16 e-e107_icon-16'></i>");
}
if (!defined('E_16_CRON')) {
define('E_16_CRON', "<i class='S16 e-cron-16'></i>");
}
if (!defined('E_16_CUST')) {
define('E_16_CUST', "<i class='S16 e-custom-16'></i>");
}
if (!defined('E_16_CUSTOMFIELD')) {
define('E_16_CUSTOMFIELD', "<i class='S16 e-custom_field-16'></i>");
}
if (!defined('E_16_DATAB')) {
define('E_16_DATAB', "<i class='S16 e-database-16'></i>");
}
if (!defined('E_16_DOCS')) {
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
}
if (!defined('E_16_EMOTE')) {
define('E_16_EMOTE', "<i class='S16 e-emoticons-16'></i>");
}
if (!defined('E_16_FILE')) {
define('E_16_FILE', "<i class='S16 e-filemanager-16'></i>");
}
if (!defined('E_16_FORUM')) {
define('E_16_FORUM', "<i class='S16 e-forums-16'></i>");
}
if (!defined('E_16_FRONT')) {
define('E_16_FRONT', "<i class='S16 e-frontpage-16'></i>");
}
if (!defined('E_16_IMAGES')) {
define('E_16_IMAGES', "<i class='S16 e-images-16'></i>");
}
if (!defined('E_16_INSPECT')) {
define('E_16_INSPECT', "<i class='S16 e-fileinspector-16'></i>");
}
if (!defined('E_16_LINKS')) {
define('E_16_LINKS', "<i class='S16 e-links-16'></i>");
}
if (!defined('E_16_WELCOME')) {
define('E_16_WELCOME', "<i class='S16 e-welcome-16'></i>");
}
if (!defined('E_16_MAIL')) {
define('E_16_MAIL', "<i class='S16 e-mail-16'></i>");
}
if (!defined('E_16_MAINTAIN')) {
define('E_16_MAINTAIN', "<i class='S16 e-maintain-16'></i>");
}
if (!defined('E_16_MENUS')) {
define('E_16_MENUS', "<i class='icon S16 e-menus-16'></i>");
}
if (!defined('E_16_META')) {
define('E_16_META', "<i class='icon S16 e-meta-16'></i>");
}
if (!defined('E_16_NEWS')) {
define('E_16_NEWS', "<i class='icon S16 e-news-16'></i>");
}
if (!defined('E_16_NEWSFEED')) {
define('E_16_NEWSFEED', "<i class='S16 e-newsfeeds-16'></i>");
}
if (!defined('E_16_NOTIFY')) {
define('E_16_NOTIFY', "<i class='S16 e-notify-16'></i>");
}
if (!defined('E_16_PHP')) {
define('E_16_PHP', "<i class='S16 e-phpinfo-16'></i>");
}
if (!defined('E_16_POLLS')) {
define('E_16_POLLS', "<i class='S16 e-polls-16'></i>");
}
if (!defined('E_16_PREFS')) {
define('E_16_PREFS', "<i class='S16 e-prefs-16'></i>");
}
if (!defined('E_16_SEARCH')) {
define('E_16_SEARCH', "<i class='S16 e-search-16'></i>");
}
if (!defined('E_16_UPLOADS')) {
define('E_16_UPLOADS', "<i class='S16 e-uploads-16'></i>");
}
if (!defined('E_16_EURL')) {
define('E_16_EURL', "<i class='S16 e-eurl-16'></i>");
}
if (!defined('E_16_USER')) {
define('E_16_USER', "<i class='S16 e-users-16'></i>");
}
if (!defined('E_16_USER_EXTENDED')) {
define('E_16_USER_EXTENDED', "<i class='S16 e-extended-16'></i>");
}
if (!defined('E_16_USERCLASS')) {
define('E_16_USERCLASS', "<i class='S16 e-userclass-16'></i>");
}
if (!defined('E_16_LANGUAGE')) {
define('E_16_LANGUAGE', "<i class='S16 e-language-16'></i>");
}
// Small Admin Other Link Images
if (!defined('E_16_PLUGIN')) {
define('E_16_PLUGIN', "<i class='S16 e-plugins-16'></i>");
}
if (!defined('E_16_PLUGMANAGER')) {
define('E_16_PLUGMANAGER', "<i class='S16 e-plugmanager-16'></i>");
}
if (!defined('E_16_DOCS')) {
define('E_16_DOCS', "<i class='S16 e-docs-16'></i>");
}
if (!defined('E_16_THEMEMANAGER')) {
define('E_16_THEMEMANAGER', "<i class='S16 e-themes-16'></i>");
}
// Small Admin Other Images
if (!defined('E_16_COMMENT')) {
define('E_16_COMMENT', "<i class='S16 e-comments-16'></i>");
}
if (!defined('E_16_ADMINLOG')) {
define('E_16_ADMINLOG', "<i class='S16 e-adminlogs-16'></i>");
}
if (!defined('E_16_MANAGE')) {
define('E_16_MANAGE', "<i class='S16 e-manage-16'></i>");
}
if (!defined('E_16_CREATE')) {
define('E_16_CREATE', "<i class='S16 e-add-16'></i>");
}
if (!defined('E_16_SETTINGS')) {
define('E_16_SETTINGS', "<i class='S16 e-settings-16'></i>");
}
if (!defined('E_16_SYSINFO')) {
define('E_16_SYSINFO', "<i class='S16 e-sysinfo-16'></i>");
}
if (!defined('E_16_FAILEDLOGIN')) {
define('E_16_FAILEDLOGIN', "<i class='S16 e-failedlogin-16'></i>");
}
define("E_32_TRUE", "<i class='S32 e-true-32'></i>");
define("ADMIN_TRUE_ICON", "<i class='S16 e-true-16'></i>");
define("ADMIN_FALSE_ICON", "<i class='S16 e-false-16'></i>");
define("ADMIN_EDIT_ICON", "<i class='S32 e-edit-32'></i>");
define("ADMIN_DELETE_ICON", "<i class='S32 e-delete-32'></i>");
define("ADMIN_WARNING_ICON", "<i class='S32 e-warning-32'></i>");
define("ADMIN_ADD_ICON", "<i class='S32 e-add-32'></i>");
define("ADMIN_INFO_ICON", "<i class='S16 e-info-16'></i>");
define("ADMIN_CONFIGURE_ICON", "<i class='S32 e-configure-32'></i>");
define("ADMIN_VIEW_ICON", "<i class='S32 e-search-32'></i>");
define("ADMIN_URL_ICON", "<i class='S16 e-forums-16'></i>");
define("ADMIN_INSTALLPLUGIN_ICON", "<i class='S32 e-plugin_install-32'></i>");
define("ADMIN_UNINSTALLPLUGIN_ICON", "<i class='S32 e-plugin_uninstall-32'></i>");
define("ADMIN_UPGRADEPLUGIN_ICON", "<i class='S32 e-up-32'></i>");
define("ADMIN_UP_ICON", "<i class='S32 e-up-32'></i>");
define("ADMIN_DOWN_ICON", "<i class='S32 e-down-32'></i>");
define("ADMIN_SORT_ICON", "<i class='S32 e-sort-32'></i>");
define("ADMIN_EXECUTE_ICON", "<i class='S32 e-execute-32'></i>");
// FOR BC
define("ADMIN_EDIT_ICON_PATH", e_IMAGE_ABS."admin_images/edit_32.png");
define("ADMIN_DELETE_ICON_PATH", e_IMAGE_ABS."admin_images/delete_32.png");
define("ADMIN_WARNING_ICON_PATH", e_IMAGE_ABS."admin_images/warning_32.png");
define("ADMIN_ADD_ICON_PATH", e_IMAGE_ABS."admin_images/add_32.png");
define("ADMIN_INFO_ICON_PATH", e_IMAGE_ABS."admin_images/info_32.png");
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE_ABS."admin_images/configure_32.png");
define("ADMIN_VIEW_ICON_PATH", e_IMAGE_ABS."admin_images/admin_images/search_32.png");
define("ADMIN_URL_ICON_PATH", e_IMAGE_ABS."admin_images/forums_32.png");
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_install_32.png");
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/plugin_unstall_32.png");
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
define("ADMIN_UP_ICON_PATH", e_IMAGE_ABS."admin_images/up_32.png");
define("ADMIN_DOWN_ICON_PATH", e_IMAGE_ABS."admin_images/down_32.png");
define("ADMIN_EXECUTE_ICON_PATH", e_IMAGE_ABS."admin_images/execute_32.png");
define("ADMIN_SORT_ICON_PATH", e_IMAGE_ABS."admin_images/sort_32.png");
function theme_head() {
$ret = '
<!--[if lte IE 7]>
<script type="text/javascript" src="'.THEME_ABS.'menu/menu.js"></script>
<![endif]-->
';
return $ret;
}
function tablestyle($caption, $text, $mode)
{
global $style;
$class = '';
// echo 'mod='.$style;
if(is_string($mode) && $mode == 'admin_help') $class = ' '.str_replace('_', '-', $mode);
if($mode == 'core-infopanel_latest' || $mode == 'core-infopanel_status')
{
//return;
echo '
<!-- Start Mode: '.$mode.' -->
<li class="span6 '.$mode.'" >
<div class="well" style="padding:10px;min-height:220px;" >
<div class="nav-header">'.$caption.'</div>
<!-- Content Start -->
'.$text.'
<!-- Content End -->
</div>
</li>
<!-- End Mode: '.$mode.' -->
';
return;
}
if($mode == 'personalize')
{
echo '
<!-- Mode: '.$mode.' -->
<div class="well" style="padding:10px">
<div class="nav-header">'.$caption.'</div>
<!-- Content Start -->
'.$text.'
<!-- Content End -->
</div>
<!-- End Mode: '.$mode.' -->
';
return;
}
if($style == 'core-infopanel')
{
echo '
<!-- Start Style: '.$style.' -->
<li class="span12">
<div class="well" >
<div class="nav-header">'.$caption.'</div>
<!-- Content Start -->
'.$text.'
<!-- Content End -->
</div>
</li>
<!-- End Style: '.$style.' -->
';
return;
}
switch(varset($style, 'admin_content')) {
case 'admin_menu' :
echo '
<div class="well sidebar-nav" >
<div class="nav-header">'.$caption.'</div>
'.$text.'
</div>
';
break;
case 'site_info' :
echo '
<div class="well sidebar-nav" >
<div class="nav-header">'.$caption.'</div>
<p style="padding:10px">
'.$text.'
</p>
</div>
';
break;
/*
case 'admin_content':
echo '
<div class="block">
<h2 class="caption">'.$caption.'</h2>
<div class="block-text">
'.$text.'
</div>
</div>
';
break;
*/
default:
echo '
<div class="block">
<h4>'.$caption.'</h4>
<div class="block-text">
'.$text.'
</div>
</div>
';
break;
}
}
$HEADER = '';
$FOOTER = '';
define('ICONMAIL', 'email_16.png');
define('ICONPRINT', 'print_16.png');
define('ICONSTYLE', 'border: 0px');
define('COMMENTLINK', LAN_THEME_2);
define('COMMENTOFFSTRING', LAN_THEME_1);
define('PRE_EXTENDEDSTRING', '<br /><br />');
define('EXTENDEDSTRING', LAN_THEME_3);
define('POST_EXTENDEDSTRING', '<br />');
define('TRACKBACKSTRING', LAN_THEME_4);
define('TRACKBACKBEFORESTRING', '&nbsp;|&nbsp;');
$sc_style['NEWSIMAGE']['pre'] = '<div style="float: left; margin-right: 15px">';
$sc_style['NEWSIMAGE']['post'] = '</div>';
$sc_style['NEWSICON']['pre'] = '<div style="float: left; margin-right: 15px">';
$sc_style['NEWSICON']['post'] = '</div>';
$NEWSSTYLE = '
<div class="newsItem clear">
<h4>{NEWSTITLE}</h4>
<span class="newsAuthor">{NEWSAUTHOR}</span>
<span class="newsDate">{NEWSDATE}</span>
<div style="clear: both; margin-bottom: 5px;"><!-- --></div>
{NEWSIMAGE}
{NEWSBODY}
{EXTENDED}
{TRACKBACK}
<div style="clear: both; margin-bottom: 5px;"><!-- --></div>
<table class="newsComments" cellpadding="0" cellspacing="0" style="border: 0px none; width: 100%" >
<tr>
<td valign="middle" style="text-align: left">
{NEWSCOMMENTS}
</td>
<td valign="middle" style="text-align: right">
{ADMINOPTIONS}{EMAILICON}{PRINTICON}{PDFICON}
</td>
</tr>
</table>
</div>
';
?>