Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column Right


lt_oneman

Recommended Posts

Posted

i'm having trouble getting this to work right for me. so here i am.

it says to add include(DIR_WS_BOXES . 'Guarantee_seal.php'); to my file below

but no matter where i add it errors and says it can't find the Guarantee_seal.php file. here is my file i'm adding it to. can someone please tell or show me where it should be to be right and not error.

 

<?php

 

 

/*

 

 

$Id: column_right.php,v 1.15 2002/03/13 13:52:20 lango Exp $

 

 

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

 

http://www.oscommerce.com

 

 

 

 

 

Copyright © 2002 osCommerce

 

 

 

 

 

Released under the GNU General Public License

 

 

*/

 

 

$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] == 'right')) {

 

 

 

 

 

define($column['cfgkey'],$column['box_heading']);

 

 

 

 

 

if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {

 

 

if ($column['cfgtitle'] == 'shopping_cart'){

 

 

if (!tep_session_is_registered('customer_id') && ENABLE_PAGE_CACHE == 'true' && class_exists('page_cache') ) {

 

 

echo "<%CART_CACHE%>";

 

 

} else {

 

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

 

}

 

 

}else{

 

 

require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');

 

 

}

 

 

}

 

 

}

 

 

}

 

 

?>

 

 

<tr>

 

 

<td class="pageHeading" height="100%" valign="top">

 

 

<?php

 

 

if ( file_exists('includes/classes/thema/' . SITE_THEMA . '/images/backend.gif')) {

 

 

?>

 

 

<IMG SRC="includes/classes/thema/<?php echo SITE_THEMA;?>/images/backend.gif" width="100%">

 

 

<?php

 

 

}

 

 

?>

 

 

 

and i look at all the Contributions out there most say something about the catalog/ and where ever. when you change or add things to site files do you change the files in the www folder or the public_html folder. both see to have the same thing in it. any help would be great. sorry just stupid i guess. I have done alot of code for a few sites but they was cold fusion servers .cfm it been a few years ago and seem to have forgot alot.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...