kudviss Posted March 4, 2007 Posted March 4, 2007 Hello, How to add an image or a small banner to a column? Thank you so much.
Jack_mcs Posted March 4, 2007 Posted March 4, 2007 Place the following at the end of the file: <tr> <td><img src="images/some_image.jpg></td> </tr> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
kudviss Posted March 5, 2007 Author Posted March 5, 2007 Sorry i did what you said but i had an error . This is the error i received: Parse error syntax error unexpected '<' in ...../column right
Jack_mcs Posted March 5, 2007 Posted March 5, 2007 Please post the code for that file. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
kudviss Posted March 5, 2007 Author Posted March 5, 2007 <?php /* $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { // include(DIR_WS_BOXES . 'best_sellers.php'); include(DIR_WS_BOXES . 'best_sellers_scroll.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { // include(DIR_WS_BOXES . 'best_sellers.php'); include(DIR_WS_BOXES . 'best_sellers_scroll.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } //require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } include(DIR_WS_BOXES . 'cc.php'); include(DIR_WS_BOXES . 'paypal_verified.php'); ?> I want to add an image below paypal verified box. Thank you in advance
jonquil Posted March 5, 2007 Posted March 5, 2007 ... include(DIR_WS_BOXES . 'cc.php'); include(DIR_WS_BOXES . 'paypal_verified.php'); ?> <tr> <td><img src="images/some_image.jpg"></td> </tr> Just missing a closing " is all :) It's all just ones and zeros....
Jack_mcs Posted March 6, 2007 Posted March 6, 2007 I'm going to have to learn to type with two fingers one of these days. :blush: Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.