Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Do I Add Extra Box On Right Side


exitbuy

Recommended Posts

Posted

Hi People,

 

I Have A SSL in my web site but now they gave some thing call Seal.

 

i need to add the seal in my web site.

 

the seal is kind of code.

 

the seal is located in ther server. they gave me the following code.

 

<script language="Javascript" src="https://seal.starfieldtech.com/getSeal?sealID=115439095604307b806127103822ac36a17f9f09535092100"></script>

 

my url is https://www.exitbuy.com

 

can any one tell me hos do i a extra box

 

Regards,

Satish Kumar

Posted
Hi People,

 

I Have A SSL in my web site but now they gave some thing call Seal.

 

i need to add the seal in my web site.

 

the seal is kind of code.

 

the seal is located in ther server. they gave me the following code.

 

<script language="Javascript" src="https://seal.starfieldtech.com/getSeal?sealID=115439095604307b806127103822ac36a17f9f09535092100"></script>

 

my url is https://www.exitbuy.com

 

can any one tell me hos do i a extra box

 

Regards,

Satish Kumar

 

Read the kb for detailed info on how to add boxes

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Posted

i went to info web site and searched the web site i got the info but all of them are just code. i dont php. can some give some codes and info to how to add them.

Posted
i went to info web site and searched the web site i got the info but all of them are just code. i dont php. can some give some codes and info to how to add them.

 

<?php

/*

$Id: reviews.php,v 1.37 2003/06/09 22:20:28 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

$info_box_contents = array();

$info_box_contents[] = array('text' => 'COMMENT Put the heading of your text box in here');

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

if($request_type == 'SSL')

$ttl= 'https://' ;

else

$ttl='http://www.';

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

'text' => 'COMMENT - PUT YOUR BOX TEXT HERE');

new infoBox($info_box_contents);

?>

 

PUT YOUR DETAILS WHERE I HAVE PUT COMMENTS

SAVE THIS IN CATALOG/INCLUDES/BOXES WITH A SUITABLE NAME

THEN ADD THE NAME YOU SAVE IT WITH TO THE COLUMN YOU WANT THE BOX TO APPEAR IN (COLUMN_LEFT.PHP OR COLUMN_RIGHT.PHP)

 

Please take the time to learn how to add contributions and tips - you dont have to do PHP just follow the instructions that come with the code.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Posted

Thanks For Reply

 

can you check this following code and tell me how to add edit these codes.

 

Regards,

Satish Kumar

 

--------------Code-------------------------

 

<?php

/*

$Id: reviews.php,v 1.37 2003/06/09 22:20:28 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce Released under the GNU General Public License

 

Modified for VN2 Free Skin E by Kevin jeffery - www.vn2designs.com

*/

?>

<!-- reviews //-->

<tr>

<td><table width="150" border="0" cellspacing="0" cellpadding="0" class="infoBox_right">

<tr>

<td class="infoBox_right"><?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_REVIEWS);

 

new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_REVIEWS));

 

$random_select = "select r.reviews_id, r.reviews_rating, p.products_id, p.products_image, pd.products_name from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = r.products_id and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'";

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

$random_select .= " and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'";

}

$random_select .= " order by r.reviews_id desc limit " . MAX_RANDOM_SELECT_REVIEWS;

$random_product = tep_random_select($random_select);

 

$info_box_contents = array();

 

if ($random_product) {

// display random review box

$review_query = tep_db_query("select substring(reviews_text, 1, 60) as reviews_text from " . TABLE_REVIEWS_DESCRIPTION . " where reviews_id = '" . (int)$random_product['reviews_id'] . "' and languages_id = '" . (int)$languages_id . "'");

$review = tep_db_fetch_array($review_query);

 

$review = tep_break_string(tep_output_string_protected($review['reviews_text']), 15, '-<br>');

 

$info_box_contents[] = array('text' => '<div align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_product['products_id'] . '&reviews_id=' . $random_product['reviews_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></div><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_product['products_id'] . '&reviews_id=' . $random_product['reviews_id']) . '">' . $review . ' ..</a><br><div align="center">' . tep_image(DIR_WS_IMAGES . 'stars_' . $random_product['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $random_product['reviews_rating'])) . '</div>');

} elseif (isset($HTTP_GET_VARS['products_id'])) {

// display 'write a review' box

$info_box_contents[] = array('text' => '<table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a></td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . BOX_REVIEWS_WRITE_REVIEW .'</a></td></tr></table>');

} else {

// display 'no reviews' box

$info_box_contents[] = array('text' => BOX_REVIEWS_NO_REVIEWS);

}

 

new infoBox($info_box_contents);

?></td>

</tr>

<tr><td><img src="images/vn2designsdotcom_right_bot.jpg"></td>

</tr>

</table>

 

 

</td>

</tr>

<!-- reviews_eof //-->

 

--------------End Code-------------------------------

Archived

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

×
×
  • Create New...