alert('ไม่สามารถแสดงข้อมูลแลกเปลี่ยนซื้อขายนิตยสารดังกล่าว');history.back();"; }else{ echo ""; exit; } $pagename = 'market'; $role_staff=webpage_detail_func("role_member_staff"); $sql = "select * from boardshop where bshopflag >= ".webpage_detail_func("flag_market_show")." and bshopid = ".$marketid; $result = select_data_func($sql); $totalRow = mysql_num_rows($result); if($totalRow>0){ $row = mysql_fetch_array($result); $markettopic = stripslashes($row['bshoptopic']); $markettype = $row['bshoptype']; $marketsuffix = ConvertMarketSuffix($markettype); $marketname = webpage_detail_func("market_refertype_name_".$marketsuffix); }else{ echo ""; exit; } ?>