Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Addinga Geotrust Logo on right hand side


Samsbc12

Recommended Posts

Posted

I am trying to add a geotrust logo to the site, and it adds fine except for the fact that it shows up before the shopingcart and all that when i want it to show up at the bottom of the page

 

<?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');

} else {

// include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

//include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

// include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

//commenting this out stops tell afriend from showing up

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'specials.php'); //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');

}*/

 

//GeotrustLogo

 

echo "<script LANGUAGE=\"JavaScript\" TYPE=\"text/javascript\" SRC=\"//smarticon.geotrust.com/si.js\"></SCRIPT>" ;

?>

Posted

I just edited a file I called SSL.php and saved in the boxes directory.

 

ssl.php:

<?php

?>

<!-- ssl //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => 'SSL Protection'

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => tep_image(DIR_WS_IMAGES . 'quickssl_static.gif') );

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

 

 

I like it on column left, but it should be basically the same if you want it on the right.

 

I added the line:

include(DIR_WS_BOXES . 'ssl.php');

 

my end of column file,

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

include(DIR_WS_BOXES . 'ssl.php');

require(DIR_WS_BOXES . 'information.php');

 

 

?>

Posted
I just edited a file I called SSL.php and saved in the boxes directory.

 

ssl.php:

<?php

?>

<!-- ssl //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => 'SSL Protection'

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => tep_image(DIR_WS_IMAGES . 'quickssl_static.gif') );

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

I like it on column left, but it should be basically the same if you want it on the right.

 

I added the line:

include(DIR_WS_BOXES . 'ssl.php');

 

my end of column file,

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

include(DIR_WS_BOXES . 'ssl.php');

require(DIR_WS_BOXES . 'information.php');

?>

 

but its not an image its a javascript that generates an iamge

Archived

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

×
×
  • Create New...