infobox part of CSS:
Code:
.infoBox {
/*background: #b6b7cb;*/
border: 1px;
border-style: none;
border-color: #9D080D;
border-spacing: 0px;
}
.infoBoxContents {
/*background: #f8f8f9;*/
/* background-image : url(../../images/OSCMAX_infobox_bg.gif);*/
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
border: 0px;
border-style: solid;
border-color: #9D080D;
border-spacing: 1px;
}
.infoBoxNotice {
background: #FF8E90;
}
.infoBoxNoticeContents {
background: #FFE6E6;
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}
TD.infoBoxHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
background: #9D080D;
color: #ffffff;
}
TD.infoBox, SPAN.infoBox {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}
column_left.php:
Code:
<?php
/*
$Id: column_left.php,v 1.2.2.1.2.2 2005/09/21 20:57:47 Michael Sasek Exp $
osCMax Power E-Commerce
http://oscdox.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
// BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin
/*
if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
} else {
include(DIR_WS_BOXES . 'categories.php');
}
if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_manufacturers_box();
} else {
include(DIR_WS_BOXES . 'manufacturers.php');
}
require(DIR_WS_BOXES . 'whats_new.php');
require(DIR_WS_BOXES . 'search.php');
require(DIR_WS_BOXES . 'information.php');
*/
$column_query = tep_db_query('select configuration_column as cfgcol, configuration_title as cfgtitle, configuration_value as cfgvalue, configuration_key as cfgkey, box_heading from ' . TABLE_THEME_CONFIGURATION . ' order by location');
while ($column = tep_db_fetch_array($column_query)) {
$column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']);
$column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']);
if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'left')) {
define($column['cfgkey'],$column['box_heading']);
if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {
require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
}
}
}
// EOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin
?>
Bookmarks