getrow($sql); $sql_photo = "SELECT * FROM `attachment` WHERE `table_name` = 'products' AND `table_id` = '".$fav_array['id']."' AND `col_name` LIKE 'Photo Large' ORDER BY `sorting` ASC, `attachment_id` ASC LIMIT 0,1"; $photo = $db->getrow($sql_photo); $temp = ""; // $_SESSION['curr']; $tempamount=0; $tempprice=0; $tempup = $fav_array["price1"] * $_SESSION['currency']; $tempamount = floatval($tempup) * $_SESSION['fav_qty'][$p]; $tempprice = $fav_array["price1"]; $_SESSION['tempamount']=$tempamount; if ( $_SESSION['size'][$p]!=0 && $_SESSION['size'][$p]!="" ) $temptext1 = '
尺码: '.$_SESSION['size'][$p]; if ( $_SESSION['color'][$p]!=0 && $_SESSION['color'][$p]!="" ) $temptext2 = '
顏色: '.$_SESSION['color'][$p]; $print_large_fav .=' '.$photo['alt'].' '.$_SESSION["name"][$p]." - ".$_SESSION['code'][$p].' '.$_SESSION['color'][$p].' '.$_SESSION['size'][$p].'
'.$temp.' '.$tempup.' '.$temp.' '; $_SESSION['temp'] = $_SESSION['temp'] + $tempamount; $rmb_total_price += $_SESSION['price1'][$p]; $hk_total_price += $_SESSION['price2'][$p]; $us_total_price += $_SESSION['price3'][$p]; $k++; } } $_SESSION['temptotal'] = $_SESSION['temp']; $_SESSION['temp'] = 0; $sql_country = "SELECT * FROM `tb_shipping_country` WHERE `display` = '1' ORDER BY `zone_id` ASC, `id` ASC"; $rs_country = $db->query($sql_country); $country_list = ""; while ( $row_country = $db->fetch_array($rs_country)){ $sql_shipping = "SELECT * FROM `tb_shipping_zone` WHERE `id` = '".$row_country['zone_id']."' LIMIT 0,1"; $row_shipping = $db->getrow($sql_shipping); if ( $_SESSION['currency']=='1') $shipping = $row_shipping['price_usd']; else $shipping = $row_shipping['price_hkd']; if ($shipping == '0') $shipping = 'Free'; $country_list .= ""; } ?>

[ ]



0 ) {?>
Product Description Color Size Quantity Unit Price Total
產品 描述 顏色 尺寸 數量 單價 總數
产品 描述 颜色 尺寸 数量 单价 总数
query($sqlpaymentmethod); $tempcount=0; while($rowpaymentmethod = $db->fetch_array($rspaymentmethod)) { $tempcount++; $templist .= ' '.$rowpaymentmethod["{$_SESSION['lang']}_show"].'
'; } echo $templist; ?>
0 ) {?>