选择收货地址
$i=1;$nshdz=0;while1("*","yjcode_shdz where zt=0 and userid=".$rowuser[id]." order by ifmr desc");while($row1=mysqli_fetch_array($res1)){?>
">
- =$row1[add1v]?> =$row1[add2v]?> =$row1[add3v]." ".$row1[addr]." ".$row1[mot]?> (=$row1[lxr]?> 收)
- 选择 | 修改
$i++;}?>
if(!empty($shdzid)){updatetable("yjcode_car","shdzid=".$shdzid." where userid=".$rowuser[id]);}?>
$bigi=1;
$i=1;
while0("distinct selluserid","yjcode_car where userid=".$rowuser[id]."");while($row=mysqli_fetch_array($res)){
$ifwuliufh=0;
$yunfeizl=0;
$sqlu="select * from yjcode_user where id=".$row[selluserid];mysqli_set_charset($conn,"utf8");$resu=mysqli_query($conn,$sqlu);$rowu=mysqli_fetch_array($resu);
$shoptp="../upload/".$rowu[id]."/shop.jpg";
?>
while1("*","yjcode_car where userid=".$rowuser[id]." and selluserid=".$row[selluserid]." order by sj desc");while($row1=mysqli_fetch_array($res1)){
$tp=returntp("bh='".$row1[probh]."' order by iffm desc","-2");
while2("*","yjcode_pro where bh='".$row1[probh]."' and zt=0 and ifxj=0");if($row2=mysqli_fetch_array($res2)){
$money=returnyhmoney($row2[yhxs],$row2[money2],$row2[money3],$sj,$row2[yhsj1],$row2[yhsj2],$row2[id]);
$money1=$row2["money1"];
$au="../".$rowcontrol[prodir]."/view".$row2[id].".html";
?>
$sqlt1="select * from yjcode_type where admin=2 and id=".$row2[ty2id];mysqli_set_charset($conn,"utf8");$rest1=mysqli_query($conn,$sqlt1);if($rowt1=mysqli_fetch_array($rest1)){
if(!empty($rowt1[buyform])){
$av=str_replace("\r","",$rowt1[buyform]);
$a=preg_split("/\n/",$av);
$smalla=0;
for($j=0;$j<=count($a);$j++){
if(!empty($a[$j])){
$smalla++;
?>
}}?>
=$smalla?>
}
}
?>
$i++;}}?>
=$yunfeizl?>
if(!empty($shdzid) && $ifwuliufh==1){
$yf=returnyunfei($row[selluserid],$yunfeizl,$nshdz);
}else{
$yf=0;
}
updatetable("yjcode_car","yunfei=".$yf." where id=".$yfid);
?>
style="display:none; }?>">- 运费:
- =$yf?>