0) { ?> 0) { ?> 0) { ?>
0) { ?>

0) { tep_db_data_seek($p_current_arr,0); $pp = 0; while ($p = tep_db_fetch_array($p_current_arr)) { $products_image = trim($p['products_image']); $products_image1 = trim($p['products_image1']); $products_image2 = trim($p['products_image2']); $products_image3 = trim($p['products_image3']); $products_image4 = trim($p['products_image4']); $products_image5 = trim($p['products_image5']); $products_image6 = trim($p['products_image6']); $products_image7 = trim($p['products_image7']); $products_image8 = trim($p['products_image8']); $products_image9 = trim($p['products_image9']); $pp++; if ($pp > 1) { echo "
"; } $current_summary = $p["products_summary"]; $current_desc = $p["products_description"]; $p_name =(tep_not_null($p["products_name"]))? $p["products_name"] : $p_en["products_name"]; $p_en = tep_get_product_detail($p["products_id"],$languages_id_en); $p_summary =tep_not_null(strip_tags($current_summary))? $current_summary : $p_en["products_summary"]; $p_desc =tep_not_null(strip_tags($current_desc))? $current_desc : $p_en["products_description"]; // Photos, Zoom echo "
\r\n"; $p_url = "href=\"/images/".$p["products_image"]."\" rel=\"photo_".$p["products_id"]."\" title=\"".tep_output_string_protected($p["products_name"])." \""; echo "
\r\n"; for ($i=1; $i < 10; $i++) { $f_name = "products_image" . $i; if (strlen(${$f_name}) > 0) { $p_url = "href=\"/images/".${$f_name}."\" rel=\"photo_".$p["products_id"] ."\" title=\"".tep_output_string_protected($p["products_name"])." \""; echo ""."\"".tep_output_string_protected($p["products_name"])."\""; } } echo "
"; echo "

" . tep_output_string_protected($p_name) . "

"; echo $p_summary. "
\r\n"; // echo $p_summary. "
\r\n"; echo "
\r\n"; echo "
" . $p_desc . "
\r\n"; echo ""."\"Detail\""; echo "
\r\n"; echo "
\r\n"; //tep_get_product_detail } } ?>