mRow("select * from itemshop_data where idx='".$_POST['idx']."'"); $pn=explode("|",$data['price_num']); $pr=explode("|",$data['price']); for($i=0;$imRow("select * from itemshop_data where idx='".$_GET['idx']."'"); $menu=$db->mRow("select * from itemshop_menu where idx='".$data['menu_idx']."'"); $VD['navi']="".$LANG['home']." > ".$LANG['itemshop']." > ".$LANG[$menu['name_idx']]." > ".$LANG[$data['name_idx']]; $VD['TITLE']=$LANG['itemshop']." > ".$LANG[$menu['name_idx']]." > ".$LANG[$data['name_idx']]; $VD['thumb_image']=$data['thumb_image']; $VD['name']=$LANG[$data['name_idx']]; $VD['useful']=$LANG[$data['useful']]; $VD['idx']=$_GET['idx']; $VD['exec_code']=$data['exec_code']; $VD['product_no']="ITMS_".$data['idx']; $pn=explode("|",$data['price_num']); $pa=$data['price_name']; $pr=explode("|",$data['price']); $VD['comments']=$LANG[$data['comment_idx']]; for($i=0;$imQry("update itemshop_data set view_cnt=view_cnt+1 where idx='".$_GET['idx']."'"); viewLoader("P_header.html"); viewLoader("itemshop/view.html"); ?>