|
|
|
|
|
|
number_of_rows > 0) { if ((PREV_NEXT_BAR_LOCATION == '1')
(PREV_NEXT_BAR_LOCATION == '3')) { ?>
|
display_count(TEXT_DISPLAY_NUMBER_OF_REVIEWS); ?>
|
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info'))); ?>
|
|
|
|
sql_query); while ($reviews = tep_db_fetch_array($reviews_query)) { ?>
|
**' . $reviews['products_name'] . '** ' . sprintf(TEXT_REVIEW_BY, tep_output_string_protected($reviews['customers_name'])) . ''; ?>
|
|
|
|
|
' . tep_image(DIR_WS_IMAGES . $reviews['products_image'], $reviews['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ''; ?>
|
') . ((strlen($reviews['reviews_text']) >= 100) ? '..' : '') . '
_' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'stars_' . $reviews['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '_'; ?>
|
|
|
|
|
|
|
TEXT_NO_REVIEWS)); ?>
|
|
|
number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2')
(PREV_NEXT_BAR_LOCATION == '3'))) { ?>
|
display_count(TEXT_DISPLAY_NUMBER_OF_REVIEWS); ?>
|
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info'))); ?>
|
|
|
|
|
|
|